[llvm-commits] CVS: llvm/lib/Transforms/Utils/CloneTrace.cpp
Jeff Cohen
jeffc at jolt-lang.org
Sat Apr 23 14:38:47 PDT 2005
Changes in directory llvm/lib/Transforms/Utils:
CloneTrace.cpp updated: 1.10 -> 1.11
---
Log message:
Eliminate tabs and trailing spaces
---
Diffs of the changes: (+10 -10)
CloneTrace.cpp | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
Index: llvm/lib/Transforms/Utils/CloneTrace.cpp
diff -u llvm/lib/Transforms/Utils/CloneTrace.cpp:1.10 llvm/lib/Transforms/Utils/CloneTrace.cpp:1.11
--- llvm/lib/Transforms/Utils/CloneTrace.cpp:1.10 Thu Apr 21 18:45:34 2005
+++ llvm/lib/Transforms/Utils/CloneTrace.cpp Sat Apr 23 16:38:35 2005
@@ -33,7 +33,7 @@
//this loop. To fix the phi nodes, we delete incoming branches
//that are not in the trace.
for(std::vector<BasicBlock *>::const_iterator T = origTrace.begin(),
- End = origTrace.end(); T != End; ++T) {
+ End = origTrace.end(); T != End; ++T) {
//Clone Basic Block
BasicBlock *clonedBlock =
@@ -67,19 +67,19 @@
//Second loop to do the remapping
for(std::vector<BasicBlock *>::const_iterator BB = clonedTrace.begin(),
- BE = clonedTrace.end(); BB != BE; ++BB) {
+ BE = clonedTrace.end(); BB != BE; ++BB) {
for(BasicBlock::iterator I = (*BB)->begin(); I != (*BB)->end(); ++I) {
//Loop over all the operands of the instruction
for(unsigned op=0, E = I->getNumOperands(); op != E; ++op) {
- const Value *Op = I->getOperand(op);
-
- //Get it out of the value map
- Value *V = ValueMap[Op];
-
- //If not in the value map, then its outside our trace so ignore
- if(V != 0)
- I->setOperand(op,V);
+ const Value *Op = I->getOperand(op);
+
+ //Get it out of the value map
+ Value *V = ValueMap[Op];
+
+ //If not in the value map, then its outside our trace so ignore
+ if(V != 0)
+ I->setOperand(op,V);
}
}
}
More information about the llvm-commits
mailing list