reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

utils/TableGen/CallingConvEmitter.cpp
   97     O << IndentStr << "if (";
  103         if (i != 0) O << " ||\n    " << IndentStr;
  104         O << "LocVT == " << getEnumName(getValueType(VT));
  108       O << Action->getValueAsString("Predicate");
  114     O << ") {\n";
  115     EmitAction(Action->getValueAsDef("SubAction"), Indent+2, O);
  116     O << IndentStr << "}\n";
  120       O << IndentStr << "if (!" << CC->getName()
  126         O << IndentStr << "if (unsigned Reg = State.AllocateReg(";
  127         O << getQualifiedName(RegList->getElementAsRecord(0)) << ")) {\n";
  129         O << IndentStr << "static const MCPhysReg RegList" << ++Counter
  131         O << IndentStr << "  ";
  133           if (i != 0) O << ", ";
  134           O << getQualifiedName(RegList->getElementAsRecord(i));
  136         O << "\n" << IndentStr << "};\n";
  137         O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList"
  140       O << IndentStr << "  State.addLoc(CCValAssign::getReg(ValNo, ValVT, "
  142       O << IndentStr << "  return false;\n";
  143       O << IndentStr << "}\n";
  152         O << IndentStr << "if (unsigned Reg = State.AllocateReg(";
  153         O << getQualifiedName(RegList->getElementAsRecord(0));
  154         O << ", " << getQualifiedName(ShadowRegList->getElementAsRecord(0));
  155         O << ")) {\n";
  160         O << IndentStr << "static const MCPhysReg RegList" << RegListNumber
  162         O << IndentStr << "  ";
  164           if (i != 0) O << ", ";
  165           O << getQualifiedName(RegList->getElementAsRecord(i));
  167         O << "\n" << IndentStr << "};\n";
  169         O << IndentStr << "static const MCPhysReg RegList"
  171         O << IndentStr << "  ";
  173           if (i != 0) O << ", ";
  174           O << getQualifiedName(ShadowRegList->getElementAsRecord(i));
  176         O << "\n" << IndentStr << "};\n";
  178         O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList"
  182       O << IndentStr << "  State.addLoc(CCValAssign::getReg(ValNo, ValVT, "
  184       O << IndentStr << "  return false;\n";
  185       O << IndentStr << "}\n";
  190       O << IndentStr << "unsigned Offset" << ++Counter
  193         O << Size << ", ";
  195         O << "\n" << IndentStr
  200         O << Align;
  202         O << "\n" << IndentStr
  206       O << ");\n" << IndentStr
  209       O << IndentStr << "return false;\n";
  217       O << IndentStr << "static const MCPhysReg ShadowRegList"
  219       O << IndentStr << "  ";
  221         if (i != 0) O << ", ";
  222         O << getQualifiedName(ShadowRegList->getElementAsRecord(i));
  224       O << "\n" << IndentStr << "};\n";
  226       O << IndentStr << "unsigned Offset" << ++Counter
  230       O << IndentStr << "State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset"
  232       O << IndentStr << "return false;\n";
  236       O << IndentStr << "LocVT = " << getEnumName(DestVT) <<";\n";
  238         O << IndentStr << "LocInfo = CCValAssign::FPExt;\n";
  240         O << IndentStr << "if (ArgFlags.isSExt())\n"
  250       O << IndentStr << "LocVT = " << getEnumName(DestVT) << ";\n";
  256         O << IndentStr << "if (ArgFlags.isSExt())\n"
  265       O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n";
  266       O << IndentStr << "LocInfo = CCValAssign::BCvt;\n";
  269       O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n";
  270       O << IndentStr << "LocInfo = CCValAssign::Trunc;\n";
  273       O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n";
  274       O << IndentStr << "LocInfo = CCValAssign::Indirect;\n";
  278       O << IndentStr
  281       O << IndentStr << "return false;\n";
  283       O << IndentStr
  286       O << IndentStr << IndentStr << "return false;\n";