Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DClangOpenCLBuiltinEmitter.cpp668 Rec->getValueAsDef("MinVersion")->getValueAsInt("ID") == in CanReuseSignature()
669 Rec2->getValueAsDef("MinVersion")->getValueAsInt("ID") && in CanReuseSignature()
670 Rec->getValueAsDef("MaxVersion")->getValueAsInt("ID") == in CanReuseSignature()
671 Rec2->getValueAsDef("MaxVersion")->getValueAsInt("ID") && in CanReuseSignature()
672 Rec->getValueAsDef("Extension")->getName() == in CanReuseSignature()
673 Rec2->getValueAsDef("Extension")->getName()) { in CanReuseSignature()
849 << Image->getValueAsDef("QTExpr")->getValueAsString("TypeExpr") in EmitQualTypeFinder()
874 T->getValueAsDef("Extension")->getValueAsString("ExtName"); in EmitQualTypeFinder()
896 << GenType->getValueAsDef("VectorList")->getValueAsString("Name") in EmitQualTypeFinder()
918 auto QT = T->getValueAsDef("QTExpr"); in EmitQualTypeFinder()
[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()
425 return get()->getValueAsDef(ClassFieldName); in getClass()
445 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()
289 Record *Alias = Option->getValueAsDef("Alias"); in emitOptionName()
321 if (Option.Option->getValueAsDef("Kind")->getName() == "KIND_UNKNOWN" || in emitOption()
322 Option.Option->getValueAsDef("Kind")->getName() == "KIND_INPUT") in emitOption()
H A DClangSyntaxEmitter.cpp114 *this = SyntaxConstraint(*R.getValueAsDef("inner")); in SyntaxConstraint()
221 SyntaxConstraint Constraint(*C->getValueAsDef("syntax")); in EmitClangSyntaxNodeClasses()
H A DClangDiagnosticsEmitter.cpp165 assert(R->getValueAsDef("Class")->getName() != "CLASS_NOTE" && in groupDiagnostics()
316 std::string(Diag->getValueAsDef("Class")->getName()); in isExtension()
322 Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name")); in isOffByDefault()
1211 std::string(Diag.getValueAsDef("Class")->getName()); in isError()
1217 std::string(Diag.getValueAsDef("Class")->getName()); in isRemark()
1282 OS << R.getValueAsDef("Class")->getName(); in EmitClangDiagsDefs()
1284 << R.getValueAsDef("DefaultSeverity")->getValueAsString("Name"); in EmitClangDiagsDefs()
1307 OS << ", " << R.getValueAsDef("SFINAE")->getName(); in EmitClangDiagsDefs()
1689 Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name")); in getDefaultSeverity()
H A DClangAttrEmitter.cpp1989 *Subject.getValueAsDef("Base")); in isSupportedPragmaClangAttributeSubject()
2039 Record *SubjectDecl = Aggregate->getValueAsDef("Subject"); in PragmaClangAttributeSupport()
2113 const Record *SubjectObj = Attribute.getValueAsDef("Subjects"); in isAttributedSupported()
2166 const Record *SubjectObj = Attr.getValueAsDef("Subjects"); in generateStrictConformsTo()
3532 const Record *R = Attr->getValueAsDef("Target"); in GenerateHasAttrSpellingStringSwitch()
3997 Record *Base = Subject.getValueAsDef(BaseFieldName); in GenerateCustomAppertainsTo()
4023 const Record *SubjectObj = Attr.getValueAsDef("Subjects"); in GenerateAppertainsTo()
4323 const Record *R = Attr.getValueAsDef("Target"); in GenerateTargetRequirements()
4383 const Record *Target = TargetSpelling->getValueAsDef("Target"); in GenerateSpellingTargetRequirements()
4517 const Record *SubjectObj = Attr.getValueAsDef("Subjects"); in EmitClangAttrParsedAttrImpl()
[all …]
H A DMveEmitter.cpp1072 R = R->getValueAsDef("type"); in getType()
1074 R = R->getValueAsDef("underlying_type"); in getType()
1331 : ReturnType(ME.getType(R->getValueAsDef("ret"), Param)) { in ACLEIntrinsic()
1348 Record *PolymorphicNameType = R->getValueAsDef("pnt"); in ACLEIntrinsic()
1399 Record *Bounds = TypeRec->getValueAsDef("bounds"); in ACLEIntrinsic()
1415 const Type *T = ME.getType(Bounds->getValueAsDef("type"), Param); in ACLEIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DExegesisEmitter.cpp89 AddPfmCounterName(Def->getValueAsDef("CycleCounter")); in collectPfmCounters()
90 AddPfmCounterName(Def->getValueAsDef("UopsCounter")); in collectPfmCounters()
123 Def.getValueAsDef("CycleCounter")->getValueAsString("Counter"); in emitPfmCountersInfo()
125 Def.getValueAsDef("UopsCounter")->getValueAsString("Counter"); in emitPfmCountersInfo()
138 {ValidationCounter->getValueAsDef("EventType") in emitPfmCountersInfo()
140 ValidationCounter->getValueAsDef("EventType")->getName(), in emitPfmCountersInfo()
239 << " &" << Target << Binding->getValueAsDef("Counters")->getName() // in emitPfmCountersLookupTable()
H A DCodeGenSchedule.cpp318 const Record *Pred = EC->getValueAsDef("Predicate"); in processSTIPredicate()
360 const Record *Pred = EC->getValueAsDef("Predicate"); in processSTIPredicate()
424 const Record *Decl = R->getValueAsDef("Declaration"); in collectSTIPredicates()
670 Record *MatchDef = ADef->getValueAsDef("MatchRW"); in collectSchedRW()
671 Record *AliasDef = ADef->getValueAsDef("AliasRW"); in collectSchedRW()
705 Record *AliasDef = ADef->getValueAsDef("AliasRW"); in collectSchedRW()
707 Record *MatchDef = ADef->getValueAsDef("MatchRW"); in collectSchedRW()
1927 Record *ModelDef = WR->getValueAsDef("SchedModel"); in collectProcResources()
1932 Record *ModelDef = SWR->getValueAsDef("SchedModel"); in collectProcResources()
1937 Record *ModelDef = RA->getValueAsDef("SchedModel"); in collectProcResources()
[all …]
H A DOptEmitter.cpp47 bool ASent = A->getValueAsDef("Kind")->getValueAsBit("Sentinel"); in CompareOptionRecords()
48 bool BSent = B->getValueAsDef("Kind")->getValueAsBit("Sentinel"); in CompareOptionRecords()
73 int APrec = A->getValueAsDef("Kind")->getValueAsInt("Precedence"); in CompareOptionRecords()
74 int BPrec = B->getValueAsDef("Kind")->getValueAsInt("Precedence"); in CompareOptionRecords()
H A DCallingConvEmitter.cpp148 EmitAction(Action->getValueAsDef("SubAction"), Indent+2, O); in EmitAction()
152 Record *CC = Action->getValueAsDef("CC"); in EmitAction()
298 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
312 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
328 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
332 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
336 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
H A DMacroFusionPredicatorEmitter.cpp127 Record *Target = Predicate->getValueAsDef("Target"); in emitPredicates()
161 PE.expandPredicate(OS, Predicate->getValueAsDef("Predicate")); in emitFirstPredicate()
181 PE.expandPredicate(OS, Predicate->getValueAsDef("Predicate")); in emitSecondPredicate()
H A DSubtargetEmitter.cpp787 ProcModel.StoreQueue->getValueAsDef("QueueDescriptor"); in EmitLoadStoreQueueInfo()
886 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindWriteResources()
888 Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in FindWriteResources()
906 if (AliasDef == WR->getValueAsDef("WriteType") in FindWriteResources()
907 || SchedWrite.TheDef == WR->getValueAsDef("WriteType")) { in FindWriteResources()
938 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindReadAdvance()
958 if (AliasDef == RA->getValueAsDef("ReadType") in FindReadAdvance()
959 || SchedRead.TheDef == RA->getValueAsDef("ReadType")) { in FindReadAdvance()
1080 Record *RWModelDef = RW->getValueAsDef("SchedModel"); in GenSchedClassTables()
1547 Rec->getValueAsDef("Pred")->isSubClassOf("MCTrue"); in isTruePredicate()
[all …]
H A DPredicateExpander.cpp280 expandStatement(OS, Rec->getValueAsDef("CaseStmt")); in expandOpcodeSwitchCase()
315 Rec->getValueAsDef("DefaultCase")); in expandStatement()
320 expandReturnStatement(OS, Rec->getValueAsDef("Pred")); in expandStatement()
343 expandPredicate(OS, Rec->getValueAsDef("Pred")); in expandPredicate()
359 Rec->getValueAsDef("Reg"), in expandPredicate()
H A DCodeGenInstAlias.cpp49 InstOpRec = InstOpRec->getValueAsDef("RegClass"); in tryAliasOpMatch()
52 ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit(); in tryAliasOpMatch()
227 InstOpRec->getValueAsDef("ParserMatchClass") in CodeGenInstAlias()
H A DDXILEmitter.cpp78 DXILClass = R->getValueAsDef("op_class")->getValueAsString("name"); in DXILOperationData()
79 Category = R->getValueAsDef("category")->getValueAsString("name"); in DXILOperationData()
82 auto *IntrinsicDef = R->getValueAsDef("llvm_intrinsic"); in DXILOperationData()
H A DX86CompressEVEXTablesEmitter.cpp144 if (OldOpRec->getValueAsDef("Type") != NewOpRec->getValueAsDef("Type")) in operator ()()
H A DGlobalISelEmitter.cpp274 return VDefInit->getDef()->getValueAsDef("RegClass"); in getInitValueAsRegClass()
477 NodeEquivs[Equiv->getValueAsDef("Node")] = Equiv; in gatherNodeEquivs()
481 Record *SelDAGEquiv = Equiv->getValueAsDef("SelDAGEquivalent"); in gatherNodeEquivs()
489 Record *SelDAGEquiv = Equiv->getValueAsDef("SelDAGEquivalent"); in gatherNodeEquivs()
506 return &Target.getInstruction(Equiv.getValueAsDef("IfFloatingPoint")); in getEquivNode()
511 return &Target.getInstruction(Equiv.getValueAsDef("IfConvergent")); in getEquivNode()
518 return &Target.getInstruction(Equiv.getValueAsDef("IfSignExtend")); in getEquivNode()
522 return &Target.getInstruction(Equiv.getValueAsDef("IfZeroExtend")); in getEquivNode()
525 return &Target.getInstruction(Equiv.getValueAsDef("I")); in getEquivNode()
1828 DstIOpRec = DstIOpRec->getValueAsDef("RegClass"); in inferRegClassFromPattern()
[all …]
H A DCodeGenSchedule.h407 return FunctionDeclaration->getValueAsDef("DefaultReturnValue"); in getDefaultReturnPredicate()
476 Record *ModelDef = ProcDef->getValueAsDef("SchedModel"); in getModelOrItinDef()
477 Record *ItinsDef = ProcDef->getValueAsDef("ProcItin"); in getModelOrItinDef()
H A DVTEmitter.cpp116 const auto *ElTy = VT->getValueAsDef("ElementType"); in run()
H A DCodeGenTarget.cpp324 return TargetRec->getValueAsDef("InstructionSet"); in getInstructionSet()
603 Ty = R->getValueAsDef("Ty"); in ComplexPattern()
H A DCodeGenDAGPatterns.cpp1257 return R->getValueAsDef("MemoryVT"); in getMemoryVT()
1278 return R->getValueAsDef("ScalarMemoryVT"); in getScalarMemoryVT()
1535 VVT = getValueTypeByHwMode(R->getValueAsDef("VT"), CGH); in SDTypeConstraint()
1567 VVT = getValueTypeByHwMode(R->getValueAsDef("VT"), CGH); in SDTypeConstraint()
1742 Record *R = Operand->getValueAsDef("Type"); in UpdateNodeTypeFromInst()
1757 RC = Operand->getValueAsDef("RegClass"); in UpdateNodeTypeFromInst()
1813 Record *TypeProfile = R->getValueAsDef("TypeProfile"); in SDNodeInfo()
2237 Record *RegClass = R->getValueAsDef("RegClass"); in getImplicitType()
2326 Record *T = R->getValueAsDef("Type"); in getImplicitType()
3245 Record *SDNode = XFormNode->getValueAsDef("Opcode"); in ParseNodeTransforms()
[all …]
H A DInstrInfoEmitter.cpp157 OpR = OpR->getValueAsDef("RegClass"); in GetOperandInfo()
713 PE.expandStatement(OS, Rec->getValueAsDef("Body")); in emitMCIIHelperMethods()
915 PE.expandStatement(OS, Rec->getValueAsDef("Body")); in emitTIIHelperMethods()
H A DAsmWriterEmitter.cpp659 O << R->getValueAsDef("FallbackRegAltNameIndex")->getName() << ");\n"; in EmitGetRegisterName()
928 Rec = Rec->getValueAsDef("RegClass"); in EmitPrintAliasInstruction()
934 R = R->getValueAsDef("RegClass"); in EmitPrintAliasInstruction()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DDirectiveEmitter.h201 Clause getClause() const { return Clause{Def->getValueAsDef("clause")}; } in getClause()

12