aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-23 21:16:13 +0000
committerChris Lattner <sabre@nondot.org>2004-05-23 21:16:13 +0000
commitbab838e76dce5874faee7d26fe9239df9dcd87e2 (patch)
tree0870a7f3f6eb31fd322525389d575c8ca9cc45cc /include/llvm/Transforms
parent5a24d70d99cc76be190ed6ebe37d09585046ddc3 (diff)
downloadexternal_llvm-bab838e76dce5874faee7d26fe9239df9dcd87e2.zip
external_llvm-bab838e76dce5874faee7d26fe9239df9dcd87e2.tar.gz
external_llvm-bab838e76dce5874faee7d26fe9239df9dcd87e2.tar.bz2
Add a new prototype
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-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.