[llvm-commits] CVS: llvm/lib/Analysis/IPA/Andersens.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Mar 27 14:03:59 PST 2005
Changes in directory llvm/lib/Analysis/IPA:
Andersens.cpp updated: 1.12 -> 1.13
---
Log message:
wrap some long lines
---
Diffs of the changes: (+10 -5)
Andersens.cpp | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
Index: llvm/lib/Analysis/IPA/Andersens.cpp
diff -u llvm/lib/Analysis/IPA/Andersens.cpp:1.12 llvm/lib/Analysis/IPA/Andersens.cpp:1.13
--- llvm/lib/Analysis/IPA/Andersens.cpp:1.12 Sun Mar 27 12:58:23 2005
+++ llvm/lib/Analysis/IPA/Andersens.cpp Sun Mar 27 16:03:46 2005
@@ -433,7 +433,8 @@
++NumObjects;
// Add all the globals first.
- for (Module::global_iterator I = M.global_begin(), E = M.global_end(); I != E; ++I) {
+ for (Module::global_iterator I = M.global_begin(), E = M.global_end();
+ I != E; ++I) {
ObjectNodes[I] = NumObjects++;
ValueNodes[I] = NumObjects++;
}
@@ -449,7 +450,8 @@
VarargNodes[F] = NumObjects++;
// Add nodes for all of the incoming pointer arguments.
- for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); I != E; ++I)
+ for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end();
+ I != E; ++I)
if (isa<PointerType>(I->getType()))
ValueNodes[I] = NumObjects++;
@@ -571,7 +573,8 @@
GraphNodes[NullPtr].addPointerTo(&GraphNodes[NullObject]);
// Next, add any constraints on global variables and their initializers.
- for (Module::global_iterator I = M.global_begin(), E = M.global_end(); I != E; ++I) {
+ for (Module::global_iterator I = M.global_begin(), E = M.global_end();
+ I != E; ++I) {
// Associate the address of the global object as pointing to the memory for
// the global: &G = <G memory>
Node *Object = getObject(I);
@@ -599,7 +602,8 @@
getVarargNode(F)->setValue(F);
// Set up incoming argument nodes.
- for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); I != E; ++I)
+ for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end();
+ I != E; ++I)
if (isa<PointerType>(I->getType()))
getNodeValue(*I);
@@ -620,7 +624,8 @@
// Any pointers that are passed into the function have the universal set
// stored into them.
- for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); I != E; ++I)
+ for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end();
+ I != E; ++I)
if (isa<PointerType>(I->getType())) {
// Pointers passed into external functions could have anything stored
// through them.
More information about the llvm-commits
mailing list