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
diff --git a/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h b/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h
index 356da24..a5036cc 100644
--- a/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h
+++ b/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h
@@ -39,6 +39,12 @@
class ModuloSchedulingPass : public FunctionPass {
const TargetMachine ⌖
+ //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;