aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2004-11-02 21:04:56 +0000
committerTanya Lattner <tonic@nondot.org>2004-11-02 21:04:56 +0000
commit80f085500f8b7bfd876050a5817be4813480f49a (patch)
tree7798afd3e537398257e6021e60ed6ebfea011eb6 /lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h
parentf1de30acce29e5ea9c21b611cd1f963a4bbaef94 (diff)
Added gross hacks such as creating my own def-use map, and picking on Instruction that I can add all my TmpInstructions to its MCFI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17441 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h')
-rw-r--r--lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h b/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h
index 356da2457b..a5036cc8d6 100644
--- a/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h
+++ b/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h
@@ -39,6 +39,12 @@ namespace llvm {
class ModuloSchedulingPass : public FunctionPass {
const TargetMachine &target;
+ //Map to hold Value* defs
+ std::map<const Value*, MachineInstr*> defMap;
+
+ //LLVM Instruction we know we can add TmpInstructions to its MCFI
+ Instruction *defaultInst;
+
//Map that holds node to node attribute information
std::map<MSchedGraphNode*, MSNodeAttributes> nodeToAttributesMap;