summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/FastISel.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-23 15:29:50 +0000
committerDan Gohman <gohman@apple.com>2010-04-23 15:29:50 +0000
commite8c92dd439581bec7e3516cbdbea74e2e60fe7f0 (patch)
tree01314e686d15d650cd33c1f405dbc0d50a9b57dd /include/llvm/CodeGen/FastISel.h
parent27ef9976c2e7a93f0cd088cb098e4860bba29159 (diff)
downloadllvm-e8c92dd439581bec7e3516cbdbea74e2e60fe7f0.tar.gz
llvm-e8c92dd439581bec7e3516cbdbea74e2e60fe7f0.tar.bz2
llvm-e8c92dd439581bec7e3516cbdbea74e2e60fe7f0.tar.xz
Move FastISel's HandlePHINodesInSuccessorBlocks call down into FastISel
itself too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102176 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/FastISel.h')
-rw-r--r--include/llvm/CodeGen/FastISel.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/llvm/CodeGen/FastISel.h b/include/llvm/CodeGen/FastISel.h
index 8c8698cdc0..2eb2df2f60 100644
--- a/include/llvm/CodeGen/FastISel.h
+++ b/include/llvm/CodeGen/FastISel.h
@@ -107,14 +107,6 @@ public:
/// index value.
unsigned getRegForGEPIndex(const Value *V);
- /// HandlePHINodesInSuccessorBlocks - Handle PHI nodes in successor blocks.
- /// Emit code to ensure constants are copied into registers when needed.
- /// Remember the virtual registers that need to be added to the Machine PHI
- /// nodes as input. We cannot just directly add them, because expansion
- /// might result in multiple MBB's for one BB. As such, the start of the
- /// BB might correspond to a different MBB than the end.
- bool HandlePHINodesInSuccessorBlocks(const BasicBlock *LLVMBB);
-
virtual ~FastISel();
protected:
@@ -311,6 +303,14 @@ private:
bool SelectBitCast(const User *I);
bool SelectCast(const User *I, unsigned Opcode);
+
+ /// HandlePHINodesInSuccessorBlocks - Handle PHI nodes in successor blocks.
+ /// Emit code to ensure constants are copied into registers when needed.
+ /// Remember the virtual registers that need to be added to the Machine PHI
+ /// nodes as input. We cannot just directly add them, because expansion
+ /// might result in multiple MBB's for one BB. As such, the start of the
+ /// BB might correspond to a different MBB than the end.
+ bool HandlePHINodesInSuccessorBlocks(const BasicBlock *LLVMBB);
};
}