diff options
author | Dan Gohman <gohman@apple.com> | 2010-07-07 16:47:08 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-07-07 16:47:08 +0000 |
commit | eabaed26c3921453d824b71a93557c32132f4fdd (patch) | |
tree | c7c1a642dd230dae488f1f5fc472eaa6943c6610 /include/llvm/CodeGen/SelectionDAGISel.h | |
parent | a4160c3434b08288d1f79f1acbe453d1b9610b22 (diff) | |
download | external_llvm-eabaed26c3921453d824b71a93557c32132f4fdd.zip external_llvm-eabaed26c3921453d824b71a93557c32132f4fdd.tar.gz external_llvm-eabaed26c3921453d824b71a93557c32132f4fdd.tar.bz2 |
Give FunctionLoweringInfo an MBB member, avoiding the need to pass it
around everywhere, and also give it an InsertPt member, to enable isel
to operate at an arbitrary position within a block, rather than just
appending to a block.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107791 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGISel.h')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAGISel.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGISel.h b/include/llvm/CodeGen/SelectionDAGISel.h index 1615994..01d05dd 100644 --- a/include/llvm/CodeGen/SelectionDAGISel.h +++ b/include/llvm/CodeGen/SelectionDAGISel.h @@ -280,15 +280,14 @@ private: SDNode *MorphNode(SDNode *Node, unsigned TargetOpc, SDVTList VTs, const SDValue *Ops, unsigned NumOps, unsigned EmitNodeInfo); - void PrepareEHLandingPad(MachineBasicBlock *BB); + void PrepareEHLandingPad(); void SelectAllBasicBlocks(const Function &Fn); - void FinishBasicBlock(MachineBasicBlock *BB); + void FinishBasicBlock(); - MachineBasicBlock *SelectBasicBlock(MachineBasicBlock *BB, - BasicBlock::const_iterator Begin, - BasicBlock::const_iterator End, - bool &HadTailCall); - MachineBasicBlock *CodeGenAndEmitDAG(MachineBasicBlock *BB); + void SelectBasicBlock(BasicBlock::const_iterator Begin, + BasicBlock::const_iterator End, + bool &HadTailCall); + void CodeGenAndEmitDAG(); void LowerArguments(const BasicBlock *BB); void ComputeLiveOutVRegInfo(); |