Rename DSGraph::ScalarMapTy -> DSScalarMap

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11001 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2004-01-28 09:15:42 +00:00
parent 28da03b0fe
commit 62482e5649
2 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -72,7 +72,7 @@ namespace {
class GraphBuilder : InstVisitor<GraphBuilder> {
DSGraph &G;
DSNodeHandle *RetNode; // Node that gets returned...
DSGraph::ScalarMapTy &ScalarMap;
DSScalarMap &ScalarMap;
std::vector<DSCallSite> *FunctionCalls;
public:
@@ -171,7 +171,7 @@ DSGraph::DSGraph(const TargetData &td, Function &F, DSGraph *GG)
#endif
// Remove all integral constants from the scalarmap!
for (ScalarMapTy::iterator I = ScalarMap.begin(); I != ScalarMap.end();)
for (DSScalarMap::iterator I = ScalarMap.begin(); I != ScalarMap.end();)
if (isa<ConstantIntegral>(I->first))
ScalarMap.erase(I++);
else
@@ -210,7 +210,7 @@ DSNodeHandle GraphBuilder::getValueDest(Value &Val) {
NH = getValueDest(*CE->getOperand(0));
else if (CE->getOpcode() == Instruction::GetElementPtr) {
visitGetElementPtrInst(*CE);
DSGraph::ScalarMapTy::iterator I = ScalarMap.find(CE);
DSScalarMap::iterator I = ScalarMap.find(CE);
assert(I != ScalarMap.end() && "GEP didn't get processed right?");
NH = I->second;
} else {