add a method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22867 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-08-18 18:44:33 +00:00
parent f5fac3b4a6
commit 66bac3c740

View File

@ -49,6 +49,11 @@ public:
virtual void EmitFunctionEntryCode(Function &Fn, MachineFunction &MF) {} virtual void EmitFunctionEntryCode(Function &Fn, MachineFunction &MF) {}
virtual void InstructionSelectBasicBlock(SelectionDAG &SD) = 0; virtual void InstructionSelectBasicBlock(SelectionDAG &SD) = 0;
protected:
/// Pick a safe ordering and emit instructions for each target node in the
/// graph.
void ScheduleAndEmitDAG(SelectionDAG &SD);
private: private:
SDOperand CopyValueToVirtualRegister(SelectionDAGLowering &SDL, SDOperand CopyValueToVirtualRegister(SelectionDAGLowering &SDL,
Value *V, unsigned Reg); Value *V, unsigned Reg);