mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
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:
parent
f5fac3b4a6
commit
66bac3c740
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user