| /llvm-project-15.0.7/mlir/lib/TableGen/ |
| H A D | Attribute.cpp | 59 const auto *init = def->getValueInit("storageType"); in getStorageType() 67 const auto *init = def->getValueInit("returnType"); in getReturnType() 74 if (auto *defInit = dyn_cast<llvm::DefInit>(def->getValueInit("valueType"))) in getValueType() 80 const auto *init = def->getValueInit("convertFromStorage"); in getConvertFromStorageCall() 85 const auto *init = def->getValueInit("constBuilderCall"); in isConstBuildable() 90 const auto *init = def->getValueInit("constBuilderCall"); in getConstBuilderTemplate() 96 llvm::dyn_cast<llvm::DefInit>(def->getValueInit("baseAttr"))) { in getBaseAttr() 103 const auto *init = def->getValueInit("defaultValue"); in hasDefaultValue() 108 const auto *init = def->getValueInit("defaultValue"); in getDefaultValue()
|
| H A D | SideEffects.cpp | 48 auto *listInit = dyn_cast<llvm::ListInit>(def->getValueInit("effects")); in getEffects()
|
| H A D | Trait.cpp | 70 auto pred = Pred(def->getValueInit("predicate")); in getPredTemplate()
|
| H A D | Dialect.cpp | 41 if (auto *valueInit = record.getValueInit(fieldName)) { in getAsStringOrEmpty()
|
| H A D | Interfaces.cpp | 77 auto *listInit = dyn_cast<llvm::ListInit>(def->getValueInit("methods")); in Interface()
|
| H A D | Operator.cpp | 631 dyn_cast_or_null<llvm::ListInit>(def.getValueInit("builders")); in populateOpStructure() 666 auto *valueInit = def.getValueInit("assemblyFormat"); in hasAssemblyFormat() 671 return TypeSwitch<llvm::Init *, StringRef>(def.getValueInit("assemblyFormat")) in getAssemblyFormat()
|
| H A D | AttrOrTypeDef.cpp | 39 dyn_cast_or_null<llvm::ListInit>(def->getValueInit("builders")); in AttrOrTypeDef()
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | OptParserEmitter.cpp | 24 if (isa<UnsetInit>(R.getValueInit("EnumName"))) in getOptionName() 160 assert(!isa<UnsetInit>(R.getValueInit("KeyPath")) && in createMarshallingInfo() 161 !isa<UnsetInit>(R.getValueInit("DefaultValue")) && in createMarshallingInfo() 162 !isa<UnsetInit>(R.getValueInit("ValueMerger")) && in createMarshallingInfo() 184 assert(!isa<UnsetInit>(R.getValueInit("Values")) && in createMarshallingInfo() 290 if (!isa<UnsetInit>(R.getValueInit("HelpText"))) { in EmitOptParser() 371 if (!isa<UnsetInit>(R.getValueInit("HelpText"))) { in EmitOptParser() 380 if (!isa<UnsetInit>(R.getValueInit("MetaVarName"))) in EmitOptParser() 387 if (!isa<UnsetInit>(R.getValueInit("Values"))) in EmitOptParser() 394 return !isa<UnsetInit>(R.getValueInit("KeyPath")) && in EmitOptParser() [all …]
|
| H A D | OptRSTEmitter.cpp | 38 if (const DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) { in EmitOptRST() 65 if (!isa<UnsetInit>(R->getValueInit("MetaVarName"))) { in EmitOptRST() 67 } else if (!isa<UnsetInit>(R->getValueInit("Values"))) in EmitOptRST() 79 if (!isa<UnsetInit>(R->getValueInit("HelpText"))) { in EmitOptRST() 85 if (!isa<UnsetInit>(R->getValueInit("Values"))) { in EmitOptRST()
|
| H A D | SearchableTableEmitter.cpp | 39 return getAsInt(R->getValueInit(Field)); in getInt() 223 Init *LHSI = LHS->getValueInit(Field.Name); in compareBy() 224 Init *RHSI = RHS->getValueInit(Field.Name); in compareBy() 352 Index.Loc, Field, Entry.first->getValueInit(Field.Name)); in emitLookupFunction() 396 Index.Loc, Field, IndexRows[0]->getValueInit(Field.Name)); in emitLookupFunction() 398 Index.Loc, Field, IndexRows.back()->getValueInit(Field.Name)); in emitLookupFunction() 510 Entry->getValueInit(Field.Name)); in emitGenericTable() 612 auto TI = dyn_cast<TypedInit>(EntryRec->getValueInit(Field.Name)); in collectTableEntries()
|
| H A D | CodeGenSchedule.cpp | 808 if (Rec->getValueInit("SchedModel")->isComplete()) { in expandRWSeqForProc() 1204 if (!RWDef->getValueInit("SchedModel")->isComplete()) in collectProcItinRW() 1440 if (SchedRW.TheDef->getValueInit("SchedModel")->isComplete()) { in getIntersectingVariants() 1459 if ((*AI)->getValueInit("SchedModel")->isComplete()) { in getIntersectingVariants() 1925 if (SRA->getValueInit("SchedModel")->isComplete()) { in collectProcResources() 1934 if (!PRG->getValueInit("SchedModel")->isComplete()) in collectProcResources() 1942 if (!PRU->getValueInit("SchedModel")->isComplete()) in collectProcResources() 2075 if (Alias->getValueInit("SchedModel")->isComplete()) { in collectRWResources() 2158 if (!ProcResUnits->getValueInit("Super")->isComplete()) in addProcResource()
|
| H A D | AsmMatcherEmitter.cpp | 1318 Init *DiagnosticType = Def->getValueInit("DiagnosticType"); in buildRegisterClasses() 1322 Init *DiagnosticString = Def->getValueInit("DiagnosticString"); in buildRegisterClasses() 1386 Init *PMName = Rec->getValueInit("PredicateMethod"); in buildOperandClasses() 1395 Init *RMName = Rec->getValueInit("RenderMethod"); in buildOperandClasses() 1404 Init *PRMName = Rec->getValueInit("ParserMethod"); in buildOperandClasses() 1409 Init *DiagnosticType = Rec->getValueInit("DiagnosticType"); in buildOperandClasses() 1412 Init *DiagnosticString = Rec->getValueInit("DiagnosticString"); in buildOperandClasses() 1420 Init *IsOptional = Rec->getValueInit("IsOptional"); in buildOperandClasses() 1425 Init *DMName = Rec->getValueInit("DefaultMethod"); in buildOperandClasses()
|
| H A D | SubtargetEmitter.cpp | 834 if (PRDef->getValueInit("Super")->isComplete()) { in EmitProcessorResources() 875 if (AliasRW.TheDef->getValueInit("SchedModel")->isComplete()) { in FindWriteResources() 927 if (AliasRW.TheDef->getValueInit("SchedModel")->isComplete()) { in FindReadAdvance() 981 SubDef->getValueInit("Super")->isComplete();) { in ExpandProcResources()
|
| H A D | CodeGenInstruction.cpp | 650 if (InstOpRec->getValueInit("Type") != ADI->getDef()->getValueInit("Type")) in tryAliasOpMatch()
|
| H A D | CodeEmitterGen.cpp | 395 return R->getValue("Inst") && isa<DagInit>(R->getValueInit("Inst")); in run()
|
| H A D | RegisterInfoEmitter.cpp | 1610 dyn_cast<DagInit>(CSRSet->getValueInit("OtherPreserved"))) { in runTargetDesc()
|
| H A D | CodeGenDAGPatterns.cpp | 3968 if (isa<ListInit>(Instr->getValueInit("Pattern"))) in ParseInstructions()
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | ClangOptionDocEmitter.cpp | 59 auto *G = dyn_cast<DefInit>(R->getValueInit("Group")); in extractDocumentation() 72 if (auto *G = dyn_cast<DefInit>(R->getValueInit("Group"))) in extractDocumentation() 78 if (auto *A = dyn_cast<DefInit>(R->getValueInit("Alias"))) { in extractDocumentation() 97 if (auto *G = dyn_cast<DefInit>(R->getValueInit("Group"))) in extractDocumentation() 375 if (!isa<UnsetInit>(R->getValueInit("Values"))) { in emitOption() 380 if (!isa<UnsetInit>(R->getValueInit("MetaVarName"))) in emitOption()
|
| H A D | ClangSACheckersEmitter.cpp | 32 if (DefInit *DI = dyn_cast<DefInit>(R->getValueInit("ParentPackage"))) in getParentPackageFullName() 56 if (StringInit *SI = dyn_cast<StringInit>(R.getValueInit(field))) in getStringValue() 134 if (DefInit *DI = dyn_cast<DefInit>(R->getValueInit("ParentPackage"))) in isHidden()
|
| H A D | ClangDiagnosticsEmitter.cpp | 84 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) { in getDiagnosticCategory() 162 DefInit *DI = dyn_cast<DefInit>(R->getValueInit("Group")); in groupDiagnostics() 206 if (cast<DefInit>(Diag->getValueInit("Group"))->getDef() == Def) { in groupDiagnostics() 226 if (!cast<DefInit>(Diag->getValueInit("Group"))->getDef()->isAnonymous()) in groupDiagnostics() 364 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) { in compute() 383 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) in compute() 1254 if (DefInit *Group = dyn_cast<DefInit>(R.getValueInit("Group"))) { in EmitClangDiagsDefs() 1265 if (!isa<DefInit>(R.getValueInit("Group"))) { in EmitClangDiagsDefs() 1286 if (DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) { in EmitClangDiagsDefs()
|
| /llvm-project-15.0.7/llvm/lib/TableGen/ |
| H A D | SetTheory.cpp | 246 ST.evaluate(Def->getValueInit(FieldName), Elts, Def->getLoc()); in expand()
|
| H A D | Record.cpp | 2599 Init *Record::getValueInit(StringRef FieldName) const { in getValueInit() function in Record
|
| /llvm-project-15.0.7/llvm/include/llvm/TableGen/ |
| H A D | Record.h | 1775 Init *getValueInit(StringRef FieldName) const; 1779 return isa<UnsetInit>(getValueInit(FieldName)); in isValueUnset()
|
| /llvm-project-15.0.7/llvm/docs/TableGen/ |
| H A D | BackGuide.rst | 592 ``getValueInit``, returns the value as an ``Init *``. Another function,
|
| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | OpDefinitionsGen.cpp | 178 auto *valueInit = record.getValueInit(fieldName); in hasStringAttribute()
|