mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
GlobalAddress -> TargetGlobalAddress; ExternalSymbol -> TargetExternalSymbol
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25245 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
138d322e96
commit
bb48e33bcd
@ -2023,12 +2023,24 @@ public:
|
||||
OS << " SDOperand Tmp" << utostr(ResNo)
|
||||
<< " = CurDAG->getTargetConstant(Tmp"
|
||||
<< ResNo << "C, MVT::" << getEnumName(N->getTypeNum(0)) << ");\n";
|
||||
} else if (!N->isLeaf() && N->getOperator()->getName() == "globaladdr") {
|
||||
OS << " SDOperand Tmp" << ResNo
|
||||
<< " = CurDAG->getTargetGlobalAddress(cast<GlobalAddressSDNode>("
|
||||
<< Val << ")->getGlobal(), MVT::" << getEnumName(N->getTypeNum(0))
|
||||
<< ");\n";
|
||||
} else if (!N->isLeaf() && N->getOperator()->getName() == "externalsym") {
|
||||
OS << " SDOperand Tmp" << ResNo
|
||||
<< " = CurDAG->getTargetExternalSymbol(cast<ExternalSymbolSDNode>("
|
||||
<< Val << ")->getSymbol(), MVT::" << getEnumName(N->getTypeNum(0))
|
||||
<< ");\n";
|
||||
} else if (!N->isLeaf() && N->getOperator()->getName() == "texternalsym"){
|
||||
OS << " SDOperand Tmp" << ResNo << " = " << Val << ";\n";
|
||||
} else if (!N->isLeaf() && N->getOperator()->getName() == "tglobaladdr") {
|
||||
OS << " SDOperand Tmp" << ResNo << " = " << Val << ";\n";
|
||||
} else if (!N->isLeaf() && N->getOperator()->getName() == "tconstpool") {
|
||||
OS << " SDOperand Tmp" << ResNo << " = " << Val << ";\n";
|
||||
} else if (!N->isLeaf() && N->getOperator()->getName() == "texternalsym"){
|
||||
OS << " SDOperand Tmp" << ResNo << " = " << Val << ";\n";
|
||||
} else if (!N->isLeaf() && N->getOperator()->getName() == "tconstpool") {
|
||||
OS << " SDOperand Tmp" << ResNo << " = " << Val << ";\n";
|
||||
} else if (N->isLeaf() && (CP = NodeGetComplexPattern(N, ISE))) {
|
||||
std::string Fn = CP->getSelectFunc();
|
||||
NumRes = CP->getNumOperands();
|
||||
|
Loading…
Reference in New Issue
Block a user