mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 13:10:34 +00:00
Name change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26013 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5e35168b11
commit
024524fe9b
@ -2398,7 +2398,7 @@ public:
|
||||
emitCode("CodeGenMap[N.getValue(" + utostr(ValNo) + ")] = " +
|
||||
ChainName + ";");
|
||||
if (DoReplace)
|
||||
emitCode("if (N.ResNo == 0) AddReplacement(N.getValue("
|
||||
emitCode("if (N.ResNo == 0) AddHandleReplacement(N.getValue("
|
||||
+ utostr(ValNo) + "), " + ChainName + ");");
|
||||
ValNo++;
|
||||
}
|
||||
@ -2415,7 +2415,7 @@ public:
|
||||
std::string Code =
|
||||
FoldedChains[j].first + ".getValue(" +
|
||||
utostr(FoldedChains[j].second) + ")";
|
||||
emitCode("AddReplacement(" + Code + ", " + ChainName + ");");
|
||||
emitCode("AddHandleReplacement(" + Code + ", " + ChainName + ");");
|
||||
}
|
||||
}
|
||||
|
||||
@ -3099,9 +3099,9 @@ void DAGISelEmitter::run(std::ostream &OS) {
|
||||
OS << "}\n";
|
||||
|
||||
OS << "\n";
|
||||
OS << "// AddReplacement - Note the pending replacement node for a\n"
|
||||
OS << "// AddHandleReplacement - Note the pending replacement node for a\n"
|
||||
<< "// holder node in ReplaceMap.\n";
|
||||
OS << "void AddReplacement(SDOperand N, SDOperand R) {\n";
|
||||
OS << "void AddHandleReplacement(SDOperand N, SDOperand R) {\n";
|
||||
OS << " std::map<SDOperand, SDOperand>::iterator HMI = HolderMap.find(N);\n";
|
||||
OS << " if (HMI != HolderMap.end()) {\n";
|
||||
OS << " ReplaceMap[HMI->second] = R;\n";
|
||||
|
Loading…
Reference in New Issue
Block a user