aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/Passes.h
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-02-08 21:23:03 +0000
committerAndrew Trick <atrick@apple.com>2012-02-08 21:23:03 +0000
commit9d41bd5c78b99750d820e01bcd4a4e479b713d4c (patch)
treee55b6338a6cf3b62e035e6dafd95789a4f139d13 /include/llvm/CodeGen/Passes.h
parent9f17cf625dc8be1e92cd2755e2d118ce38fc7268 (diff)
downloadexternal_llvm-9d41bd5c78b99750d820e01bcd4a4e479b713d4c.zip
external_llvm-9d41bd5c78b99750d820e01bcd4a4e479b713d4c.tar.gz
external_llvm-9d41bd5c78b99750d820e01bcd4a4e479b713d4c.tar.bz2
Move pass configuration out of pass constructors: MachineLICM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150099 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/Passes.h')
-rw-r--r--include/llvm/CodeGen/Passes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/Passes.h b/include/llvm/CodeGen/Passes.h
index 204898f..bd44bfe 100644
--- a/include/llvm/CodeGen/Passes.h
+++ b/include/llvm/CodeGen/Passes.h
@@ -93,6 +93,7 @@ public:
/// Add the complete, standard set of LLVM CodeGen passes.
/// Fully developed targets will not generally override this.
virtual void addMachinePasses();
+
protected:
// Helper to verify the analysis is really immutable.
void setOpt(bool &Opt, bool Val);
@@ -323,7 +324,7 @@ namespace llvm {
/// createMachineLICMPass - This pass performs LICM on machine instructions.
///
- FunctionPass *createMachineLICMPass(bool PreRegAlloc = true);
+ FunctionPass *createMachineLICMPass();
/// createMachineSinkingPass - This pass performs sinking on machine
/// instructions.