diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-04-22 23:00:08 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-04-22 23:00:08 +0000 |
commit | 63e04f3ccbfff4537458db8d99c323c00fc8b6ac (patch) | |
tree | f9d908f389826201bd4d2360f746efb0087f8e89 /lib/Target/SparcV9/ModuloScheduling/ModuloSchedGraph.h | |
parent | b581148bd9d3fea008b5fdd58681671a3d738f19 (diff) |
Just some code beautification changes I had sitting around in my tree.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5859 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/ModuloScheduling/ModuloSchedGraph.h')
-rw-r--r-- | lib/Target/SparcV9/ModuloScheduling/ModuloSchedGraph.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/Target/SparcV9/ModuloScheduling/ModuloSchedGraph.h b/lib/Target/SparcV9/ModuloScheduling/ModuloSchedGraph.h index 78718447e5..9fe40f2e19 100644 --- a/lib/Target/SparcV9/ModuloScheduling/ModuloSchedGraph.h +++ b/lib/Target/SparcV9/ModuloScheduling/ModuloSchedGraph.h @@ -235,14 +235,15 @@ public: const unsigned int getNumNodes() const { return size() + 2; } + //return wether the BasicBlock 'bb' contains a loop - bool isLoop(const BasicBlock * bb); + 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 { + ModuloSchedGraphNode *getGraphNodeForInst(const Instruction *inst) const { const_iterator onePair = this->find(inst); return (onePair != this->end()) ? (*onePair).second : NULL; } @@ -252,10 +253,10 @@ public: void dump() const; // dump the basicBlock - void dump(const BasicBlock * bb); + void dump(const BasicBlock *bb); //dump the basicBlock into 'os' stream - void dump(const BasicBlock * bb, std::ostream & os); + void dump(const BasicBlock *bb, std::ostream &os); //dump the node property void dumpNodeProperty() const; @@ -287,14 +288,13 @@ public: (*this)[inst] = node; } - //Graph builder - + // Graph builder ModuloSchedGraphNode *getNode(const unsigned nodeId) const; - //build the graph from the basicBlock - void buildGraph(const TargetMachine & target); + // Build the graph from the basicBlock + void buildGraph(const TargetMachine &target); - //Build nodes for BasicBlock + // Build nodes for BasicBlock void buildNodesforBB(const TargetMachine &target, const BasicBlock *bb, NodeVec &memNode, |