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

Declarations

include/llvm/TableGen/Record.h
 1685   int64_t getValueAsInt(StringRef FieldName) const;

References

tools/clang/utils/TableGen/ClangAttrEmitter.cpp
 1279         Arg, Attr, "int", Arg.getValueAsInt("Default"));
 2976             Version = static_cast<int>(Spelling->getValueAsInt("Version"));
tools/clang/utils/TableGen/ClangCommentCommandInfoEmitter.cpp
   36        << Tag.getValueAsInt("NumArgs") << ", "
tools/clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp
   58     uint64_t CodePoint = Tag.getValueAsInt("CodePoint");
tools/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
  376        << T.first->getValueAsInt("VecWidth") << ", "
  412          << Overload.first->getValueAsDef("MinVersion")->getValueAsInt("ID")
  414          << Overload.first->getValueAsDef("MaxVersion")->getValueAsInt("ID")
tools/clang/utils/TableGen/ClangOptionDocEmitter.cpp
  160     .Case("KIND_MULTIARG", Option->getValueAsInt("NumArgs"))
tools/clang/utils/TableGen/MveEmitter.cpp
  239     Bits = Record->getValueAsInt("size");
  960     unsigned Registers = Op->getValueAsInt("n");
 1109   for (unsigned i = 0, e = PolymorphicNameType->getValueAsInt(
 1153           IA.i1 = Bounds->getValueAsInt("lo");
 1154           IA.i2 = Bounds->getValueAsInt("hi");
 1164           IA.i1 = Bounds->getValueAsInt("base");
tools/lldb/utils/TableGen/LLDBOptionDefEmitter.cpp
   48       int GroupStart = Option->getValueAsInt("GroupStart");
   49       int GroupEnd = Option->getValueAsInt("GroupEnd");
tools/lldb/utils/TableGen/LLDBPropertyDefEmitter.cpp
   77     OS << std::to_string(Property->getValueAsInt("DefaultUnsignedValue"));
utils/TableGen/AsmMatcherEmitter.cpp
 1501     Variant.AsmVariantNo = AsmVariant->getValueAsInt("Variant");
 2811     int AsmParserVariantNo = AsmVariant->getValueAsInt("Variant");
 3060       int AsmVariantNo = AsmVariant->getValueAsInt("Variant");
 3431     int AsmVariantNo = AsmVariant->getValueAsInt("Variant");
 3535     int AsmVariantNo = AsmVariant->getValueAsInt("Variant");
utils/TableGen/AsmWriterEmitter.cpp
  275   bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget");
  771   unsigned Variant = AsmWriter->getValueAsInt("Variant");
  772   bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget");
  782     int Priority = R->getValueAsInt("EmitPriority");
 1137   unsigned Variant = AsmWriter->getValueAsInt("Variant");
utils/TableGen/CallingConvEmitter.cpp
  187       int Size = Action->getValueAsInt("Size");
  188       int Align = Action->getValueAsInt("Align");
  211       int Size = Action->getValueAsInt("Size");
  212       int Align = Action->getValueAsInt("Align");
  276       int Size = Action->getValueAsInt("Size");
  277       int Align = Action->getValueAsInt("Align");
utils/TableGen/CodeGenDAGPatterns.cpp
 1200   return R->getValueAsInt("MinAlignment");
 1419   OperandNo = R->getValueAsInt("OperandNum");
 1437     x.SDTCisSameAs_Info.OtherOperandNum = R->getValueAsInt("OtherOperandNum");
 1441       R->getValueAsInt("OtherOperandNum");
 1445       R->getValueAsInt("BigOperandNum");
 1448     x.SDTCisEltOfVec_Info.OtherOperandNum = R->getValueAsInt("OtherOpNum");
 1452       R->getValueAsInt("OtherOpNum");
 1468       R->getValueAsInt("OtherOperandNum");
 1472       R->getValueAsInt("OtherOperandNum");
 1699   NumResults = TypeProfile->getValueAsInt("NumResults");
 1700   NumOperands = TypeProfile->getValueAsInt("NumOperands");
 4169   int Complexity = TheDef->getValueAsInt("AddedComplexity");
utils/TableGen/CodeGenRegisters.cpp
   58   Size = R->getValueAsInt("Size");
   59   Offset = R->getValueAsInt("Offset");
  159     CostPerUse(R->getValueAsInt("CostPerUse")),
  657                               unsigned(Reg->getValueAsInt("CostPerUse")));
  794   unsigned Size = R->getValueAsInt("Size");
  801     RI.SpillAlignment = R->getValueAsInt("Alignment");
  805   CopyCost = R->getValueAsInt("CopyCost");
  808   int AllocationPriority = R->getValueAsInt("AllocationPriority");
utils/TableGen/CodeGenSchedule.cpp
  785     SchedRW.TheDef ? SchedRW.TheDef->getValueAsInt("Repeat") : 1;
  824     SchedWrite.TheDef ? SchedWrite.TheDef->getValueAsInt("Repeat") : 1;
 1797         RF->getValueAsInt("MaxMovesEliminatedPerCycle");
 1803     CGRF.NumPhysRegs = RF->getValueAsInt("NumPhysRegs");
utils/TableGen/CodeGenTarget.cpp
   46   return (MVT::SimpleValueType)Rec->getValueAsInt("Value");
  250   return TargetRec->getValueAsInt("AllowRegisterRenaming");
  528   NumOperands = R->getValueAsInt("NumOperands");
  536   int64_t RawComplexity = R->getValueAsInt("Complexity");
  687       unsigned MatchTy = TyEl->getValueAsInt("Number");
  718       unsigned MatchTy = TyEl->getValueAsInt("Number");
  786       unsigned ArgNo = Property->getValueAsInt("ArgNo");
  789       unsigned ArgNo = Property->getValueAsInt("ArgNo");
  792       unsigned ArgNo = Property->getValueAsInt("ArgNo");
  795       unsigned ArgNo = Property->getValueAsInt("ArgNo");
  798       unsigned ArgNo = Property->getValueAsInt("ArgNo");
  801       unsigned ArgNo = Property->getValueAsInt("ArgNo");
  804       unsigned ArgNo = Property->getValueAsInt("ArgNo");
utils/TableGen/DAGISelEmitter.cpp
   66     Cost += Op->getValueAsInt("CodeSize");
utils/TableGen/DFAEmitter.cpp
  344       Actions.emplace_back(nullptr, R->getValueAsInt(A), "");
utils/TableGen/FixedLenDecoderEmitter.cpp
 1788       utostr(Record->getValueAsInt("RegClassKind"));
 1959                   utostr(TypeRecord->getValueAsInt("RegClassKind"));
 2446     unsigned Size = EncodingDef->getValueAsInt("Size");
utils/TableGen/InfoByHwMode.cpp
   43     PtrAddrSpace = R->getValueAsInt("AddrSpace");
  123   RegSize = R->getValueAsInt("RegSize");
  124   SpillSize = R->getValueAsInt("SpillSize");
  125   SpillAlignment = R->getValueAsInt("SpillAlignment");
utils/TableGen/InstrInfoEmitter.cpp
  145         Res += utostr(OpR->getValueAsInt("RegClassKind")) + ", ";
  659      << Inst.TheDef->getValueAsInt("Size") << ",\t"
utils/TableGen/IntrinsicEmitter.cpp
  271     unsigned Number = Mapping[R->getValueAsInt("Number")];
  336       AddrSpace = R->getValueAsInt("AddrSpace");
utils/TableGen/OptParserEmitter.cpp
   78   int APrec = A->getValueAsDef("Kind")->getValueAsInt("Precedence");
   79   int BPrec = B->getValueAsDef("Kind")->getValueAsInt("Precedence");
  273     OS << ", " << R.getValueAsInt("NumArgs");
utils/TableGen/PredicateExpander.cpp
  309     return expandCheckIsRegOperand(OS, Rec->getValueAsInt("OpIndex"));
  312     return expandCheckIsImmOperand(OS, Rec->getValueAsInt("OpIndex"));
  315     return expandCheckRegOperand(OS, Rec->getValueAsInt("OpIndex"),
  320     return expandCheckRegOperandSimple(OS, Rec->getValueAsInt("OpIndex"),
  324     return expandCheckInvalidRegOperand(OS, Rec->getValueAsInt("OpIndex"));
  327     return expandCheckImmOperand(OS, Rec->getValueAsInt("OpIndex"),
  328                                  Rec->getValueAsInt("ImmVal"),
  332     return expandCheckImmOperand(OS, Rec->getValueAsInt("OpIndex"),
  337     return expandCheckImmOperandSimple(OS, Rec->getValueAsInt("OpIndex"),
  341     return expandCheckSameRegOperand(OS, Rec->getValueAsInt("FirstIndex"),
  342                                      Rec->getValueAsInt("SecondIndex"));
  345     return expandCheckNumOperands(OS, Rec->getValueAsInt("NumOps"));
utils/TableGen/RISCVCompressInstEmitter.cpp
  524   if (!AsmWriter->getValueAsInt("PassSubtarget"))
utils/TableGen/SubtargetEmitter.cpp
  308     int Cycles = Stage->getValueAsInt("Cycles");
  321     int TimeInc = Stage->getValueAsInt("TimeInc");
  324     int Kind = Stage->getValueAsInt("Kind");
  516       int16_t NumUOps = ItinData ? ItinData->getValueAsInt("NumMicroOps") : 0;
  611   int V = R ? R->getValueAsInt(Name) : -1;
  633       for (unsigned J = 0; J < RU->getValueAsInt("NumUnits"); ++J) {
  647         std::max(ReorderBufferSize, RCU->getValueAsInt("ReorderBufferSize"));
  649         std::max(MaxRetirePerCycle, RCU->getValueAsInt("MaxRetirePerCycle"));
  791     int BufferSize = PRDef->getValueAsInt("BufferSize");
  795         NumUnits += RU->getValueAsInt("NumUnits");
  796         SubUnitsOffset += RU->getValueAsInt("NumUnits");
  807       NumUnits = PRDef->getValueAsInt("NumUnits");
 1096         WLEntry.Cycles += WriteRes->getValueAsInt("Latency");
 1097         SCDesc.NumMicroOps += WriteRes->getValueAsInt("NumMicroOps");
 1177         RAEntry.Cycles = ReadAdvance->getValueAsInt("Cycles");
utils/TableGen/X86EVEX2VEXTablesEmitter.cpp
  163       return RegRec->getValueAsInt("Alignment");
  165       return RegRec->getValueAsDef("RegClass")->getValueAsInt("Alignment");
utils/TableGen/X86FoldTablesEmitter.cpp
  222     return RegRec->getValueAsListOfDefs("RegTypes")[0]->getValueAsInt("Size");