aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineFunction.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-28 01:11:58 +0000
committerChris Lattner <sabre@nondot.org>2002-10-28 01:11:58 +0000
commite42a84f64fc93e984650f3af5ab58dd6ba68b129 (patch)
tree4c92c12726e3b2e7dd229888457afa79747df578 /include/llvm/CodeGen/MachineFunction.h
parent4f9463772b10638c51226cbfb9b10e06f22d1cbc (diff)
Add prototypes for creation/destruction passes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4309 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineFunction.h')
-rw-r--r--include/llvm/CodeGen/MachineFunction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h
index 141838f600..46f0e54c95 100644
--- a/include/llvm/CodeGen/MachineFunction.h
+++ b/include/llvm/CodeGen/MachineFunction.h
@@ -18,7 +18,10 @@ class Function;
class Constant;
class Type;
class TargetMachine;
+class Pass;
+Pass *createMachineCodeConstructionPass(TargetMachine &Target);
+Pass *createMachineCodeDestructionPass();
class MachineFunction : private Annotation {
hash_set<const Constant*> constantsForConstPool;