Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/utils/TableGen/
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 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()
1206 std::string(Diag.getValueAsDef("Class")->getName()); in isError()
1212 std::string(Diag.getValueAsDef("Class")->getName()); in isRemark()
1471 OS << R.getValueAsDef("Class")->getName(); in EmitClangDiagsDefs()
1473 << R.getValueAsDef("DefaultSeverity")->getValueAsString("Name"); in EmitClangDiagsDefs()
1496 OS << ", " << R.getValueAsDef("SFINAE")->getName(); in EmitClangDiagsDefs()
1878 Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name")); in getDefaultSeverity()
H A DClangAttrEmitter.cpp1470 Arg, Attr, (Arg.getValueAsDef("Kind")->getName() + "Decl *").str()); in createArgument()
1850 auto *LAPK = Attr->getValueAsDef(LateParsedStr); in getLateAttrParseKind()
2074 *Subject.getValueAsDef("Base")); in isSupportedPragmaClangAttributeSubject()
2124 Record *SubjectDecl = Aggregate->getValueAsDef("Subject"); in PragmaClangAttributeSupport()
2210 const Record *SubjectObj = Attribute.getValueAsDef("Subjects"); in isAttributedSupported()
2263 const Record *SubjectObj = Attr.getValueAsDef("Subjects"); in generateStrictConformsTo()
2522 const Record *T = Attr->getValueAsDef("Target"); in emitClangAttrUnevaluatedStringLiteralList()
3686 const Record *R = Attr->getValueAsDef("Target"); in GenerateHasAttrSpellingStringSwitch()
3697 const Record *Target = TargetSpelling->getValueAsDef("Target"); in GenerateHasAttrSpellingStringSwitch()
4143 Record *Base = Subject.getValueAsDef(BaseFieldName); in GenerateCustomAppertainsTo()
[all …]
H A DMveEmitter.cpp1073 R = R->getValueAsDef("type"); in getType()
1075 R = R->getValueAsDef("underlying_type"); in getType()
1332 : ReturnType(ME.getType(R->getValueAsDef("ret"), Param)) { in ACLEIntrinsic()
1349 Record *PolymorphicNameType = R->getValueAsDef("pnt"); in ACLEIntrinsic()
1400 Record *Bounds = TypeRec->getValueAsDef("bounds"); in ACLEIntrinsic()
1416 const Type *T = ME.getType(Bounds->getValueAsDef("type"), Param); in ACLEIntrinsic()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenSchedule.cpp317 const Record *Pred = EC->getValueAsDef("Predicate"); in processSTIPredicate()
347 const Record *SchedModel = Def->getValueAsDef("SchedModel"); in processSTIPredicate()
359 const Record *Pred = EC->getValueAsDef("Predicate"); in processSTIPredicate()
422 const Record *Decl = R->getValueAsDef("Declaration"); in collectSTIPredicates()
481 CodeGenProcModel &PM = getProcModel(RCU->getValueAsDef("SchedModel")); in collectRetireControlUnits()
496 CodeGenProcModel &PM = getProcModel(Queue->getValueAsDef("SchedModel")); in collectLoadStoreQueueInfo()
572 Record *ItinsDef = ModelKey->getValueAsDef("Itineraries"); in addProcModel()
579 ProcDef->getValueAsDef("SchedModel"), ModelKey); in addProcModel()
665 Record *MatchDef = ADef->getValueAsDef("MatchRW"); in collectSchedRW()
666 Record *AliasDef = ADef->getValueAsDef("AliasRW"); in collectSchedRW()
[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 DPredicateExpander.cpp279 expandStatement(OS, Rec->getValueAsDef("CaseStmt")); in expandOpcodeSwitchCase()
314 Rec->getValueAsDef("DefaultCase")); in expandStatement()
319 expandReturnStatement(OS, Rec->getValueAsDef("Pred")); in expandStatement()
342 expandPredicate(OS, Rec->getValueAsDef("Pred")); in expandPredicate()
358 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 DCodeGenSchedule.h410 return FunctionDeclaration->getValueAsDef("DefaultReturnValue"); in getDefaultReturnPredicate()
479 Record *ModelDef = ProcDef->getValueAsDef("SchedModel"); in getModelOrItinDef()
480 Record *ItinsDef = ProcDef->getValueAsDef("ProcItin"); in getModelOrItinDef()
H A DCodeGenTarget.cpp125 return TargetRec->getValueAsDef("InstructionSet"); in getInstructionSet()
406 Ty = R->getValueAsDef("Ty"); in ComplexPattern()
H A DCodeGenDAGPatterns.cpp1261 return R->getValueAsDef("MemoryVT"); in getMemoryVT()
1282 return R->getValueAsDef("ScalarMemoryVT"); in getScalarMemoryVT()
1537 VVT = getValueTypeByHwMode(R->getValueAsDef("VT"), CGH); in SDTypeConstraint()
1568 VVT = getValueTypeByHwMode(R->getValueAsDef("VT"), CGH); in SDTypeConstraint()
1736 Record *R = Operand->getValueAsDef("Type"); in UpdateNodeTypeFromInst()
1751 RC = Operand->getValueAsDef("RegClass"); in UpdateNodeTypeFromInst()
1807 Record *TypeProfile = R->getValueAsDef("TypeProfile"); in SDNodeInfo()
2231 Record *RegClass = R->getValueAsDef("RegClass"); in getImplicitType()
2320 Record *T = R->getValueAsDef("Type"); in getImplicitType()
2509 i, getValueType(Int->IS.RetTys[i]->getValueAsDef("VT")), TP); in ApplyTypeConstraints()
[all …]
/freebsd/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(),
239 << " &" << Target << Binding->getValueAsDef("Counters")->getName() //
H A DCallingConvEmitter.cpp149 EmitAction(Action->getValueAsDef("SubAction"), Indent + 2, O); in EmitAction()
153 Record *CC = Action->getValueAsDef("CC"); in EmitAction()
300 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
314 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
330 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
335 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
340 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
H A DVTEmitter.cpp38 auto OutputVT = IsVector ? VT->getValueAsDef("ElementType") : VT; in VTtoGetLLVMTyString()
124 StringRef EltName = IsVector ? VT->getValueAsDef("ElementType")->getName() in run()
169 const auto *ElTy = VT->getValueAsDef("ElementType"); in run()
H A DDXILEmitter.cpp74 auto VTRec = R->getValueAsDef("VT"); in getParameterKind()
179 OpClass = R->getValueAsDef("OpClass")->getName(); in DXILOperationDesc()
182 auto *IntrinsicDef = R->getValueAsDef("LLVMIntrinsic"); in DXILOperationDesc()
242 auto VTRec = R->getValueAsDef("VT"); in getOverloadKindStr()
H A DMacroFusionPredicatorEmitter.cpp129 Record *Target = Predicate->getValueAsDef("Target"); in emitPredicates()
164 PE.expandPredicate(OS, Predicate->getValueAsDef("Predicate")); in emitFirstPredicate()
185 PE.expandPredicate(OS, Predicate->getValueAsDef("Predicate")); in emitSecondPredicate()
H A DSubtargetEmitter.cpp787 const Record *Queue = ProcModel.LoadQueue->getValueAsDef("QueueDescriptor"); in EmitLoadStoreQueueInfo()
796 ProcModel.StoreQueue->getValueAsDef("QueueDescriptor"); in EmitLoadStoreQueueInfo()
855 SuperDef = SchedModels.findProcResUnits(PRDef->getValueAsDef("Super"), in EmitProcessorResources()
894 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindWriteResources()
896 Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in FindWriteResources()
916 Record *WRDef = WR->getValueAsDef("WriteType"); in FindWriteResources()
953 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindReadAdvance()
955 Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in FindReadAdvance()
975 Record *RADef = RA->getValueAsDef("ReadType"); in FindReadAdvance()
1022 SubDef->getValueAsDef("Super"), PM, SubDef->getLoc()); in ExpandProcResources()
[all …]
H A DX86EVEX2VEXTablesEmitter.cpp
H A DGlobalISelEmitter.cpp273 return VDefInit->getDef()->getValueAsDef("RegClass"); in getInitValueAsRegClass()
488 NodeEquivs[Equiv->getValueAsDef("Node")] = Equiv; in gatherNodeEquivs()
492 Record *SelDAGEquiv = Equiv->getValueAsDef("SelDAGEquivalent"); in gatherNodeEquivs()
500 Record *SelDAGEquiv = Equiv->getValueAsDef("SelDAGEquivalent"); in gatherNodeEquivs()
517 return &Target.getInstruction(Equiv.getValueAsDef("IfFloatingPoint")); in getEquivNode()
522 return &Target.getInstruction(Equiv.getValueAsDef("IfConvergent")); in getEquivNode()
529 return &Target.getInstruction(Equiv.getValueAsDef("IfSignExtend")); in getEquivNode()
533 return &Target.getInstruction(Equiv.getValueAsDef("IfZeroExtend")); in getEquivNode()
536 return &Target.getInstruction(Equiv.getValueAsDef("I")); in getEquivNode()
1199 Record *XFormOpc = DstChild.getOperator()->getValueAsDef("Opcode"); in importExplicitUseRenderer()
[all …]
H A DX86InstrMappingEmitter.cpp154 if (OldOpRec->getValueAsDef("Type") != NewOpRec->getValueAsDef("Type")) in operator ()()
H A DSearchableTableEmitter.cpp223 Record *TheDef = Rec->getValueAsDef(Index.Fields[0].Name); in getNumericKey()
227 Record *EnumEntry = Rec->getValueAsDef(Index.Fields[0].Name); in getNumericKey()
814 Record *TableRec = IndexRec->getValueAsDef("Table"); in run()
H A DAsmWriterEmitter.cpp684 O << R->getValueAsDef("FallbackRegAltNameIndex")->getName() << ");\n"; in EmitGetRegisterName()
952 Rec = Rec->getValueAsDef("RegClass"); in EmitPrintAliasInstruction()
958 R = R->getValueAsDef("RegClass"); in EmitPrintAliasInstruction()
H A DInstrInfoEmitter.cpp158 OpR = OpR->getValueAsDef("RegClass"); in GetOperandInfo()
713 PE.expandStatement(OS, Rec->getValueAsDef("Body")); in emitMCIIHelperMethods()
913 PE.expandStatement(OS, Rec->getValueAsDef("Body")); in emitTIIHelperMethods()
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DDirectiveEmitter.h137 Record *getAssociation() const { return Def->getValueAsDef("association"); } in getAssociation()
139 Record *getCategory() const { return Def->getValueAsDef("category"); } in getCategory()
217 Clause getClause() const { return Clause{Def->getValueAsDef("clause")}; } in getClause()

12