diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-27 22:03:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-27 22:03:46 +0000 |
commit | 493f6366cb5b078716ddbaa1616ebce999938af7 (patch) | |
tree | caa387b064ed79d0e5e0297c0969034fb01f88c1 | |
parent | 93ab219244b4e51dfa57141b45da7f3fbddb7b5f (diff) | |
download | llvm-493f6366cb5b078716ddbaa1616ebce999938af7.tar.gz llvm-493f6366cb5b078716ddbaa1616ebce999938af7.tar.bz2 llvm-493f6366cb5b078716ddbaa1616ebce999938af7.tar.xz |
wrap some long lines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20884 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Analysis/IPA/Andersens.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/lib/Analysis/IPA/Andersens.cpp b/lib/Analysis/IPA/Andersens.cpp index 12efb46c37..bbabb795b4 100644 --- a/lib/Analysis/IPA/Andersens.cpp +++ b/lib/Analysis/IPA/Andersens.cpp @@ -433,7 +433,8 @@ void Andersens::IdentifyObjects(Module &M) { ++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 @@ void Andersens::IdentifyObjects(Module &M) { 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 @@ void Andersens::CollectConstraints(Module &M) { 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 @@ void Andersens::CollectConstraints(Module &M) { 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 @@ void Andersens::CollectConstraints(Module &M) { // 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. |