Added function interfaces for generating prolog and epilog code.
The functions must be implemented by the target-specific code generator. llvm-svn: 951
This commit is contained in:
parent
5dab57de99
commit
0f228750ec
|
@ -37,6 +37,14 @@ extern unsigned GetInstructionsByRule (InstructionNode* subtreeRoot,
|
|||
TargetMachine &Target,
|
||||
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);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue