mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-30 06:38:14 +00:00
Added function interfaces for generating prolog and epilog code.
The functions must be implemented by the target-specific code generator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@951 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a7edb1888c
commit
b4a1e4bea9
@ -37,6 +37,14 @@ extern unsigned GetInstructionsByRule (InstructionNode* subtreeRoot,
|
|||||||
TargetMachine &Target,
|
TargetMachine &Target,
|
||||||
MachineInstr** minstrVec);
|
MachineInstr** minstrVec);
|
||||||
|
|
||||||
|
extern unsigned GetInstructionsForProlog(BasicBlock* entryBB,
|
||||||
|
TargetMachine &Target,
|
||||||
|
MachineInstr** minstrVec);
|
||||||
|
|
||||||
|
extern unsigned GetInstructionsForEpilog(BasicBlock* anExitBB,
|
||||||
|
TargetMachine &Target,
|
||||||
|
MachineInstr** minstrVec);
|
||||||
|
|
||||||
extern bool ThisIsAChainRule (int eruleno);
|
extern bool ThisIsAChainRule (int eruleno);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user