summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit444be61ea6d26820e96a0255714ff01d6333982c (patch)
tree48e83fcfa1e43fa61cb890bdc5feb7ed627fafb3 /llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h
parentde7a85895c0b444f38ee86590fdc7097105362cf (diff)
downloadbcm5719-llvm-444be61ea6d26820e96a0255714ff01d6333982c.tar.gz
bcm5719-llvm-444be61ea6d26820e96a0255714ff01d6333982c.zip
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.
llvm-svn: 17441
Diffstat (limited to 'llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h')
-rw-r--r--llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h b/llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h
index 356da2457be..a5036cc8d64 100644
--- a/llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud