Home
last modified time | relevance | path

Searched refs:getValueInit (Results 1 – 25 of 41) sorted by relevance

12

/external/llvm-project/mlir/lib/TableGen/
DAttribute.cpp65 const auto *init = def->getValueInit("storageType"); in getStorageType()
73 const auto *init = def->getValueInit("returnType"); in getReturnType()
80 if (auto *defInit = dyn_cast<llvm::DefInit>(def->getValueInit("valueType"))) in getValueType()
86 const auto *init = def->getValueInit("convertFromStorage"); in getConvertFromStorageCall()
91 const auto *init = def->getValueInit("constBuilderCall"); in isConstBuildable()
96 const auto *init = def->getValueInit("constBuilderCall"); in getConstBuilderTemplate()
102 llvm::dyn_cast<llvm::DefInit>(def->getValueInit("baseAttr"))) { in getBaseAttr()
109 const auto *init = def->getValueInit("defaultValue"); in hasDefaultValue()
114 const auto *init = def->getValueInit("defaultValue"); in getDefaultValue()
250 auto init = def->getValueInit("type"); in getType()
DSideEffects.cpp48 auto *listInit = dyn_cast<llvm::ListInit>(def->getValueInit("effects")); in getEffects()
DOpTrait.cpp47 auto pred = Pred(def->getValueInit("predicate")); in getPredTemplate()
DDialect.cpp40 if (auto valueInit = record.getValueInit(fieldName)) { in getAsStringOrEmpty()
DInterfaces.cpp77 auto *listInit = dyn_cast<llvm::ListInit>(def->getValueInit("methods")); in Interface()
DOperator.cpp549 auto *valueInit = def.getValueInit("assemblyFormat"); in hasAssemblyFormat()
554 return TypeSwitch<llvm::Init *, StringRef>(def.getValueInit("assemblyFormat")) in getAssemblyFormat()
/external/llvm-project/llvm/utils/TableGen/
DOptParserEmitter.cpp25 if (isa<UnsetInit>(R.getValueInit("EnumName"))) in getOptionName()
154 assert(!isa<UnsetInit>(R.getValueInit("KeyPath")) && in createMarshallingInfo()
155 !isa<UnsetInit>(R.getValueInit("DefaultValue")) && in createMarshallingInfo()
156 !isa<UnsetInit>(R.getValueInit("ValueMerger")) && in createMarshallingInfo()
175 if (!isa<UnsetInit>(R.getValueInit("NormalizedValues"))) { in createMarshallingInfo()
176 assert(!isa<UnsetInit>(R.getValueInit("Values")) && in createMarshallingInfo()
279 if (const DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) in EmitOptParser()
288 if (!isa<UnsetInit>(R.getValueInit("HelpText"))) { in EmitOptParser()
323 if (const DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) { in EmitOptParser()
331 if (const DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Alias"))) in EmitOptParser()
[all …]
DOptRSTEmitter.cpp45 if (const DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) { in EmitOptRST()
71 if (!isa<UnsetInit>(R->getValueInit("MetaVarName"))) { in EmitOptRST()
79 if (!isa<UnsetInit>(R->getValueInit("HelpText"))) { in EmitOptRST()
DSearchableTableEmitter.cpp41 return getAsInt(R->getValueInit(Field)); in getInt()
225 Init *LHSI = LHS->getValueInit(Field.Name); in compareBy()
226 Init *RHSI = RHS->getValueInit(Field.Name); in compareBy()
359 Index.Loc, Field, Entry.first->getValueInit(Field.Name)); in emitLookupFunction()
403 Index.Loc, Field, IndexRows[0]->getValueInit(Field.Name)); in emitLookupFunction()
405 Index.Loc, Field, IndexRows.back()->getValueInit(Field.Name)); in emitLookupFunction()
529 Entry->getValueInit(Field.Name)); in emitGenericTable()
632 auto TI = dyn_cast<TypedInit>(EntryRec->getValueInit(Field.Name)); in collectTableEntries()
DCodeGenSchedule.cpp800 if (Rec->getValueInit("SchedModel")->isComplete()) { in expandRWSeqForProc()
1197 if (!RWDef->getValueInit("SchedModel")->isComplete()) in collectProcItinRW()
1434 if (SchedRW.TheDef->getValueInit("SchedModel")->isComplete()) { in getIntersectingVariants()
1453 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()
2079 if ((*AI)->getValueInit("SchedModel")->isComplete()) { in collectRWResources()
2164 if (!ProcResUnits->getValueInit("Super")->isComplete()) in addProcResource()
DAsmMatcherEmitter.cpp1311 Init *DiagnosticType = Def->getValueInit("DiagnosticType"); in buildRegisterClasses()
1315 Init *DiagnosticString = Def->getValueInit("DiagnosticString"); in buildRegisterClasses()
1380 Init *PMName = Rec->getValueInit("PredicateMethod"); in buildOperandClasses()
1389 Init *RMName = Rec->getValueInit("RenderMethod"); in buildOperandClasses()
1398 Init *PRMName = Rec->getValueInit("ParserMethod"); in buildOperandClasses()
1403 Init *DiagnosticType = Rec->getValueInit("DiagnosticType"); in buildOperandClasses()
1406 Init *DiagnosticString = Rec->getValueInit("DiagnosticString"); in buildOperandClasses()
1414 Init *IsOptional = Rec->getValueInit("IsOptional"); in buildOperandClasses()
1419 Init *DMName = Rec->getValueInit("DefaultMethod"); in buildOperandClasses()
DSubtargetEmitter.cpp804 if (PRDef->getValueInit("Super")->isComplete()) { in EmitProcessorResources()
845 if (AliasRW.TheDef->getValueInit("SchedModel")->isComplete()) { in FindWriteResources()
897 if (AliasRW.TheDef->getValueInit("SchedModel")->isComplete()) { in FindReadAdvance()
951 SubDef->getValueInit("Super")->isComplete();) { in ExpandProcResources()
DCodeGenInstruction.cpp654 if (InstOpRec->getValueInit("Type") != ADI->getDef()->getValueInit("Type")) in tryAliasOpMatch()
/external/llvm/utils/TableGen/
DOptParserEmitter.cpp91 if (isa<UnsetInit>(R.getValueInit("EnumName"))) in getOptionName()
180 if (const DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) in EmitOptParser()
189 if (!isa<UnsetInit>(R.getValueInit("HelpText"))) { in EmitOptParser()
225 if (const DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) { in EmitOptParser()
233 if (const DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Alias"))) in EmitOptParser()
272 if (!isa<UnsetInit>(R.getValueInit("HelpText"))) { in EmitOptParser()
281 if (!isa<UnsetInit>(R.getValueInit("MetaVarName"))) in EmitOptParser()
DSearchableTableEmitter.cpp140 OS << primaryRepresentation(Item->getValueInit(FieldNames[i])); in emitPrimaryTable()
262 Init *SearchVal = Item->getValueInit(SearchFieldNames[i]); in emitMapping()
DCodeGenSchedule.cpp429 if ((*AI)->getValueInit("SchedModel")->isComplete()) { in expandRWSeqForProc()
824 if (!(*II)->getValueInit("SchedModel")->isComplete()) in collectProcItinRW()
1066 if (SchedRW.TheDef->getValueInit("SchedModel")->isComplete()) { in getIntersectingVariants()
1083 if ((*AI)->getValueInit("SchedModel")->isComplete()) { in getIntersectingVariants()
1490 if ((*RAI)->getValueInit("SchedModel")->isComplete()) { in collectProcResources()
1500 if (!(*RI)->getValueInit("SchedModel")->isComplete()) in collectProcResources()
1641 if ((*AI)->getValueInit("SchedModel")->isComplete()) { in collectRWResources()
1732 if (!ProcResUnits->getValueInit("Super")->isComplete()) in addProcResource()
DSubtargetEmitter.cpp624 if (PRDef->getValueInit("Super")->isComplete()) { in EmitProcessorResources()
660 if (AliasRW.TheDef->getValueInit("SchedModel")->isComplete()) { in FindWriteResources()
712 if (AliasRW.TheDef->getValueInit("SchedModel")->isComplete()) { in FindReadAdvance()
767 SubDef->getValueInit("Super")->isComplete();) { in ExpandProcResources()
DCodeGenInstruction.cpp552 if (InstOpRec->getValueInit("Type") != ADI->getDef()->getValueInit("Type")) in tryAliasOpMatch()
DAsmMatcherEmitter.cpp1355 Init *PMName = Rec->getValueInit("PredicateMethod"); in buildOperandClasses()
1364 Init *RMName = Rec->getValueInit("RenderMethod"); in buildOperandClasses()
1373 Init *PRMName = Rec->getValueInit("ParserMethod"); in buildOperandClasses()
1379 Init *DiagnosticType = Rec->getValueInit("DiagnosticType"); in buildOperandClasses()
1383 Init *IsOptional = Rec->getValueInit("IsOptional"); in buildOperandClasses()
1388 Init *DMName = Rec->getValueInit("DefaultMethod"); in buildOperandClasses()
/external/clang/utils/TableGen/
DClangSACheckersEmitter.cpp32 if (DefInit *DI = dyn_cast<DefInit>(R.getValueInit("ParentPackage"))) in isHidden()
46 if (DefInit *DI = dyn_cast<DefInit>(R->getValueInit("ParentPackage"))) in getParentPackageFullName()
67 if (StringInit *SI = dyn_cast<StringInit>(R.getValueInit(field))) in getStringValue()
134 DI = dyn_cast<DefInit>(R->getValueInit("ParentPackage"))) in EmitClangSACheckers()
155 = dyn_cast<DefInit>(currR->getValueInit("ParentPackage"))) { in EmitClangSACheckers()
161 if (DefInit *DI = dyn_cast<DefInit>(R->getValueInit("Group"))) in EmitClangSACheckers()
168 if (DefInit *DI = dyn_cast<DefInit>(packages[i]->getValueInit("Group"))) in EmitClangSACheckers()
209 if (DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) in EmitClangSACheckers()
237 if (DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) in EmitClangSACheckers()
DClangDiagnosticsEmitter.cpp84 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) { in getDiagnosticCategory()
171 DefInit *DI = dyn_cast<DefInit>(R->getValueInit("Group")); in groupDiagnostics()
231 const DefInit *GroupInit = cast<DefInit>((*DI)->getValueInit("Group")); in groupDiagnostics()
262 const DefInit *GroupInit = cast<DefInit>((*DI)->getValueInit("Group")); in groupDiagnostics()
274 GroupInit = cast<DefInit>((*DI)->getValueInit("Group")); in groupDiagnostics()
403 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) { in compute()
422 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) in compute()
519 if (DefInit *Group = dyn_cast<DefInit>(R.getValueInit("Group"))) { in EmitClangDiagsDefs()
529 if (!isa<DefInit>(R.getValueInit("Group"))) { in EmitClangDiagsDefs()
550 if (DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) { in EmitClangDiagsDefs()
/external/llvm-project/clang/utils/TableGen/
DClangSACheckersEmitter.cpp31 if (DefInit *DI = dyn_cast<DefInit>(R->getValueInit("ParentPackage"))) in getParentPackageFullName()
55 if (StringInit *SI = dyn_cast<StringInit>(R.getValueInit(field))) in getStringValue()
135 if (DefInit *DI = dyn_cast<DefInit>(R->getValueInit("ParentPackage"))) in isHidden()
DClangOptionDocEmitter.cpp59 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()
DClangDiagnosticsEmitter.cpp84 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) { in getDiagnosticCategory()
167 DefInit *DI = dyn_cast<DefInit>(R->getValueInit("Group")); in groupDiagnostics()
231 const DefInit *GroupInit = cast<DefInit>((*DI)->getValueInit("Group")); in groupDiagnostics()
250 const DefInit *GroupInit = cast<DefInit>((*DI)->getValueInit("Group")); in groupDiagnostics()
389 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) { in compute()
408 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) in compute()
1237 if (DefInit *Group = dyn_cast<DefInit>(R.getValueInit("Group"))) { in EmitClangDiagsDefs()
1248 if (!isa<DefInit>(R.getValueInit("Group"))) { in EmitClangDiagsDefs()
1269 if (DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) { in EmitClangDiagsDefs()
/external/llvm-project/mlir/tools/mlir-tblgen/
DOpDefinitionsGen.cpp140 auto valueInit = record.getValueInit(fieldName); in hasStringAttribute()
1234 auto *listInit = dyn_cast_or_null<ListInit>(def.getValueInit("builders")); in genBuilder()
1812 auto valueInit = def.getValueInit("printer"); in genPrinter()
1832 auto *valueInit = def.getValueInit("verifier"); in genVerifier()

12