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

Declarations

include/llvm/TableGen/Record.h
 1664   Record *getValueAsDef(StringRef FieldName) const;

References

tools/clang/utils/TableGen/ClangAttrEmitter.cpp
 1856     Record *SubjectDecl = Aggregate->getValueAsDef("Subject");
 1930   const Record *SubjectObj = Attribute.getValueAsDef("Subjects");
 1980   const Record *SubjectObj = Attr.getValueAsDef("Subjects");
 2987       const Record *R = Attr->getValueAsDef("Target");
 3390   Record *Base = Subject.getValueAsDef(BaseFieldName);
 3417   const Record *SubjectObj = Attr.getValueAsDef("Subjects");
 3425   bool Warn = SubjectObj->getValueAsDef("Diag")->getValueAsBit("Warn");
 3565   const Record *R = Attr.getValueAsDef("Target");
 3579             I.second->getValueAsDef("Target")->getValueAsListOfStrings(
 4051     const Record &Deprecated = *Doc.Documentation->getValueAsDef("Deprecated");
 4086       const Record *Category = Doc.getValueAsDef("Category");
 4133     const Record *SubjectObj = I.second->getValueAsDef("Subjects");
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
  169     assert(R->getValueAsDef("Class")->getName() != "CLASS_NOTE" &&
  333   const std::string &ClsName = Diag->getValueAsDef("Class")->getName();
  339       Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name");
 1179   const std::string &ClsName = Diag.getValueAsDef("Class")->getName();
 1184   const std::string &ClsName = Diag.getValueAsDef("Class")->getName();
 1248     OS << R.getValueAsDef("Class")->getName();
 1250        << R.getValueAsDef("DefaultSeverity")->getValueAsString("Name");
 1273     OS << ", " << R.getValueAsDef("SFINAE")->getName();
 1633   return Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name");
tools/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
  299           T->getValueAsDef("VectorList")->getValueAsListOfInts("List").size();
  312           T->getValueAsDef("TypeList")->getValueAsListOfDefs("List").size();
  412          << Overload.first->getValueAsDef("MinVersion")->getValueAsInt("ID")
  414          << Overload.first->getValueAsDef("MaxVersion")->getValueAsInt("ID")
  519          << Image->getValueAsDef("QTName")->getValueAsString("Name") << ");\n"
  534     for (unsigned I = 0; I < GenType->getValueAsDef("VectorList")
  539            GenType->getValueAsDef("TypeList")->getValueAsListOfDefs("List")) {
  541            << T->getValueAsDef("QTName")->getValueAsString("Name") << ", ";
  548        << GenType->getValueAsDef("TypeList")->getValueAsListOfDefs("List")
  554        << GenType->getValueAsDef("VectorList")->getValueAsString("Name")
  575     auto QT = T->getValueAsDef("QTName");
tools/clang/utils/TableGen/ClangOptionDocEmitter.cpp
  234       getSeparatorsForKind(Option->getValueAsDef("Kind"));
  245   unsigned NumArgs = getNumArgsForKind(Option->getValueAsDef("Kind"), Option);
  274     Record *Alias = Option->getValueAsDef("Alias");
  307   if (Option.Option->getValueAsDef("Kind")->getName() == "KIND_UNKNOWN" ||
  308       Option.Option->getValueAsDef("Kind")->getName() == "KIND_INPUT")
tools/clang/utils/TableGen/MveEmitter.cpp
  922     R = R->getValueAsDef("type"); // pass to subfield
 1091     : ReturnType(ME.getType(R->getValueAsDef("ret"), Param)) {
 1106   Record *PolymorphicNameType = R->getValueAsDef("pnt");
 1149         Record *Bounds = TypeRec->getValueAsDef("bounds");
tools/clang/utils/TableGen/NeonEmitter.cpp
 2049   Record *OperationRec = R->getValueAsDef("Operation");
utils/TableGen/AsmMatcherEmitter.cpp
 1176     Record *ClassRec = Rec->getValueAsDef("RegClass");
 1194   Record *MatchClass = Rec->getValueAsDef("ParserMatchClass");
 1689     Record *MatchClass = Rec->getValueAsDef("ParserMatchClass");
utils/TableGen/AsmWriterEmitter.cpp
  599         O << R->getValueAsDef("FallbackRegAltNameIndex")->getName() << ");\n";
  886             Rec = Rec->getValueAsDef("RegClass");
  894                 R = R->getValueAsDef("RegClass");
utils/TableGen/CallingConvEmitter.cpp
  115     EmitAction(Action->getValueAsDef("SubAction"), Indent+2, O);
  119       Record *CC = Action->getValueAsDef("CC");
  234       Record *DestTy = Action->getValueAsDef("DestTy");
  248       Record *DestTy = Action->getValueAsDef("DestTy");
  264       Record *DestTy = Action->getValueAsDef("DestTy");
  268       Record *DestTy = Action->getValueAsDef("DestTy");
  272       Record *DestTy = Action->getValueAsDef("DestTy");
utils/TableGen/CodeGenDAGPatterns.cpp
 1186   return R->getValueAsDef("MemoryVT");
 1207   return R->getValueAsDef("ScalarMemoryVT");
 1423     VVT = getValueTypeByHwMode(R->getValueAsDef("VT"), CGH);
 1455     VVT = getValueTypeByHwMode(R->getValueAsDef("VT"), CGH);
 1627     Record *R = Operand->getValueAsDef("Type");
 1642     RC = Operand->getValueAsDef("RegClass");
 1698   Record *TypeProfile = R->getValueAsDef("TypeProfile");
 2108     Record *RegClass = R->getValueAsDef("RegClass");
 2195     Record *T = R->getValueAsDef("Type");
 3080     Record *SDNode = XFormNode->getValueAsDef("Opcode");
 3159     Record *Transform = Frag->getValueAsDef("OperandTransform");
utils/TableGen/CodeGenInstruction.cpp
  548     InstOpRec = InstOpRec->getValueAsDef("RegClass");
  551     ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit();
  726            InstOpRec->getValueAsDef("ParserMatchClass")
utils/TableGen/CodeGenSchedule.cpp
  302       const Record *Pred = EC->getValueAsDef("Predicate");
  332     const Record *SchedModel = Def->getValueAsDef("SchedModel");
  344       const Record *Pred = EC->getValueAsDef("Predicate");
  407     const Record *Decl = R->getValueAsDef("Declaration");
  468     CodeGenProcModel &PM = getProcModel(RCU->getValueAsDef("SchedModel"));
  483     CodeGenProcModel &PM = getProcModel(Queue->getValueAsDef("SchedModel"));
  551     Record *ItinsDef = ModelKey->getValueAsDef("Itineraries");
  559                             ProcDef->getValueAsDef("SchedModel"), ModelKey);
  646     Record *MatchDef = ADef->getValueAsDef("MatchRW");
  647     Record *AliasDef = ADef->getValueAsDef("AliasRW");
  681     Record *AliasDef = ADef->getValueAsDef("AliasRW");
  683     Record *MatchDef = ADef->getValueAsDef("MatchRW");
  802     const CodeGenSchedRW &AliasRW = getSchedRW(Rec->getValueAsDef("AliasRW"));
  804       Record *ModelDef = Rec->getValueAsDef("SchedModel");
  876     Record *ItinDef = Inst->TheDef->getValueAsDef("Itinerary");
  938           getProcModel(RWDef->getValueAsDef("SchedModel"));
 1079           Record *RWModelDef = InstRWDef->getValueAsDef("SchedModel");
 1083             if (RWD->getValueAsDef("SchedModel") == RWModelDef &&
 1108                       << InstRWDef->getValueAsDef("SchedModel")->getName()
 1118       Record *RWModelDef = InstRWDef->getValueAsDef("SchedModel");
 1120         if (OldRWDef->getValueAsDef("SchedModel") == RWModelDef) {
 1167       const Record *ItinDef = ItinData->getValueAsDef("TheClass");
 1203     Record *ModelDef = RWDef->getValueAsDef("SchedModel");
 1286     unsigned PIdx = getProcModel(Rec->getValueAsDef("SchedModel")).Index;
 1371           return R->getValueAsDef("Predicate") == PredDef;
 1385       SchedModels.getSchedRW(Alias->getValueAsDef("AliasRW"));
 1430       Record *ModelDef = SchedRW.TheDef->getValueAsDef("SchedModel");
 1447       Record *ModelDef = (*AI)->getValueAsDef("SchedModel");
 1451       SchedModels.getSchedRW((*AI)->getValueAsDef("AliasRW"));
 1482       Record *PredDef = Variant.VarOrSeqDef->getValueAsDef("Predicate");
 1517     Record *PredDef = VInfo.VarOrSeqDef->getValueAsDef("Predicate");
 1793     CodeGenProcModel &PM = getProcModel(RF->getValueAsDef("SchedModel"));
 1844       Record *RWModelDef = RW->getValueAsDef("SchedModel");
 1856     Record *ModelDef = WR->getValueAsDef("SchedModel");
 1861     Record *ModelDef = SWR->getValueAsDef("SchedModel");
 1866     Record *ModelDef = RA->getValueAsDef("SchedModel");
 1872       Record *ModelDef = SRA->getValueAsDef("SchedModel");
 1882     CodeGenProcModel &PM = getProcModel(PRG->getValueAsDef("SchedModel"));
 1890     CodeGenProcModel &PM = getProcModel(PRU->getValueAsDef("SchedModel"));
 1905             dbgs() << (*RI)->getValueAsDef("WriteType")->getName() << " ";
 1913             dbgs() << (*RI)->getValueAsDef("ReadType")->getName() << " ";
 1962         return R->getValueAsDef("SchedModel") == ProcModel.ModelDef;
 2027         getProcModel((*AI)->getValueAsDef("SchedModel")).Index);
 2031     const CodeGenSchedRW &AliasRW = getSchedRW((*AI)->getValueAsDef("AliasRW"));
 2066     if (ProcResDef->getValueAsDef("Kind") == ProcResKind
 2067         && ProcResDef->getValueAsDef("SchedModel") == PM.ModelDef) {
 2078         && ProcResGroup->getValueAsDef("SchedModel") == PM.ModelDef) {
 2113     ProcResKind = ProcResUnits->getValueAsDef("Super");
utils/TableGen/CodeGenSchedule.h
  402     return FunctionDeclaration->getValueAsDef("DefaultReturnValue");
  469     Record *ModelDef = ProcDef->getValueAsDef("SchedModel");
  470     Record *ItinsDef = ProcDef->getValueAsDef("ProcItin");
utils/TableGen/CodeGenTarget.cpp
  246   return TargetRec->getValueAsDef("InstructionSet");
  527   Ty          = ::getValueType(R->getValueAsDef("Ty"));
  672       MVT::SimpleValueType VT = getValueType(TyEl->getValueAsDef("VT"));
  699       VT = getValueType(TyEl->getValueAsDef("VT"));
  736       VT = getValueType(TyEl->getValueAsDef("VT"));
utils/TableGen/DAGISelMatcherGen.cpp
  708       Def = Def->getValueAsDef("RegClass");
utils/TableGen/DFAEmitter.cpp
  341       Actions.emplace_back(R->getValueAsDef(A), 0, "");
utils/TableGen/DFAPacketizerEmitter.cpp
  266       Record *ComboFunc = FuncData->getValueAsDef("TheComboFunc");
  305   LLVM_DEBUG(dbgs() << "    " << ItinData->getValueAsDef("TheClass")->getName()
utils/TableGen/ExegesisEmitter.cpp
   88     AddPfmCounterName(Def->getValueAsDef("CycleCounter"));
   89     AddPfmCounterName(Def->getValueAsDef("UopsCounter"));
  111       Def.getValueAsDef("CycleCounter")->getValueAsString("Counter");
  113       Def.getValueAsDef("UopsCounter")->getValueAsString("Counter");
  195        << " &" << Target << Binding->getValueAsDef("Counters")->getName() //
utils/TableGen/FastISelEmitter.cpp
  266         OpLeafRec = OpLeafRec->getValueAsDef("RegClass");
  494         Op0Rec = Op0Rec->getValueAsDef("RegClass");
utils/TableGen/FixedLenDecoderEmitter.cpp
 1782     Record = Record->getValueAsDef("RegClass");
 1953         TypeRecord = TypeRecord->getValueAsDef("RegClass");
 2436         &Target.getInstruction(NumberedAlias->getValueAsDef("AliasOf")));
utils/TableGen/GlobalISelEmitter.cpp
  377       return VDefInit->getDef()->getValueAsDef("RegClass");
 3400     NodeEquivs[Equiv->getValueAsDef("Node")] = Equiv;
 3404     Record *SelDAGEquiv = Equiv->getValueAsDef("SelDAGEquivalent");
 3412    Record *SelDAGEquiv = Equiv->getValueAsDef("SelDAGEquivalent");
 3429       return &Target.getInstruction(Equiv.getValueAsDef("IfFloatingPoint"));
 3436       return &Target.getInstruction(Equiv.getValueAsDef("IfSignExtend"));
 3439       return &Target.getInstruction(Equiv.getValueAsDef("IfZeroExtend"));
 3442   return &Target.getInstruction(Equiv.getValueAsDef("I"));
 4040             DstChild->getName(), ChildRec->getValueAsDef("GIZeroRegister"));
 4463     DstIOpRec = DstIOpRec->getValueAsDef("RegClass");
 4678       DstIOpRec = DstIOpRec->getValueAsDef("RegClass");
utils/TableGen/InstrInfoEmitter.cpp
  141         OpR = OpR->getValueAsDef("RegClass");
  469     PE.expandStatement(OS, Rec->getValueAsDef("Body"));
  502     PE.expandStatement(OS, Rec->getValueAsDef("Body"));
utils/TableGen/IntrinsicEmitter.cpp
  282       MVT::SimpleValueType VT = getValueType(R->getValueAsDef("ElTy"));
  310   MVT::SimpleValueType VT = getValueType(R->getValueAsDef("VT"));
  345     return EncodeFixedType(R->getValueAsDef("ElTy"), ArgCodes, NextArgCode, Sig,
  385   switch (getValueType(R->getValueAsDef("VT"))) {
  388     UpdateArgCodes(R->getValueAsDef("ElTy"), ArgCodes, NumInserted, Mapping);
utils/TableGen/OptParserEmitter.cpp
   50   bool ASent = A->getValueAsDef("Kind")->getValueAsBit("Sentinel");
   51   bool BSent = B->getValueAsDef("Kind")->getValueAsBit("Sentinel");
   78   int APrec = A->getValueAsDef("Kind")->getValueAsInt("Precedence");
   79   int BPrec = B->getValueAsDef("Kind")->getValueAsInt("Precedence");
  224     OS << ", " << R.getValueAsDef("Kind")->getValueAsString("Name");
utils/TableGen/PredicateExpander.cpp
  239   expandStatement(OS, Rec->getValueAsDef("CaseStmt"));
  275                                 Rec->getValueAsDef("DefaultCase"));
  280     expandReturnStatement(OS, Rec->getValueAsDef("Pred"));
  303     expandPredicate(OS, Rec->getValueAsDef("Pred"));
  316                                  Rec->getValueAsDef("Reg"),
utils/TableGen/SearchableTableEmitter.cpp
  199     Record *EnumEntry = Rec->getValueAsDef(Index.Fields[0].Name);
  706     Record *TableRec = IndexRec->getValueAsDef("Table");
utils/TableGen/SubtargetEmitter.cpp
  729     const Record *Queue = ProcModel.LoadQueue->getValueAsDef("QueueDescriptor");
  740         ProcModel.StoreQueue->getValueAsDef("QueueDescriptor");
  803             SchedModels.findProcResUnits(PRDef->getValueAsDef("Super"),
  841       SchedModels.getSchedRW(A->getValueAsDef("AliasRW"));
  843       Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel");
  861     if (AliasDef == WR->getValueAsDef("WriteType")
  862         || SchedWrite.TheDef == WR->getValueAsDef("WriteType")) {
  893       SchedModels.getSchedRW(A->getValueAsDef("AliasRW"));
  895       Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel");
  913     if (AliasDef == RA->getValueAsDef("ReadType")
  914         || SchedRead.TheDef == RA->getValueAsDef("ReadType")) {
  955             SchedModels.findProcResUnits(SubDef->getValueAsDef("Super"), PM,
 1033         Record *RWModelDef = RW->getValueAsDef("SchedModel");
 1453            Rec->getValueAsDef("Pred")->isSubClassOf("MCTrue");
 1482         PE.expandPredicate(SS, Rec->getValueAsDef("Pred"));
utils/TableGen/X86EVEX2VEXTablesEmitter.cpp
  100     if (RecV->getValueAsDef("OpEnc")->getName().str() != "EncVEX" ||
  103         RecV->getValueAsDef("OpPrefix") != RecE->getValueAsDef("OpPrefix") ||
  103         RecV->getValueAsDef("OpPrefix") != RecE->getValueAsDef("OpPrefix") ||
  104         RecV->getValueAsDef("OpMap") != RecE->getValueAsDef("OpMap") ||
  104         RecV->getValueAsDef("OpMap") != RecE->getValueAsDef("OpMap") ||
  113         RecV->getValueAsDef("Form") != RecE->getValueAsDef("Form"))
  113         RecV->getValueAsDef("Form") != RecE->getValueAsDef("Form"))
  135         if (OpRec1->getValueAsDef("Type") != OpRec2->getValueAsDef("Type")) {
  135         if (OpRec1->getValueAsDef("Type") != OpRec2->getValueAsDef("Type")) {
  165       return RegRec->getValueAsDef("RegClass")->getValueAsInt("Alignment");
  184     if (Inst->TheDef->getValueAsDef("OpEnc")->getName() == "EncVEX") {
  190     else if (Inst->TheDef->getValueAsDef("OpEnc")->getName() == "EncEVEX" &&
utils/TableGen/X86FoldTablesEmitter.cpp
  220     RegRec = RegRec->getValueAsDef("RegClass");
  237         MemRec->getValueAsDef("ParserMatchClass")->getValueAsString("Name");
  325     if (RegRec->getValueAsDef("OpEnc") != MemRec->getValueAsDef("OpEnc") ||
  325     if (RegRec->getValueAsDef("OpEnc") != MemRec->getValueAsDef("OpEnc") ||
  329         RegRec->getValueAsDef("OpPrefix") !=
  330             MemRec->getValueAsDef("OpPrefix") ||
  331         RegRec->getValueAsDef("OpMap") != MemRec->getValueAsDef("OpMap") ||
  331         RegRec->getValueAsDef("OpMap") != MemRec->getValueAsDef("OpMap") ||
  332         RegRec->getValueAsDef("OpSize") != MemRec->getValueAsDef("OpSize") ||
  332         RegRec->getValueAsDef("OpSize") != MemRec->getValueAsDef("OpSize") ||
  333         RegRec->getValueAsDef("AdSize") != MemRec->getValueAsDef("AdSize") ||
  333         RegRec->getValueAsDef("AdSize") != MemRec->getValueAsDef("AdSize") ||
  404         if (MemOpRec->getValueAsDef("Type") != RegOpRec->getValueAsDef("Type"))
  404         if (MemOpRec->getValueAsDef("Type") != RegOpRec->getValueAsDef("Type"))