summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombine.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-04 07:17:19 +0000
committerChris Lattner <sabre@nondot.org>2010-01-04 07:17:19 +0000
commit7e0449172cadd78e66d18dfcfe9fc02ef6379d8a (patch)
tree12c1466729b8490606bf2bd8b8f425849a26481f /llvm/lib/Transforms/InstCombine/InstCombine.h
parent9081dc6b12c37cd0a688c836afdaca8ea2b3d3d8 (diff)
downloadbcm5719-llvm-7e0449172cadd78e66d18dfcfe9fc02ef6379d8a.tar.gz
bcm5719-llvm-7e0449172cadd78e66d18dfcfe9fc02ef6379d8a.zip
move the 'SimplifyDemandedFoo' methods out to their own file, cutting 1K lines out of instcombine.cpp
llvm-svn: 92465
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombine.h')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombine.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombine.h b/llvm/lib/Transforms/InstCombine/InstCombine.h
index 4af0236d187..d4d26f8e348 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombine.h
+++ b/llvm/lib/Transforms/InstCombine/InstCombine.h
@@ -74,11 +74,8 @@ public:
bool DoOneIteration(Function &F, unsigned ItNum);
- virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.addPreservedID(LCSSAID);
- AU.setPreservesCFG();
- }
-
+ virtual void getAnalysisUsage(AnalysisUsage &AU) const;
+
TargetData *getTargetData() const { return TD; }
// Visitation implementation - Implement instruction combining for different
OpenPOWER on IntegriCloud