aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2001-10-22 13:56:33 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2001-10-22 13:56:33 +0000
commitb4a1e4bea978b9a2978f8bcbd7eb518cc98b25d9 (patch)
treeab19c244b9f9789cab1c628ad6c10f68a98c1be0
parenta7edb1888ce8050ba05bcb7743f6a76b6e564741 (diff)
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
-rw-r--r--include/llvm/CodeGen/InstrSelection.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/InstrSelection.h b/include/llvm/CodeGen/InstrSelection.h
index 8010614d67..341f8b1289 100644
--- a/include/llvm/CodeGen/InstrSelection.h
+++ b/include/llvm/CodeGen/InstrSelection.h
@@ -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);