diff options
author | Tanya Lattner <tonic@nondot.org> | 2005-04-30 23:07:59 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2005-04-30 23:07:59 +0000 |
commit | c50156360af2e3345b9bf66d2ec2a84b9b55ff9a (patch) | |
tree | dadd0d5802a53880b0e122e4c6d9816e39ee6f61 /lib/Target/SparcV9/ModuloScheduling/MSchedGraph.h | |
parent | 50d91d71a51a2370bbe7e727bec180cfadab9cfc (diff) |
Fixed bug in searchPath function for finding nodes between two recurrences.
Changed dependence analyzer to only use dep distances of 2 or less.
This is experimental.
Changed MSchedGraph to be able to represent more then one BB (first steps).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21641 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/ModuloScheduling/MSchedGraph.h')
-rw-r--r-- | lib/Target/SparcV9/ModuloScheduling/MSchedGraph.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/SparcV9/ModuloScheduling/MSchedGraph.h b/lib/Target/SparcV9/ModuloScheduling/MSchedGraph.h index b0b6e79ed5..6820ca9cbe 100644 --- a/lib/Target/SparcV9/ModuloScheduling/MSchedGraph.h +++ b/lib/Target/SparcV9/ModuloScheduling/MSchedGraph.h @@ -233,7 +233,7 @@ namespace llvm { //Graph class to represent dependence graph class MSchedGraph { - const MachineBasicBlock *BB; //Machine basic block + std::vector<const MachineBasicBlock *> BBs; //Machine basic block const TargetMachine &Target; //Target Machine //Nodes @@ -283,7 +283,7 @@ namespace llvm { //Get Target or original machine basic block const TargetMachine* getTarget() { return &Target; } - const MachineBasicBlock* getBB() { return BB; } + std::vector<const MachineBasicBlock*> getBBs() { return BBs; } }; |