diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-04 07:17:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-04 07:17:19 +0000 |
commit | 7e0449172cadd78e66d18dfcfe9fc02ef6379d8a (patch) | |
tree | 12c1466729b8490606bf2bd8b8f425849a26481f /llvm/lib/Transforms/InstCombine/InstCombine.h | |
parent | 9081dc6b12c37cd0a688c836afdaca8ea2b3d3d8 (diff) | |
download | bcm5719-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.h | 7 |
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 |