Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/clang/utils/TableGen/
H A DClangOpenCLBuiltinEmitter.cpp656 Rec->getValueAsDef("MinVersion")->getValueAsInt("ID") == in CanReuseSignature()
657 Rec2->getValueAsDef("MinVersion")->getValueAsInt("ID") && in CanReuseSignature()
658 Rec->getValueAsDef("MaxVersion")->getValueAsInt("ID") == in CanReuseSignature()
659 Rec2->getValueAsDef("MaxVersion")->getValueAsInt("ID") && in CanReuseSignature()
660 Rec->getValueAsDef("Extension")->getName() == in CanReuseSignature()
661 Rec2->getValueAsDef("Extension")->getName()) { in CanReuseSignature()
837 << Image->getValueAsDef("QTExpr")->getValueAsString("TypeExpr") in EmitQualTypeFinder()
862 T->getValueAsDef("Extension")->getValueAsString("ExtName"); in EmitQualTypeFinder()
884 << GenType->getValueAsDef("VectorList")->getValueAsString("Name") in EmitQualTypeFinder()
906 auto QT = T->getValueAsDef("QTExpr"); in EmitQualTypeFinder()
[all …]
H A DASTTableGen.h283 return get()->getValueAsDef(ArrayElementTypeFieldName); in getArrayElementType()
290 return get()->getValueAsDef(OptionalElementTypeFieldName); in getOptionalElementType()
297 return get()->getValueAsDef(SubclassBaseTypeFieldName); in getSuperclassType()
337 return get()->getValueAsDef(TypeFieldName); in getParentType()
342 return get()->getValueAsDef(KindTypeFieldName); in getKindType()
372 return get()->getValueAsDef(TypeFieldName); in getParentType()
392 return get()->getValueAsDef(TypeFieldName); in getType()
397 return get()->getValueAsDef(ClassFieldName); in getClass()
424 return get()->getValueAsDef(ClassFieldName); in getClass()
444 return get()->getValueAsDef(ClassFieldName); in getClass()
[all …]
H A DClangOptionDocEmitter.cpp255 getSeparatorsForKind(Option->getValueAsDef("Kind")); in emitOptionWithArgs()
268 unsigned NumArgs = getNumArgsForKind(Option->getValueAsDef("Kind"), Option); in emitOptionName()
297 Record *Alias = Option->getValueAsDef("Alias"); in emitOptionName()
332 if (Option.Option->getValueAsDef("Kind")->getName() == "KIND_UNKNOWN" || in emitOption()
333 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()
315 std::string(Diag->getValueAsDef("Class")->getName()); in isExtension()
321 Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name")); in isOffByDefault()
1205 std::string(Diag.getValueAsDef("Class")->getName()); in isError()
1211 std::string(Diag.getValueAsDef("Class")->getName()); in isRemark()
1276 OS << R.getValueAsDef("Class")->getName(); in EmitClangDiagsDefs()
1278 << R.getValueAsDef("DefaultSeverity")->getValueAsString("Name"); in EmitClangDiagsDefs()
1301 OS << ", " << R.getValueAsDef("SFINAE")->getName(); in EmitClangDiagsDefs()
1683 Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name")); in getDefaultSeverity()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeGenSchedule.cpp300 const Record *Pred = EC->getValueAsDef("Predicate"); in processSTIPredicate()
342 const Record *Pred = EC->getValueAsDef("Predicate"); in processSTIPredicate()
405 const Record *Decl = R->getValueAsDef("Declaration"); in collectSTIPredicates()
651 Record *MatchDef = ADef->getValueAsDef("MatchRW"); in collectSchedRW()
652 Record *AliasDef = ADef->getValueAsDef("AliasRW"); in collectSchedRW()
686 Record *AliasDef = ADef->getValueAsDef("AliasRW"); in collectSchedRW()
688 Record *MatchDef = ADef->getValueAsDef("MatchRW"); in collectSchedRW()
1910 Record *ModelDef = WR->getValueAsDef("SchedModel"); in collectProcResources()
1915 Record *ModelDef = SWR->getValueAsDef("SchedModel"); in collectProcResources()
1920 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 DExegesisEmitter.cpp84 AddPfmCounterName(Def->getValueAsDef("CycleCounter")); in collectPfmCounters()
85 AddPfmCounterName(Def->getValueAsDef("UopsCounter")); in collectPfmCounters()
107 Def.getValueAsDef("CycleCounter")->getValueAsString("Counter"); in emitPfmCountersInfo()
109 Def.getValueAsDef("UopsCounter")->getValueAsString("Counter"); in emitPfmCountersInfo()
191 << " &" << Target << Binding->getValueAsDef("Counters")->getName() // in emitPfmCountersLookupTable()
H A DCallingConvEmitter.cpp143 EmitAction(Action->getValueAsDef("SubAction"), Indent+2, O); in EmitAction()
147 Record *CC = Action->getValueAsDef("CC"); in EmitAction()
293 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
307 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
323 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
327 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
331 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
H A DPredicateExpander.cpp250 expandStatement(OS, Rec->getValueAsDef("CaseStmt")); in expandOpcodeSwitchCase()
285 Rec->getValueAsDef("DefaultCase")); in expandStatement()
290 expandReturnStatement(OS, Rec->getValueAsDef("Pred")); in expandStatement()
313 expandPredicate(OS, Rec->getValueAsDef("Pred")); in expandPredicate()
326 Rec->getValueAsDef("Reg"), in expandPredicate()
H A DSubtargetEmitter.cpp775 ProcModel.StoreQueue->getValueAsDef("QueueDescriptor"); in EmitLoadStoreQueueInfo()
874 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindWriteResources()
876 Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in FindWriteResources()
894 if (AliasDef == WR->getValueAsDef("WriteType") in FindWriteResources()
895 || SchedWrite.TheDef == WR->getValueAsDef("WriteType")) { in FindWriteResources()
926 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindReadAdvance()
946 if (AliasDef == RA->getValueAsDef("ReadType") in FindReadAdvance()
947 || SchedRead.TheDef == RA->getValueAsDef("ReadType")) { in FindReadAdvance()
1066 Record *RWModelDef = RW->getValueAsDef("SchedModel"); in GenSchedClassTables()
1477 Rec->getValueAsDef("Pred")->isSubClassOf("MCTrue"); in isTruePredicate()
[all …]
H A DDXILEmitter.cpp77 DXILClass = R->getValueAsDef("op_class")->getValueAsString("name"); in DXILOperationData()
78 Category = R->getValueAsDef("category")->getValueAsString("name"); in DXILOperationData()
81 auto *IntrinsicDef = R->getValueAsDef("llvm_intrinsic"); in DXILOperationData()
H A DX86EVEX2VEXTablesEmitter.cpp154 if (OpRec1->getValueAsDef("Type") != OpRec2->getValueAsDef("Type")) { in operator ()()
H A DIntrinsicEmitter.cpp324 MVT::SimpleValueType VT = getValueType(R->getValueAsDef("ElTy")); in EncodeFixedType()
359 MVT::SimpleValueType VT = getValueType(R->getValueAsDef("VT")); in EncodeFixedType()
394 return EncodeFixedType(R->getValueAsDef("ElTy"), ArgCodes, NextArgCode, Sig, in EncodeFixedType()
440 switch (getValueType(R->getValueAsDef("VT"))) { in UpdateArgCodes()
443 UpdateArgCodes(R->getValueAsDef("ElTy"), ArgCodes, NumInserted, Mapping); in UpdateArgCodes()
H A DCodeGenTarget.cpp307 return TargetRec->getValueAsDef("InstructionSet"); in getInstructionSet()
584 Ty = R->getValueAsDef("Ty"); in ComplexPattern()
735 MVT::SimpleValueType VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic()
762 VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic()
798 VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic()
H A DCodeGenSchedule.h401 return FunctionDeclaration->getValueAsDef("DefaultReturnValue"); in getDefaultReturnPredicate()
470 Record *ModelDef = ProcDef->getValueAsDef("SchedModel"); in getModelOrItinDef()
471 Record *ItinsDef = ProcDef->getValueAsDef("ProcItin"); in getModelOrItinDef()
/llvm-project-15.0.7/libc/utils/HdrGen/PrototypeTestGen/
H A DPrototypeTestGen.cpp68 llvm::Record *retValSpec = functionSpec->getValueAsDef("Return"); in TestGeneratorMain()
70 G.getTypeAsString(retValSpec->getValueAsDef("ReturnType")); in TestGeneratorMain()
79 llvm::Record *argType = args[i]->getValueAsDef("ArgType"); in TestGeneratorMain()
/llvm-project-15.0.7/libc/utils/HdrGen/
H A DPublicAPICommand.cpp102 llvm::Record *RetValSpec = FunctionSpec->getValueAsDef("Return"); in writeAPIFromIndex()
103 llvm::Record *ReturnType = RetValSpec->getValueAsDef("ReturnType"); in writeAPIFromIndex()
109 llvm::Record *ArgType = ArgsList[i]->getValueAsDef("ArgType"); in writeAPIFromIndex()
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DType.cpp47 baseType = baseType->getValueAsDef("baseType"); in getBuilderCall()
80 return Dialect(def->getValueAsDef("dialect")); in getDialect()
H A DAttribute.cpp141 return Attribute(def->getValueAsDef("attr")); in getAttribute()
231 return def->getValueAsDef("baseAttrClass"); in getBaseAttrClass()
H A DOperator.cpp39 : dialect(def.getValueAsDef("opDialect")), def(def) { in Operator()
441 argDef = argDef->getValueAsDef("constraint"); in populateOpStructure()
490 argDef = argDef->getValueAsDef("constraint"); in populateOpStructure()
520 resultDef = resultDef->getValueAsDef("constraint"); in populateOpStructure()
H A DConstraint.cpp23 def = def->getValueAsDef("constraint"); in Constraint()
/llvm-project-15.0.7/libc/utils/tools/WrapperGen/
H A DMain.cpp109 llvm::Record *RetValSpec = FunctionSpec->getValueAsDef("Return"); in writeFunctionHeader()
110 llvm::Record *ReturnType = RetValSpec->getValueAsDef("ReturnType"); in writeFunctionHeader()
128 llvm::Record *ArgType = ArgsList[i]->getValueAsDef("ArgType"); in writeFunctionHeader()
/llvm-project-15.0.7/libc/utils/LibcTableGenUtil/
H A DAPIIndexer.cpp70 return getTypeAsString(TypeRecord->getValueAsDef("PointeeType")) + " *"; in getTypeAsString()
73 getTypeAsString(TypeRecord->getValueAsDef("UnqualifiedType")); in getTypeAsString()
75 return getTypeAsString(TypeRecord->getValueAsDef("PointeeType")) + in getTypeAsString()
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DOpGenHelpers.cpp35 auto prefix = def.getValueAsDef("opDialect")->getValueAsString("name"); in getOperationName()

123