summaryrefslogtreecommitdiff
path: root/include/llvm/Transforms/Scalar.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-02-09 00:35:38 +0000
committerEric Christopher <echristo@apple.com>2010-02-09 00:35:38 +0000
commit1926b648e132631282aa15d25e4f8278f87c24fb (patch)
tree32cf8d41d89dc064e6650a1ea998a588e9e2ea79 /include/llvm/Transforms/Scalar.h
parentb8d6e98e566724f58344d275a4bd675249bb713a (diff)
downloadllvm-1926b648e132631282aa15d25e4f8278f87c24fb.tar.gz
llvm-1926b648e132631282aa15d25e4f8278f87c24fb.tar.bz2
llvm-1926b648e132631282aa15d25e4f8278f87c24fb.tar.xz
Add a new pass to do llvm.objsize lowering using SCEV.
Initial skeleton and SCEVUnknown lowering implemented, the rest should come relatively quickly. Move testcase to new directory. Move pass to right before SimplifyLibCalls - which is moved down a bit so we can take advantage of a few opts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95628 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Scalar.h')
-rw-r--r--include/llvm/Transforms/Scalar.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h
index 7159f86e1e..c24a12d0cf 100644
--- a/include/llvm/Transforms/Scalar.h
+++ b/include/llvm/Transforms/Scalar.h
@@ -336,6 +336,12 @@ FunctionPass *createSCCVNPass();
//
FunctionPass *createABCDPass();
+//===----------------------------------------------------------------------===//
+//
+// ObjSizeLowering - Lower Intrinsic::objsize
+//
+FunctionPass *createObjectSizeLoweringPass();
+
} // End llvm namespace
#endif