From 4cffb588f5fafe4b288d4361e115bedefe979495 Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Wed, 26 May 2004 06:27:18 +0000 Subject: Updating my cvs versions. THis is still in progress and much will be changed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13782 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/ModuloScheduling/ModuloScheduling.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lib/CodeGen/ModuloScheduling/ModuloScheduling.h') diff --git a/lib/CodeGen/ModuloScheduling/ModuloScheduling.h b/lib/CodeGen/ModuloScheduling/ModuloScheduling.h index b573b10..62abc7c 100644 --- a/lib/CodeGen/ModuloScheduling/ModuloScheduling.h +++ b/lib/CodeGen/ModuloScheduling/ModuloScheduling.h @@ -14,6 +14,7 @@ #define LLVM_MODULOSCHEDULING_H #include "MSchedGraph.h" +#include "MSSchedule.h" #include "llvm/Function.h" #include "llvm/Pass.h" #include @@ -54,7 +55,7 @@ namespace llvm { std::vector FinalNodeOrder; //Schedule table, key is the cycle number and the vector is resource, node pairs - std::map > > > schedule; + MSSchedule schedule; //Current initiation interval int II; @@ -87,6 +88,12 @@ namespace llvm { void predIntersect(std::vector &CurrentSet, std::vector &IntersectResult); void succIntersect(std::vector &CurrentSet, std::vector &IntersectResult); + + void reconstructLoop(const MachineBasicBlock*); + + //void saveValue(const MachineInstr*, const std::set&, std::vector*); + + void writePrologue(std::vector &prologues, MachineBasicBlock *origBB, std::vector &llvm_prologues); public: ModuloSchedulingPass(TargetMachine &targ) : target(targ) {} -- cgit v1.1