diff options
| author | Tanya Lattner <tonic@nondot.org> | 2004-11-29 04:39:47 +0000 |
|---|---|---|
| committer | Tanya Lattner <tonic@nondot.org> | 2004-11-29 04:39:47 +0000 |
| commit | d8cc4facd0345effee80c7e36c27428ca52b7829 (patch) | |
| tree | 61525efba4c29ea4103712d752e8c33576f10e6b /llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h | |
| parent | 9d3b50038d122c0a831928c64fa6433a277b1b45 (diff) | |
| download | bcm5719-llvm-d8cc4facd0345effee80c7e36c27428ca52b7829.tar.gz bcm5719-llvm-d8cc4facd0345effee80c7e36c27428ca52b7829.zip | |
Reworked branching so we don't handle BAs specially. It just updates the branchTO regardless of what type of branch it is.
llvm-svn: 18322
Diffstat (limited to 'llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h')
| -rw-r--r-- | llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h b/llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h index 5ed89863140..e1f8d9eef6f 100644 --- a/llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h +++ b/llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h @@ -99,6 +99,8 @@ namespace llvm { //void saveValue(const MachineInstr*, const std::set<Value*>&, std::vector<Value*>*); + void fixBranches(std::vector<MachineBasicBlock *> &prologues, std::vector<BasicBlock*> &llvm_prologues, MachineBasicBlock *machineBB, BasicBlock *llvmBB, std::vector<MachineBasicBlock *> &epilogues, std::vector<BasicBlock*> &llvm_epilogues, MachineBasicBlock*); + void writePrologues(std::vector<MachineBasicBlock *> &prologues, MachineBasicBlock *origBB, std::vector<BasicBlock*> &llvm_prologues, std::map<const Value*, std::pair<const MSchedGraphNode*, int> > &valuesToSave, std::map<Value*, std::map<int, Value*> > &newValues, std::map<Value*, MachineBasicBlock*> &newValLocation); void writeEpilogues(std::vector<MachineBasicBlock *> &epilogues, const MachineBasicBlock *origBB, std::vector<BasicBlock*> &llvm_epilogues, std::map<const Value*, std::pair<const MSchedGraphNode*, int> > &valuesToSave,std::map<Value*, std::map<int, Value*> > &newValues, std::map<Value*, MachineBasicBlock*> &newValLocation, std::map<Value*, std::map<int, Value*> > &kernelPHIs); |

