Home
last modified time | relevance | path

Searched refs:getValueAsDef (Results 1 – 25 of 45) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangOpenCLBuiltinEmitter.cpp470 T->getValueAsDef("VectorList")->getValueAsListOfInts("List").size(); in VerifySignature()
483 T->getValueAsDef("TypeList")->getValueAsListOfDefs("List").size(); in VerifySignature()
630 StringRef ExtName = Overload.first->getValueAsDef("Extension")->getName(); in EmitBuiltinTable()
632 Overload.first->getValueAsDef("MinVersion")->getValueAsInt("ID"); in EmitBuiltinTable()
634 Overload.first->getValueAsDef("MaxVersion")->getValueAsInt("ID"); in EmitBuiltinTable()
663 Rec->getValueAsDef("MinVersion")->getValueAsInt("ID") == in CanReuseSignature()
664 Rec2->getValueAsDef("MinVersion")->getValueAsInt("ID") && in CanReuseSignature()
665 Rec->getValueAsDef("MaxVersion")->getValueAsInt("ID") == in CanReuseSignature()
666 Rec2->getValueAsDef("MaxVersion")->getValueAsInt("ID") && in CanReuseSignature()
667 Rec->getValueAsDef("Extension")->getName() == in CanReuseSignature()
[all …]
H A DASTTableGen.h284 return get()->getValueAsDef(ArrayElementTypeFieldName); in getArrayElementType()
291 return get()->getValueAsDef(OptionalElementTypeFieldName); in getOptionalElementType()
298 return get()->getValueAsDef(SubclassBaseTypeFieldName); in getSuperclassType()
338 return get()->getValueAsDef(TypeFieldName); in getParentType()
343 return get()->getValueAsDef(KindTypeFieldName); in getKindType()
373 return get()->getValueAsDef(TypeFieldName); in getParentType()
393 return get()->getValueAsDef(TypeFieldName); in getType()
398 return get()->getValueAsDef(ClassFieldName); in getClass()
426 return get()->getValueAsDef(ClassFieldName); in getClass()
446 return get()->getValueAsDef(ClassFieldName); in getClass()
[all …]
H A DClangOptionDocEmitter.cpp247 getSeparatorsForKind(Option->getValueAsDef("Kind")); in emitOptionWithArgs()
260 unsigned NumArgs = getNumArgsForKind(Option->getValueAsDef("Kind"), Option); in emitOptionName()
290 const Record *Alias = Option->getValueAsDef("Alias"); in emitOptionName()
322 if (Option.Option->getValueAsDef("Kind")->getName() == "KIND_UNKNOWN" || in emitOption()
323 Option.Option->getValueAsDef("Kind")->getName() == "KIND_INPUT") in emitOption()
H A DClangSyntaxEmitter.cpp115 *this = SyntaxConstraint(*R.getValueAsDef("inner")); in SyntaxConstraint()
222 SyntaxConstraint Constraint(*C->getValueAsDef("syntax")); in EmitClangSyntaxNodeClasses()
H A DClangDiagnosticsEmitter.cpp160 assert(R->getValueAsDef("Class")->getName() != "CLASS_NOTE" && in groupDiagnostics()
296 return Diag->getValueAsDef("Class")->getName() == "CLASS_EXTENSION"; in isExtension()
300 return Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name") == in isOffByDefault()
1329 return Diag.getValueAsDef("Class")->getName() == "CLASS_ERROR"; in isError()
1333 return Diag.getValueAsDef("Class")->getName() == "CLASS_REMARK"; in isRemark()
1736 OS << R.getValueAsDef("Class")->getName(); in EmitClangDiagsDefs()
1738 << R.getValueAsDef("DefaultSeverity")->getValueAsString("Name"); in EmitClangDiagsDefs()
1759 OS << ", " << R.getValueAsDef("SFINAE")->getName(); in EmitClangDiagsDefs()
2101 Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name")); in getDefaultSeverity()
H A DClangAttrEmitter.cpp1482 Arg, Attr, (Arg.getValueAsDef("Kind")->getName() + "Decl *").str()); in createArgument()
1856 auto *LAPK = Attr->getValueAsDef(LateParsedStr); in getLateAttrParseKind()
2076 *Subject.getValueAsDef("Base")); in isSupportedPragmaClangAttributeSubject()
2122 const Record *SubjectDecl = Aggregate->getValueAsDef("Subject"); in PragmaClangAttributeSupport()
2208 const Record *SubjectObj = Attribute.getValueAsDef("Subjects"); in isAttributedSupported()
2260 const Record *SubjectObj = Attr.getValueAsDef("Subjects"); in generateStrictConformsTo()
2401 const Record *T = Attr.getValueAsDef("Target"); in generateFlattenedSpellingInfo()
3716 const Record *R = Attr->getValueAsDef("Target"); in GenerateHasAttrSpellingStringSwitch()
3726 const Record *Target = TargetSpelling->getValueAsDef("Target"); in GenerateHasAttrSpellingStringSwitch()
4279 const Record *Base = Subject.getValueAsDef(BaseFieldName); in GenerateCustomAppertainsTo()
[all …]
H A DMveEmitter.cpp1075 R = R->getValueAsDef("type"); in getType()
1077 R = R->getValueAsDef("underlying_type"); in getType()
1336 : ReturnType(ME.getType(R->getValueAsDef("ret"), Param)) { in ACLEIntrinsic()
1353 const Record *PolymorphicNameType = R->getValueAsDef("pnt"); in ACLEIntrinsic()
1404 const Record *Bounds = TypeRec->getValueAsDef("bounds"); in ACLEIntrinsic()
1420 const Type *T = ME.getType(Bounds->getValueAsDef("type"), Param); in ACLEIntrinsic()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenSchedule.cpp311 const Record *Pred = EC->getValueAsDef("Predicate"); in processSTIPredicate()
339 const Record *SchedModel = Def->getValueAsDef("SchedModel"); in processSTIPredicate()
351 const Record *Pred = EC->getValueAsDef("Predicate"); in processSTIPredicate()
412 const Record *Decl = R->getValueAsDef("Declaration"); in collectSTIPredicates()
465 CodeGenProcModel &PM = getProcModel(RCU->getValueAsDef("SchedModel")); in collectRetireControlUnits()
478 CodeGenProcModel &PM = getProcModel(Queue->getValueAsDef("SchedModel")); in collectLoadStoreQueueInfo()
547 const Record *ItinsDef = ModelKey->getValueAsDef("Itineraries"); in addProcModel()
554 ProcDef->getValueAsDef("SchedModel"), ModelKey); in addProcModel()
635 const Record *MatchDef = ADef->getValueAsDef("MatchRW"); in collectSchedRW()
636 const Record *AliasDef = ADef->getValueAsDef("AliasRW"); in collectSchedRW()
[all …]
H A DOptEmitter.cpp21 const Record *AKind = A->getValueAsDef("Kind"); in IsOptionRecordsLess()
22 const Record *BKind = B->getValueAsDef("Kind"); in IsOptionRecordsLess()
H A DPredicateExpander.cpp267 expandStatement(OS, Rec->getValueAsDef("CaseStmt")); in expandOpcodeSwitchCase()
296 Rec->getValueAsDef("DefaultCase")); in expandStatement()
301 expandReturnStatement(OS, Rec->getValueAsDef("Pred")); in expandStatement()
324 expandPredicate(OS, Rec->getValueAsDef("Pred")); in expandPredicate()
340 Rec->getValueAsDef("Reg"), in expandPredicate()
H A DCodeGenInstAlias.cpp50 InstOpRec = InstOpRec->getValueAsDef("RegClass"); in tryAliasOpMatch()
53 ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit(); in tryAliasOpMatch()
225 InstOpRec->getValueAsDef("ParserMatchClass") in CodeGenInstAlias()
H A DCodeGenSchedule.h422 return FunctionDeclaration->getValueAsDef("DefaultReturnValue"); in getDefaultReturnPredicate()
471 const Record *ModelDef = ProcDef->getValueAsDef("SchedModel"); in getModelOrItinDef()
472 const Record *ItinsDef = ProcDef->getValueAsDef("ProcItin"); in getModelOrItinDef()
H A DCodeGenTarget.cpp109 return TargetRec->getValueAsDef("InstructionSet"); in getInstructionSet()
344 Ty = R->getValueAsDef("Ty"); in ComplexPattern()
H A DCodeGenDAGPatterns.cpp1270 return R->getValueAsDef("MemoryVT"); in getMemoryVT()
1291 return R->getValueAsDef("ScalarMemoryVT"); in getScalarMemoryVT()
1559 VVT = getValueTypeByHwMode(R->getValueAsDef("VT"), CGH); in SDTypeConstraint()
1588 VVT = getValueTypeByHwMode(R->getValueAsDef("VT"), CGH); in SDTypeConstraint()
1804 const Record *R = Operand->getValueAsDef("Type"); in UpdateNodeTypeFromInst()
1819 RC = Operand->getValueAsDef("RegClass"); in UpdateNodeTypeFromInst()
1875 const Record *TypeProfile = R->getValueAsDef("TypeProfile"); in SDNodeInfo()
2306 const Record *RegClass = R->getValueAsDef("RegClass"); in getImplicitType()
2395 const Record *T = R->getValueAsDef("Type"); in getImplicitType()
2582 i, getValueType(Int->IS.RetTys[i]->getValueAsDef("VT")), TP); in ApplyTypeConstraints()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DExegesisEmitter.cpp90 AddPfmCounterName(Def->getValueAsDef("CycleCounter")); in collectPfmCounters()
91 AddPfmCounterName(Def->getValueAsDef("UopsCounter")); in collectPfmCounters()
124 Def.getValueAsDef("CycleCounter")->getValueAsString("Counter"); in emitPfmCountersInfo()
126 Def.getValueAsDef("UopsCounter")->getValueAsString("Counter"); in emitPfmCountersInfo()
139 {ValidationCounter->getValueAsDef("EventType") in emitPfmCountersInfo()
141 ValidationCounter->getValueAsDef("EventType")->getName(), in emitPfmCountersInfo()
240 << " &" << Target << Binding->getValueAsDef("Counters")->getName() // in emitPfmCountersLookupTable()
H A DDXILEmitter.cpp75 RecA->getValueAsDef("dxil_version")->getValueAsInt("Major"); in ascendingSortByVersion()
77 RecA->getValueAsDef("dxil_version")->getValueAsInt("Minor"); in ascendingSortByVersion()
79 RecB->getValueAsDef("dxil_version")->getValueAsInt("Major"); in ascendingSortByVersion()
81 RecB->getValueAsDef("dxil_version")->getValueAsInt("Minor"); in ascendingSortByVersion()
114 ParamTypeRecs.push_back(R->getValueAsDef("result")); in DXILOperationDesc()
173 OpClass = R->getValueAsDef("OpClass")->getName(); in DXILOperationDesc()
243 Rec->getValueAsDef("dxil_version")->getValueAsInt("Major"); in getOverloadMaskString()
245 Rec->getValueAsDef("dxil_version")->getValueAsInt("Minor"); in getOverloadMaskString()
288 unsigned Major = Rec->getValueAsDef("dxil_version")->getValueAsInt("Major"); in getStageMaskString()
289 unsigned Minor = Rec->getValueAsDef("dxil_version")->getValueAsInt("Minor"); in getStageMaskString()
[all …]
H A DCallingConvEmitter.cpp222 emitAction(Action->getValueAsDef("SubAction"), Indent + 2, O); in emitAction()
228 const Record *CC = Action->getValueAsDef("CC"); in emitAction()
282 const Record *DestTy = Action->getValueAsDef("DestTy"); in emitAction()
296 const Record *DestTy = Action->getValueAsDef("DestTy"); in emitAction()
312 const Record *DestTy = Action->getValueAsDef("DestTy"); in emitAction()
316 const Record *DestTy = Action->getValueAsDef("DestTy"); in emitAction()
320 const Record *DestTy = Action->getValueAsDef("DestTy"); in emitAction()
H A DMacroFusionPredicatorEmitter.cpp129 const Record *Target = Predicate->getValueAsDef("Target"); in emitPredicates()
194 PE.expandPredicate(OS, Predicate->getValueAsDef("Predicate")); in emitFirstPredicate()
215 PE.expandPredicate(OS, Predicate->getValueAsDef("Predicate")); in emitSecondPredicate()
H A DX86EVEX2VEXTablesEmitter.cpp
H A DSubtargetEmitter.cpp764 const Record *Queue = ProcModel.LoadQueue->getValueAsDef("QueueDescriptor"); in emitLoadStoreQueueInfo()
773 ProcModel.StoreQueue->getValueAsDef("QueueDescriptor"); in emitLoadStoreQueueInfo()
831 SuperDef = SchedModels.findProcResUnits(PRDef->getValueAsDef("Super"), in emitProcessorResources()
870 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in findWriteResources()
872 const Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in findWriteResources()
929 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in findReadAdvance()
931 const Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in findReadAdvance()
998 SubDef->getValueAsDef("Super"), PM, SubDef->getLoc()); in expandProcResources()
1073 const Record *RWModelDef = RW->getValueAsDef("SchedModel"); in genSchedClassTables()
1548 Rec->getValueAsDef("Pred")->isSubClassOf("MCTrue"); in isTruePredicate()
[all …]
H A DGlobalISelEmitter.cpp275 return VDefInit->getDef()->getValueAsDef("RegClass"); in getInitValueAsRegClass()
510 NodeEquivs[Equiv->getValueAsDef("Node")] = Equiv; in gatherNodeEquivs()
515 const Record *SelDAGEquiv = Equiv->getValueAsDef("SelDAGEquivalent"); in gatherNodeEquivs()
524 const Record *SelDAGEquiv = Equiv->getValueAsDef("SelDAGEquivalent"); in gatherNodeEquivs()
542 return &Target.getInstruction(Equiv.getValueAsDef("IfFloatingPoint")); in getEquivNode()
547 return &Target.getInstruction(Equiv.getValueAsDef("IfConvergent")); in getEquivNode()
554 return &Target.getInstruction(Equiv.getValueAsDef("IfSignExtend")); in getEquivNode()
558 return &Target.getInstruction(Equiv.getValueAsDef("IfZeroExtend")); in getEquivNode()
561 return &Target.getInstruction(Equiv.getValueAsDef("I")); in getEquivNode()
1281 NodeName, R->getValueAsDef("GIZeroRegister")); in importNamedNodeRenderer()
[all …]
H A DX86InstrMappingEmitter.cpp153 if (OldOpRec->getValueAsDef("Type") != NewOpRec->getValueAsDef("Type")) in operator ()()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DVTEmitter.cpp48 auto OutputVT = IsVector ? VT->getValueAsDef("ElementType") : VT; in vTtoGetLlvmTyString()
138 StringRef EltName = IsVector ? VT->getValueAsDef("ElementType")->getName() in run()
186 const auto *ElTy = VT->getValueAsDef("ElementType"); in run()
H A DRuntimeLibcallsEmitter.cpp145 if (const Record *ProvidesDef = Def->getValueAsDef("Provides")) in RuntimeLibcallImpl()
376 AvailabilityPredicate TopLevelPredicate(R->getValueAsDef("TriplePred")); in emitSystemRuntimeLibrarySetCalls()
382 R->getValueAsDef("DefaultLibcallCallingConv")) { in emitSystemRuntimeLibrarySetCalls()
403 Sets.expand(R->getValueAsDef("MemberList")); in emitSystemRuntimeLibrarySetCalls()
563 AvailabilityPredicate AP(Def->getValueAsDef("AvailabilityPredicate")); in expand()
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DDirectiveEmitter.h257 return Def->getValueAsDef("association"); in getAssociation()
260 const Record *getCategory() const { return Def->getValueAsDef("category"); } in getCategory()
357 Clause getClause() const { return Clause(Def->getValueAsDef("clause")); } in getClause()

12