Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DX86EVEX2VEXTablesEmitter.cpp119 if (RecV->getValueAsDef("OpEnc")->getName().str() != "EncVEX" || in operator ()()
122 RecV->getValueAsDef("OpPrefix") != RecE->getValueAsDef("OpPrefix") || in operator ()()
123 RecV->getValueAsDef("OpMap") != RecE->getValueAsDef("OpMap") || in operator ()()
132 RecV->getValueAsDef("Form") != RecE->getValueAsDef("Form")) in operator ()()
154 if (OpRec1->getValueAsDef("Type") != OpRec2->getValueAsDef("Type")) { in operator ()()
184 return RegRec->getValueAsDef("RegClass")->getValueAsInt("Alignment"); in getRegOperandSize()
215 if (Inst->TheDef->getValueAsDef("OpEnc")->getName() == "EncVEX") { in run()
221 else if (Inst->TheDef->getValueAsDef("OpEnc")->getName() == "EncEVEX" && in run()
H A DCodeGenSchedule.cpp301 const Record *Pred = EC->getValueAsDef("Predicate"); in processSTIPredicate()
343 const Record *Pred = EC->getValueAsDef("Predicate"); in processSTIPredicate()
406 const Record *Decl = R->getValueAsDef("Declaration"); in collectSTIPredicates()
643 Record *MatchDef = ADef->getValueAsDef("MatchRW"); in collectSchedRW()
644 Record *AliasDef = ADef->getValueAsDef("AliasRW"); in collectSchedRW()
678 Record *AliasDef = ADef->getValueAsDef("AliasRW"); in collectSchedRW()
680 Record *MatchDef = ADef->getValueAsDef("MatchRW"); in collectSchedRW()
1902 Record *ModelDef = WR->getValueAsDef("SchedModel"); in collectProcResources()
1907 Record *ModelDef = SWR->getValueAsDef("SchedModel"); in collectProcResources()
1912 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 DX86FoldTablesEmitter.cpp229 RegRec = RegRec->getValueAsDef("RegClass"); in getRegOperandSize()
240 MemRec->getValueAsDef("ParserMatchClass")->getValueAsString("Name"); in getMemOperandSize()
328 if (RegRec->getValueAsDef("OpEnc") != MemRec->getValueAsDef("OpEnc") || in operator ()()
332 RegRec->getValueAsDef("OpPrefix") != in operator ()()
333 MemRec->getValueAsDef("OpPrefix") || in operator ()()
334 RegRec->getValueAsDef("OpMap") != MemRec->getValueAsDef("OpMap") || in operator ()()
335 RegRec->getValueAsDef("OpSize") != MemRec->getValueAsDef("OpSize") || in operator ()()
336 RegRec->getValueAsDef("AdSize") != MemRec->getValueAsDef("AdSize") || in operator ()()
407 if (MemOpRec->getValueAsDef("Type") != RegOpRec->getValueAsDef("Type")) in operator ()()
H A DExegesisEmitter.cpp88 AddPfmCounterName(Def->getValueAsDef("CycleCounter")); in collectPfmCounters()
89 AddPfmCounterName(Def->getValueAsDef("UopsCounter")); in collectPfmCounters()
111 Def.getValueAsDef("CycleCounter")->getValueAsString("Counter"); in emitPfmCountersInfo()
113 Def.getValueAsDef("UopsCounter")->getValueAsString("Counter"); in emitPfmCountersInfo()
195 << " &" << Target << Binding->getValueAsDef("Counters")->getName() // in emitPfmCountersLookupTable()
H A DCallingConvEmitter.cpp117 EmitAction(Action->getValueAsDef("SubAction"), Indent+2, O); in EmitAction()
121 Record *CC = Action->getValueAsDef("CC"); in EmitAction()
232 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
246 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
262 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
266 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
270 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
H A DPredicateExpander.cpp251 expandStatement(OS, Rec->getValueAsDef("CaseStmt")); in expandOpcodeSwitchCase()
287 Rec->getValueAsDef("DefaultCase")); in expandStatement()
292 expandReturnStatement(OS, Rec->getValueAsDef("Pred")); in expandStatement()
315 expandPredicate(OS, Rec->getValueAsDef("Pred")); in expandPredicate()
328 Rec->getValueAsDef("Reg"), in expandPredicate()
H A DSubtargetEmitter.cpp739 ProcModel.StoreQueue->getValueAsDef("QueueDescriptor"); in EmitLoadStoreQueueInfo()
838 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindWriteResources()
840 Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in FindWriteResources()
858 if (AliasDef == WR->getValueAsDef("WriteType") in FindWriteResources()
859 || SchedWrite.TheDef == WR->getValueAsDef("WriteType")) { in FindWriteResources()
890 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindReadAdvance()
910 if (AliasDef == RA->getValueAsDef("ReadType") in FindReadAdvance()
911 || SchedRead.TheDef == RA->getValueAsDef("ReadType")) { in FindReadAdvance()
1030 Record *RWModelDef = RW->getValueAsDef("SchedModel"); in GenSchedClassTables()
1442 Rec->getValueAsDef("Pred")->isSubClassOf("MCTrue"); in isTruePredicate()
[all …]
H A DIntrinsicEmitter.cpp309 MVT::SimpleValueType VT = getValueType(R->getValueAsDef("ElTy")); in EncodeFixedType()
337 MVT::SimpleValueType VT = getValueType(R->getValueAsDef("VT")); in EncodeFixedType()
372 return EncodeFixedType(R->getValueAsDef("ElTy"), ArgCodes, NextArgCode, Sig, in EncodeFixedType()
414 switch (getValueType(R->getValueAsDef("VT"))) { in UpdateArgCodes()
417 UpdateArgCodes(R->getValueAsDef("ElTy"), ArgCodes, NumInserted, Mapping); in UpdateArgCodes()
H A DCodeGenTarget.cpp302 return TargetRec->getValueAsDef("InstructionSet"); in getInstructionSet()
579 Ty = ::getValueType(R->getValueAsDef("Ty")); in ComplexPattern()
732 MVT::SimpleValueType VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic()
759 VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic()
795 VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic()
H A DCodeGenSchedule.h405 return FunctionDeclaration->getValueAsDef("DefaultReturnValue"); in getDefaultReturnPredicate()
474 Record *ModelDef = ProcDef->getValueAsDef("SchedModel"); in getModelOrItinDef()
475 Record *ItinsDef = ProcDef->getValueAsDef("ProcItin"); in getModelOrItinDef()
H A DCodeGenInstruction.cpp558 InstOpRec = InstOpRec->getValueAsDef("RegClass"); in tryAliasOpMatch()
561 ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit(); in tryAliasOpMatch()
737 InstOpRec->getValueAsDef("ParserMatchClass") in CodeGenInstAlias()
H A DInstrInfoEmitter.cpp150 OpR = OpR->getValueAsDef("RegClass"); in GetOperandInfo()
668 PE.expandStatement(OS, Rec->getValueAsDef("Body")); in emitMCIIHelperMethods()
701 PE.expandStatement(OS, Rec->getValueAsDef("Body")); in emitTIIHelperMethods()
H A DCodeGenDAGPatterns.cpp1221 return R->getValueAsDef("MemoryVT"); in getMemoryVT()
1242 return R->getValueAsDef("ScalarMemoryVT"); in getScalarMemoryVT()
1501 VVT = getValueTypeByHwMode(R->getValueAsDef("VT"), CGH); in SDTypeConstraint()
1533 VVT = getValueTypeByHwMode(R->getValueAsDef("VT"), CGH); in SDTypeConstraint()
1705 Record *R = Operand->getValueAsDef("Type"); in UpdateNodeTypeFromInst()
1720 RC = Operand->getValueAsDef("RegClass"); in UpdateNodeTypeFromInst()
1776 Record *TypeProfile = R->getValueAsDef("TypeProfile"); in SDNodeInfo()
2189 Record *RegClass = R->getValueAsDef("RegClass"); in getImplicitType()
2276 Record *T = R->getValueAsDef("Type"); in getImplicitType()
3175 Record *SDNode = XFormNode->getValueAsDef("Opcode"); in ParseNodeTransforms()
[all …]
H A DAsmWriterEmitter.cpp649 O << R->getValueAsDef("FallbackRegAltNameIndex")->getName() << ");\n"; in EmitGetRegisterName()
922 Rec = Rec->getValueAsDef("RegClass"); in EmitPrintAliasInstruction()
928 R = R->getValueAsDef("RegClass"); in EmitPrintAliasInstruction()
H A DDFAPacketizerEmitter.cpp152 Record *ComboFunc = FuncData->getValueAsDef("TheComboFunc"); in collectAllComboFuncs()
H A DFastISelEmitter.cpp266 OpLeafRec = OpLeafRec->getValueAsDef("RegClass"); in initialize()
490 Op0Rec = Op0Rec->getValueAsDef("RegClass"); in collectPatterns()
/freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/
H A DClangOpenCLBuiltinEmitter.cpp622 Rec->getValueAsDef("MinVersion")->getValueAsInt("ID") == in CanReuseSignature()
623 Rec2->getValueAsDef("MinVersion")->getValueAsInt("ID") && in CanReuseSignature()
624 Rec->getValueAsDef("MaxVersion")->getValueAsInt("ID") == in CanReuseSignature()
625 Rec2->getValueAsDef("MaxVersion")->getValueAsInt("ID") && in CanReuseSignature()
626 Rec->getValueAsDef("Extension")->getName() == in CanReuseSignature()
627 Rec2->getValueAsDef("Extension")->getName()) { in CanReuseSignature()
783 << Image->getValueAsDef("QTExpr")->getValueAsString("TypeExpr") in EmitQualTypeFinder()
805 T->getValueAsDef("Extension")->getValueAsString("ExtName"); in EmitQualTypeFinder()
828 << GenType->getValueAsDef("VectorList")->getValueAsString("Name") in EmitQualTypeFinder()
850 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.cpp232 getSeparatorsForKind(Option->getValueAsDef("Kind")); in emitOptionWithArgs()
243 unsigned NumArgs = getNumArgsForKind(Option->getValueAsDef("Kind"), Option); in emitOptionName()
272 Record *Alias = Option->getValueAsDef("Alias"); in emitOptionName()
305 if (Option.Option->getValueAsDef("Kind")->getName() == "KIND_UNKNOWN" || in emitOption()
306 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.cpp164 assert(R->getValueAsDef("Class")->getName() != "CLASS_NOTE" && in groupDiagnostics()
313 std::string(Diag->getValueAsDef("Class")->getName()); in isExtension()
319 Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name")); in isOffByDefault()
1203 std::string(Diag.getValueAsDef("Class")->getName()); in isError()
1209 std::string(Diag.getValueAsDef("Class")->getName()); in isRemark()
1274 OS << R.getValueAsDef("Class")->getName(); in EmitClangDiagsDefs()
1276 << R.getValueAsDef("DefaultSeverity")->getValueAsString("Name"); in EmitClangDiagsDefs()
1299 OS << ", " << R.getValueAsDef("SFINAE")->getName(); in EmitClangDiagsDefs()
1666 Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name")); in getDefaultSeverity()
H A DClangAttrEmitter.cpp1842 *Subject.getValueAsDef("Base")); in isSupportedPragmaClangAttributeSubject()
1892 Record *SubjectDecl = Aggregate->getValueAsDef("Subject"); in PragmaClangAttributeSupport()
1966 const Record *SubjectObj = Attribute.getValueAsDef("Subjects"); in isAttributedSupported()
2019 const Record *SubjectObj = Attr.getValueAsDef("Subjects"); in generateStrictConformsTo()
3103 const Record *R = Attr->getValueAsDef("Target"); in GenerateHasAttrSpellingStringSwitch()
3499 Record *Base = Subject.getValueAsDef(BaseFieldName); in GenerateCustomAppertainsTo()
3525 const Record *SubjectObj = Attr.getValueAsDef("Subjects"); in GenerateAppertainsTo()
3826 const Record *R = Attr.getValueAsDef("Target"); in GenerateTargetRequirements()
3926 const Record *SubjectObj = Attr.getValueAsDef("Subjects"); in EmitClangAttrParsedAttrImpl()
4406 const Record *Category = Doc.getValueAsDef("Category"); in EmitClangAttrDocs()
[all …]
H A DMveEmitter.cpp1074 R = R->getValueAsDef("type"); in getType()
1076 R = R->getValueAsDef("underlying_type"); in getType()
1325 : ReturnType(ME.getType(R->getValueAsDef("ret"), Param)) { in ACLEIntrinsic()
1342 Record *PolymorphicNameType = R->getValueAsDef("pnt"); in ACLEIntrinsic()
1393 Record *Bounds = TypeRec->getValueAsDef("bounds"); in ACLEIntrinsic()
1409 const Type *T = ME.getType(Bounds->getValueAsDef("type"), Param); in ACLEIntrinsic()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DDirectiveEmitter.h186 Clause getClause() const { return Clause{Def->getValueAsDef("clause")}; } in getClause()

12