add a method

llvm-svn: 22867
This commit is contained in:
Chris Lattner 2005-08-18 18:44:33 +00:00
parent 15b5c7ca84
commit a88fa6085f
1 changed files with 5 additions and 0 deletions

View File

@ -49,6 +49,11 @@ public:
virtual void EmitFunctionEntryCode(Function &Fn, MachineFunction &MF) {}
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:
SDOperand CopyValueToVirtualRegister(SelectionDAGLowering &SDL,
Value *V, unsigned Reg);