diff options
author | Chris Lattner <sabre@nondot.org> | 2002-11-03 21:27:48 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-11-03 21:27:48 +0000 |
commit | c875f023d41f60efc79647e9c2dd44ab0c8c03ca (patch) | |
tree | 5718718ddb016611404b49fc1537150a24592b90 /lib/Analysis/DataStructure/BottomUpClosure.cpp | |
parent | d18f342af8c716a88917ef2694f798d67109801d (diff) |
Rename ValueMap to ScalarMap
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4516 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/BottomUpClosure.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/BottomUpClosure.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Analysis/DataStructure/BottomUpClosure.cpp b/lib/Analysis/DataStructure/BottomUpClosure.cpp index be5d725b77..a68e9547f1 100644 --- a/lib/Analysis/DataStructure/BottomUpClosure.cpp +++ b/lib/Analysis/DataStructure/BottomUpClosure.cpp @@ -56,7 +56,7 @@ bool BUDataStructures::run(Module &M) { // call. // static void ResolveArguments(DSCallSite &Call, Function &F, - map<Value*, DSNodeHandle> &ValueMap) { + map<Value*, DSNodeHandle> &ScalarMap) { // Resolve all of the function arguments... Function::aiterator AI = F.abegin(); for (unsigned i = 0, e = Call.getNumPtrArgs(); i != e; ++i, ++AI) { @@ -64,7 +64,7 @@ static void ResolveArguments(DSCallSite &Call, Function &F, while (!isPointerType(AI->getType())) ++AI; // Add the link from the argument scalar to the provided value - ValueMap[AI].mergeWith(Call.getPtrArg(i)); + ScalarMap[AI].mergeWith(Call.getPtrArg(i)); } } @@ -118,7 +118,7 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) { Graph->getRetNode().mergeWith(Call.getRetVal()); // Resolve the arguments in the call to the actual values... - ResolveArguments(Call, F, Graph->getValueMap()); + ResolveArguments(Call, F, Graph->getScalarMap()); // Erase the entry in the callees vector Callees.erase(Callees.begin()+c--); |