diff options
author | Tanya Lattner <tonic@nondot.org> | 2004-05-28 20:14:12 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2004-05-28 20:14:12 +0000 |
commit | 20890832ead867e78a3e9b074caecaa62983b33d (patch) | |
tree | a28d719b87e256aba4ada970064410d357c5478a /lib/CodeGen/ModuloScheduling/ModuloScheduling.h | |
parent | fece1822bf6350f24df10c7d3a7ee515d4d0d830 (diff) |
updates to ModuloSched
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13881 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuloScheduling/ModuloScheduling.h')
-rw-r--r-- | lib/CodeGen/ModuloScheduling/ModuloScheduling.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CodeGen/ModuloScheduling/ModuloScheduling.h b/lib/CodeGen/ModuloScheduling/ModuloScheduling.h index 62abc7c528..cc4c51514d 100644 --- a/lib/CodeGen/ModuloScheduling/ModuloScheduling.h +++ b/lib/CodeGen/ModuloScheduling/ModuloScheduling.h @@ -93,8 +93,10 @@ namespace llvm { //void saveValue(const MachineInstr*, const std::set<Value*>&, std::vector<Value*>*); - void writePrologue(std::vector<MachineBasicBlock *> &prologues, MachineBasicBlock *origBB, std::vector<BasicBlock*> &llvm_prologues); + void writePrologues(std::vector<MachineBasicBlock *> &prologues, const MachineBasicBlock *origBB, std::vector<BasicBlock*> &llvm_prologues); + void writeEpilogues(std::vector<MachineBasicBlock *> &epilogues, const MachineBasicBlock *origBB, std::vector<BasicBlock*> &llvm_epilogues); + public: ModuloSchedulingPass(TargetMachine &targ) : target(targ) {} virtual bool runOnFunction(Function &F); |