From 3bababf880bfeaf1bcda7e4f808007621b6bfac8 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Tue, 3 Aug 2010 16:19:16 +0000 Subject: Add an atomic lowering pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110113 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/Passes.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'docs') diff --git a/docs/Passes.html b/docs/Passes.html index 12a936ad8d..cafa99cf2c 100644 --- a/docs/Passes.html +++ b/docs/Passes.html @@ -167,6 +167,7 @@ perl -e '$/ = undef; for (split(/\n/, <>)) { s:^ *///? ?::; print "

\n" if ! -loop-unrollUnroll loops -loop-unswitchUnswitch loops -loopsimplifyCanonicalize natural loops +-loweratomicLower atomic intrinsics -lowerinvokeLower invoke and unwind, for unwindless code generators -lowersetjmpLower Set Jump -lowerswitchLower SwitchInst's to branches @@ -1547,6 +1548,24 @@ if (X < 3) {

+ +
+ -loweratomic: Lower atomic intrinsics +
+
+

+ This pass lowers atomic intrinsics to non-atomic form for use in a known + non-preemptible environment. +

+ +

+ The pass does not verify that the environment is non-preemptible (in + general this would require knowledge of the entire call graph of the + program including any libraries which may not be available in bitcode form); + it simply lowers every atomic intrinsic. +

+
+
-lowerinvoke: Lower invoke and unwind, for unwindless code generators -- cgit v1.2.3