aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Transforms/Scalar.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h
index db84f7c..56a4981 100644
--- a/include/llvm/Transforms/Scalar.h
+++ b/include/llvm/Transforms/Scalar.h
@@ -279,12 +279,21 @@ FunctionPass *createLowerSelectPass(bool OnlyFP = false);
// handling mechanisms. Note that after this pass runs the CFG is not entirely
// accurate (exceptional control flow edges are not correct anymore) so only
// very simple things should be done after the lowerinvoke pass has run (like
-// generation of native code). This should not be used as a general purpose "my
-// LLVM-to-LLVM pass doesn't support the invoke instruction yet" lowering pass.
+// generation of native code). This should *NOT* be used as a general purpose
+// "my LLVM-to-LLVM pass doesn't support the invoke instruction yet" lowering
+// pass.
//
FunctionPass *createLowerInvokePass();
extern const PassInfo *LowerInvokePassID;
+
+//===----------------------------------------------------------------------===//
+/// createLowerGCPass - This function returns an instance of the "lowergc"
+/// pass, which lowers garbage collection intrinsics to normal LLVM code.
+///
+FunctionPass *createLowerGCPass();
+
+
//===----------------------------------------------------------------------===//
//
// These functions removes symbols from functions and modules.