summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.h
diff options
context:
space:
mode:
authorGuochun Shi <gshi1@uiuc.edu>2003-06-08 23:16:07 +0000
committerGuochun Shi <gshi1@uiuc.edu>2003-06-08 23:16:07 +0000
commit2ee8c115d8f0bd6a47901be966cc311c2470df84 (patch)
tree2bdb122912b97a6adb82ad415fb5f698233f8365 /llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.h
parent1ecd0e022819989a71cc8e7d8d1893b70b34e0e7 (diff)
downloadbcm5719-llvm-2ee8c115d8f0bd6a47901be966cc311c2470df84.tar.gz
bcm5719-llvm-2ee8c115d8f0bd6a47901be966cc311c2470df84.zip
delete useless functions
add comment llvm-svn: 6673
Diffstat (limited to 'llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.h')
-rw-r--r--llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.h18
1 files changed, 5 insertions, 13 deletions
diff --git a/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.h b/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.h
index 7cdfdd970e8..db3a9a31e5f 100644
--- a/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.h
+++ b/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.h
@@ -250,9 +250,6 @@ public:
//return wether the BasicBlock 'bb' contains a loop
bool isLoop(const BasicBlock *bb);
- //return this basibBlock contains a loop
- bool isLoop();
-
//return the node for the input instruction
ModuloSchedGraphNode *getGraphNodeForInst(const Instruction *inst) const {
const_iterator onePair = this->find(inst);
@@ -293,11 +290,12 @@ public:
using map_base::begin;
using map_base::end;
- void noteModuloSchedGraphNodeForInst(const Instruction *inst,
- ModuloSchedGraphNode *node)
- {
+ void addHash(const Instruction *inst,
+ ModuloSchedGraphNode *node){
+
assert((*this)[inst] == NULL);
(*this)[inst] = node;
+
}
// Graph builder
@@ -308,10 +306,7 @@ public:
// Build nodes for BasicBlock
void buildNodesforBB(const TargetMachine &target,
- const BasicBlock *bb,
- NodeVec &memNode,
- RegToRefVecMap &regToRefVecMap,
- ValueToDefVecMap &valueToDefVecMap);
+ const BasicBlock *bb);
//find definitiona and use information for all nodes
void findDefUseInfoAtInstr(const TargetMachine &target,
@@ -329,9 +324,6 @@ public:
//add memory dependence dges
void addMemEdges(const BasicBlock *bb);
- //add dummy edges
- void addDummyEdges();
-
//computer source restrictoin II
int computeResII(const BasicBlock *bb);
OpenPOWER on IntegriCloud