projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5fac3b
)
add a method
author
Chris Lattner
<sabre@nondot.org>
Thu, 18 Aug 2005 18:44:33 +0000
(18:44 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/SelectionDAGISel.h
b/include/llvm/CodeGen/SelectionDAGISel.h
index 4c44eb1c65fa40760cd39288cc87a364893ee6c7..301ac0e7b8b8d3e943fecfadc11897dcfa827410 100644
(file)
--- a/
include/llvm/CodeGen/SelectionDAGISel.h
+++ b/
include/llvm/CodeGen/SelectionDAGISel.h
@@
-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);