add a method
authorChris Lattner <sabre@nondot.org>
Thu, 18 Aug 2005 18:44:33 +0000 (18:44 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 18 Aug 2005 18:44:33 +0000 (18:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22867 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGISel.h

index 4c44eb1c65fa40760cd39288cc87a364893ee6c7..301ac0e7b8b8d3e943fecfadc11897dcfa827410 100644 (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);