diff options
author | Tanya Lattner <tonic@nondot.org> | 2003-08-28 17:17:59 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2003-08-28 17:17:59 +0000 |
commit | 190b7a86bac1b8157c6500facd82f01a17ec82fa (patch) | |
tree | 2ea16f8845e3d8b3c9c470fa0ac7e325825e18ed /llvm/lib/CodeGen/ModuloScheduling | |
parent | 7efb18f49c7de6994ad13fe91225bb5156a67bd7 (diff) | |
download | bcm5719-llvm-190b7a86bac1b8157c6500facd82f01a17ec82fa.tar.gz bcm5719-llvm-190b7a86bac1b8157c6500facd82f01a17ec82fa.zip |
Removing README
llvm-svn: 8180
Diffstat (limited to 'llvm/lib/CodeGen/ModuloScheduling')
-rw-r--r-- | llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp | 4 | ||||
-rw-r--r-- | llvm/lib/CodeGen/ModuloScheduling/README | 33 |
2 files changed, 2 insertions, 35 deletions
diff --git a/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp b/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp index 1bdbb1a9766..68b8ee39d52 100644 --- a/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp +++ b/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp @@ -71,8 +71,8 @@ void ModuloSchedGraph::addDepEdges() { //Create edge and set delay equal to node latency //FIXME: Is it safe to do this? ModuloSchedGraph::iterator Src = find(I); - SchedGraphEdge *trueDep = new SchedGraphEdge(&*Src->second ,&*Sink->second, &*I, - SchedGraphEdge::TrueDep, + SchedGraphEdge *trueDep = new SchedGraphEdge(&*Src->second ,&*Sink->second, + &*I, SchedGraphEdge::TrueDep, Src->second->getLatency()); //Determine the iteration difference //FIXME: Will this ever happen? diff --git a/llvm/lib/CodeGen/ModuloScheduling/README b/llvm/lib/CodeGen/ModuloScheduling/README deleted file mode 100644 index 3206161ab42..00000000000 --- a/llvm/lib/CodeGen/ModuloScheduling/README +++ /dev/null @@ -1,33 +0,0 @@ -The modulo scheduling pass impliment modulo scheduling for llvm instruction. It includes two passes - - -1. building graph -The pass will build an instance of class ModuloSchedGraph for each loop-including basicblock in a function. The steps to build a graph: - a)build one node for each instruction in the basicblock - ---ModuloScheduGraph::buildNodesforBB() - b)add def-use edges - ---ModuloScheduGraph::addDefUseEdges() - c)add cd edges - ---ModuloScheduGraph::addCDEdges() - d)add mem dependency edges - ---ModuloScheduGraph::addMemEdges() - e)compute resource restriction II and recurrenct II - ---ModuloScheduGraph::computeResII() - ---ModuloScheduGraph::computeRecII() - f)compute each node's property, including ASAP,ALAP, Mov, Depth and Height. - ---ModuloScheduGraph::computeNodeProperty - g)sort all nodes - ---ModuloScheduGraph::orderNodes() - - -2. compute schedule -The second step is to compute a schule and replace the orginal basic block with three basicblocks: prelogue, kernelblock and epilog. - - a)compute the schedule according the algorithm described in the paper - ---ModuloScheduling::computeSchedule() - - b)replace the original basicblock.(to be done) - ---ModuloScheduling::constructPrologue(); - ---ModuloScheduling::constructKernel(); - ---ModuloScheduling::constructEpilogue(); - These three functions are not working yet. |