Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DOptParserEmitter.cpp24 if (isa<UnsetInit>(R.getValueInit("EnumName"))) in getOptionName()
143 assert(!isa<UnsetInit>(R.getValueInit("KeyPath")) && in createMarshallingInfo()
144 !isa<UnsetInit>(R.getValueInit("DefaultValue")) && in createMarshallingInfo()
145 !isa<UnsetInit>(R.getValueInit("ValueMerger")) && in createMarshallingInfo()
166 if (!isa<UnsetInit>(R.getValueInit("NormalizedValues"))) { in createMarshallingInfo()
167 assert(!isa<UnsetInit>(R.getValueInit("Values")) && in createMarshallingInfo()
324 if (!isa<UnsetInit>(R.getValueInit("ValuesCode"))) { in EmitOptParser()
325 assert(isa<UnsetInit>(R.getValueInit("Values")) && in EmitOptParser()
355 if (const DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) in EmitOptParser()
364 if (!isa<UnsetInit>(R.getValueInit("HelpText"))) { in EmitOptParser()
[all …]
H A DOptRSTEmitter.cpp38 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 DSearchableTableEmitter.cpp42 return getAsInt(R->getValueInit(Field)); in getInt()
239 Init *LHSI = LHS->getValueInit(Field.Name); in compareBy()
240 Init *RHSI = RHS->getValueInit(Field.Name); in compareBy()
368 Index.Loc, Field, Entry.first->getValueInit(Field.Name)); in emitLookupFunction()
401 Index.Loc, Field, IndexRows[0]->getValueInit(Field.Name)); in emitLookupFunction()
403 Index.Loc, Field, IndexRows.back()->getValueInit(Field.Name)); in emitLookupFunction()
423 Index.Loc, Field, IndexRows[0]->getValueInit(Field.Name)); in emitLookupFunction()
425 Index.Loc, Field, IndexRows.back()->getValueInit(Field.Name)); in emitLookupFunction()
563 Entry->getValueInit(Field.Name)); in emitGenericTable()
666 auto TI = dyn_cast<TypedInit>(EntryRec->getValueInit(Field.Name)); in collectTableEntries()
H A DAsmMatcherEmitter.cpp1351 Init *DiagnosticType = Def->getValueInit("DiagnosticType"); in buildRegisterClasses()
1355 Init *DiagnosticString = Def->getValueInit("DiagnosticString"); in buildRegisterClasses()
1419 Init *PMName = Rec->getValueInit("PredicateMethod"); in buildOperandClasses()
1428 Init *RMName = Rec->getValueInit("RenderMethod"); in buildOperandClasses()
1437 Init *PRMName = Rec->getValueInit("ParserMethod"); in buildOperandClasses()
1442 Init *DiagnosticType = Rec->getValueInit("DiagnosticType"); in buildOperandClasses()
1445 Init *DiagnosticString = Rec->getValueInit("DiagnosticString"); in buildOperandClasses()
1453 Init *IsOptional = Rec->getValueInit("IsOptional"); in buildOperandClasses()
1458 Init *DMName = Rec->getValueInit("DefaultMethod"); in buildOperandClasses()
H A DSubtargetEmitter.cpp854 if (PRDef->getValueInit("Super")->isComplete()) { in EmitProcessorResources()
895 if (AliasRW.TheDef->getValueInit("SchedModel")->isComplete()) { in FindWriteResources()
954 if (AliasRW.TheDef->getValueInit("SchedModel")->isComplete()) { in FindReadAdvance()
1015 SubDef->getValueInit("Super")->isComplete();) { in ExpandProcResources()
H A DRegisterInfoEmitter.cpp1691 dyn_cast<DagInit>(CSRSet->getValueInit("OtherPreserved"))) { in runTargetDesc()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangOptionDocEmitter.cpp48 if (const DefInit *DI = dyn_cast<DefInit>(Option->getValueInit("Group"))) in hasFlag()
86 auto *G = dyn_cast<DefInit>(R->getValueInit("Group")); in extractDocumentation()
99 if (auto *G = dyn_cast<DefInit>(R->getValueInit("Group"))) in extractDocumentation()
105 if (auto *A = dyn_cast<DefInit>(R->getValueInit("Alias"))) { in extractDocumentation()
124 if (auto *G = dyn_cast<DefInit>(R->getValueInit("Group"))) in extractDocumentation()
395 if (!isa<UnsetInit>(R->getValueInit("Values"))) { in emitOption()
400 if (!isa<UnsetInit>(R->getValueInit("MetaVarName"))) in emitOption()
H A DClangSACheckersEmitter.cpp32 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 DClangDiagnosticsEmitter.cpp84 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()
365 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) { in compute()
384 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) in compute()
1446 if (DefInit *Group = dyn_cast<DefInit>(R.getValueInit("Group"))) { in EmitClangDiagsDefs()
1457 if (!isa<DefInit>(R.getValueInit("Group"))) { in EmitClangDiagsDefs()
1481 if (DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) { in EmitClangDiagsDefs()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenInstAlias.cpp141 if (InstOpRec->getValueInit("Type") != ADI->getDef()->getValueInit("Type")) in tryAliasOpMatch()
H A DCodeGenSchedule.cpp806 if (Rec->getValueInit("SchedModel")->isComplete()) { in expandRWSeqForProc()
1200 if (!RWDef->getValueInit("SchedModel")->isComplete()) in collectProcItinRW()
1436 if (SchedRW.TheDef->getValueInit("SchedModel")->isComplete()) { in getIntersectingVariants()
1455 if ((*AI)->getValueInit("SchedModel")->isComplete()) { in getIntersectingVariants()
1920 if (SRA->getValueInit("SchedModel")->isComplete()) { in collectProcResources()
1929 if (!PRG->getValueInit("SchedModel")->isComplete()) in collectProcResources()
1937 if (!PRU->getValueInit("SchedModel")->isComplete()) in collectProcResources()
2073 if (Alias->getValueInit("SchedModel")->isComplete()) { in collectRWResources()
2155 if (!ProcResUnits->getValueInit("Super")->isComplete()) in addProcResource()
H A DCodeGenDAGPatterns.cpp3959 if (isa<ListInit>(Instr->getValueInit("Pattern"))) in ParseInstructions()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DSetTheory.cpp246 ST.evaluate(Def->getValueInit(FieldName), Elts, Def->getLoc()); in expand()
H A DRecord.cpp2938 Init *Record::getValueInit(StringRef FieldName) const { in getValueInit() function in Record
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h1888 Init *getValueInit(StringRef FieldName) const;
1892 return isa<UnsetInit>(getValueInit(FieldName)); in isValueUnset()