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;
  116     O << IndentStr << "}\n";
  120       O << IndentStr << "if (!" << CC->getName()
  122         << IndentStr << "  return false;\n";
  126         O << IndentStr << "if (unsigned Reg = State.AllocateReg(";
  129         O << IndentStr << "static const MCPhysReg RegList" << ++Counter
  131         O << IndentStr << "  ";
  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(";
  160         O << IndentStr << "static const MCPhysReg RegList" << RegListNumber
  162         O << IndentStr << "  ";
  167         O << "\n" << IndentStr << "};\n";
  169         O << IndentStr << "static const MCPhysReg RegList"
  171         O << IndentStr << "  ";
  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
  195         O << "\n" << IndentStr
  202         O << "\n" << IndentStr
  206       O << ");\n" << IndentStr
  209       O << IndentStr << "return false;\n";
  217       O << IndentStr << "static const MCPhysReg ShadowRegList"
  219       O << IndentStr << "  ";
  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"
  241           << IndentStr << IndentStr << "LocInfo = CCValAssign::SExt;\n"
  241           << IndentStr << IndentStr << "LocInfo = CCValAssign::SExt;\n"
  242           << IndentStr << "else if (ArgFlags.isZExt())\n"
  243           << IndentStr << IndentStr << "LocInfo = CCValAssign::ZExt;\n"
  243           << IndentStr << IndentStr << "LocInfo = CCValAssign::ZExt;\n"
  244           << IndentStr << "else\n"
  245           << IndentStr << IndentStr << "LocInfo = CCValAssign::AExt;\n";
  245           << IndentStr << IndentStr << "LocInfo = CCValAssign::AExt;\n";
  250       O << IndentStr << "LocVT = " << getEnumName(DestVT) << ";\n";
  256         O << IndentStr << "if (ArgFlags.isSExt())\n"
  257           << IndentStr << IndentStr << "LocInfo = CCValAssign::SExtUpper;\n"
  257           << IndentStr << IndentStr << "LocInfo = CCValAssign::SExtUpper;\n"
  258           << IndentStr << "else if (ArgFlags.isZExt())\n"
  259           << IndentStr << IndentStr << "LocInfo = CCValAssign::ZExtUpper;\n"
  259           << IndentStr << IndentStr << "LocInfo = CCValAssign::ZExtUpper;\n"
  260           << IndentStr << "else\n"
  261           << IndentStr << IndentStr << "LocInfo = CCValAssign::AExtUpper;\n";
  261           << IndentStr << IndentStr << "LocInfo = CCValAssign::AExtUpper;\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";
  286       O << IndentStr << IndentStr << "return false;\n";