Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DX86EVEX2VEXTablesEmitter.cpp117 if (RecV->getValueAsDef("OpEnc")->getName().str() != "EncVEX" || in operator ()()
119 RecV->getValueAsDef("OpPrefix") != RecE->getValueAsDef("OpPrefix") || in operator ()()
120 RecV->getValueAsDef("OpMap") != RecE->getValueAsDef("OpMap") || in operator ()()
129 RecV->getValueAsDef("Form") != RecE->getValueAsDef("Form") || in operator ()()
153 if (OpRec1->getValueAsDef("Type") != OpRec2->getValueAsDef("Type")) in operator ()()
182 return RegRec->getValueAsDef("RegClass")->getValueAsInt("Alignment"); in getRegOperandSize()
201 if (Inst->TheDef->getValueAsDef("OpEnc")->getName() == "EncVEX") { in run()
207 else if (Inst->TheDef->getValueAsDef("OpEnc")->getName() == "EncEVEX" && in run()
H A DCodeGenSchedule.cpp303 const Record *Pred = EC->getValueAsDef("Predicate"); in processSTIPredicate()
345 const Record *Pred = EC->getValueAsDef("Predicate"); in processSTIPredicate()
410 const Record *Decl = R->getValueAsDef("Declaration"); in collectSTIPredicates()
649 Record *MatchDef = ADef->getValueAsDef("MatchRW"); in collectSchedRW()
650 Record *AliasDef = ADef->getValueAsDef("AliasRW"); in collectSchedRW()
684 Record *AliasDef = ADef->getValueAsDef("AliasRW"); in collectSchedRW()
686 Record *MatchDef = ADef->getValueAsDef("MatchRW"); in collectSchedRW()
1851 Record *ModelDef = WR->getValueAsDef("SchedModel"); in collectProcResources()
1856 Record *ModelDef = SWR->getValueAsDef("SchedModel"); in collectProcResources()
1861 Record *ModelDef = RA->getValueAsDef("SchedModel"); in collectProcResources()
[all …]
H A DX86FoldTablesEmitter.cpp217 RegRec = RegRec->getValueAsDef("RegClass"); in getRegOperandSize()
234 MemRec->getValueAsDef("ParserMatchClass")->getValueAsString("Name"); in getMemOperandSize()
322 if (RegRec->getValueAsDef("OpEnc") != MemRec->getValueAsDef("OpEnc") || in operator ()()
326 RegRec->getValueAsDef("OpPrefix") != in operator ()()
327 MemRec->getValueAsDef("OpPrefix") || in operator ()()
328 RegRec->getValueAsDef("OpMap") != MemRec->getValueAsDef("OpMap") || in operator ()()
329 RegRec->getValueAsDef("OpSize") != MemRec->getValueAsDef("OpSize") || in operator ()()
330 RegRec->getValueAsDef("AdSize") != MemRec->getValueAsDef("AdSize") || in operator ()()
393 if (MemOpRec->getValueAsDef("Type") != RegOpRec->getValueAsDef("Type")) in operator ()()
H A DExegesisEmitter.cpp89 AddPfmCounterName(Def->getValueAsDef("CycleCounter")); in collectPfmCounters()
90 AddPfmCounterName(Def->getValueAsDef("UopsCounter")); in collectPfmCounters()
112 Def.getValueAsDef("CycleCounter")->getValueAsString("Counter"); in emitPfmCountersInfo()
114 Def.getValueAsDef("UopsCounter")->getValueAsString("Counter"); in emitPfmCountersInfo()
196 << " &" << Target << Binding->getValueAsDef("Counters")->getName() // in emitPfmCountersLookupTable()
H A DCallingConvEmitter.cpp104 EmitAction(Action->getValueAsDef("SubAction"), Indent+2, O); in EmitAction()
108 Record *CC = Action->getValueAsDef("CC"); in EmitAction()
222 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
236 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
251 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
255 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
H A DOptParserEmitter.cpp51 bool ASent = A->getValueAsDef("Kind")->getValueAsBit("Sentinel"); in CompareOptionRecords()
52 bool BSent = B->getValueAsDef("Kind")->getValueAsBit("Sentinel"); in CompareOptionRecords()
79 int APrec = A->getValueAsDef("Kind")->getValueAsInt("Precedence"); in CompareOptionRecords()
80 int BPrec = B->getValueAsDef("Kind")->getValueAsInt("Precedence"); in CompareOptionRecords()
225 OS << ", " << R.getValueAsDef("Kind")->getValueAsString("Name"); in EmitOptParser()
H A DPredicateExpander.cpp240 expandStatement(OS, Rec->getValueAsDef("CaseStmt")); in expandOpcodeSwitchCase()
276 Rec->getValueAsDef("DefaultCase")); in expandStatement()
281 expandReturnStatement(OS, Rec->getValueAsDef("Pred")); in expandStatement()
304 expandPredicate(OS, Rec->getValueAsDef("Pred")); in expandPredicate()
317 Rec->getValueAsDef("Reg"), in expandPredicate()
H A DSubtargetEmitter.cpp717 ProcModel.StoreQueue->getValueAsDef("QueueDescriptor"); in EmitLoadStoreQueueInfo()
818 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindWriteResources()
820 Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in FindWriteResources()
838 if (AliasDef == WR->getValueAsDef("WriteType") in FindWriteResources()
839 || SchedWrite.TheDef == WR->getValueAsDef("WriteType")) { in FindWriteResources()
870 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindReadAdvance()
890 if (AliasDef == RA->getValueAsDef("ReadType") in FindReadAdvance()
891 || SchedRead.TheDef == RA->getValueAsDef("ReadType")) { in FindReadAdvance()
1010 Record *RWModelDef = RW->getValueAsDef("SchedModel"); in GenSchedClassTables()
1458 Rec->getValueAsDef("Pred")->isSubClassOf("MCTrue"); in emitPredicates()
[all …]
H A DCodeGenTarget.cpp225 return TargetRec->getValueAsDef("InstructionSet"); in getInstructionSet()
456 Ty = ::getValueType(R->getValueAsDef("Ty")); in ComplexPattern()
602 VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic()
641 VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic()
H A DCodeGenSchedule.h403 return FunctionDeclaration->getValueAsDef("DefaultReturnValue"); in getDefaultReturnPredicate()
470 Record *ModelDef = ProcDef->getValueAsDef("SchedModel"); in getModelOrItinDef()
471 Record *ItinsDef = ProcDef->getValueAsDef("ProcItin"); in getModelOrItinDef()
H A DInstrInfoEmitter.cpp140 OpR = OpR->getValueAsDef("RegClass"); in GetOperandInfo()
393 PE.expandStatement(OS, Rec->getValueAsDef("Body")); in emitMCIIHelperMethods()
426 PE.expandStatement(OS, Rec->getValueAsDef("Body")); in emitTIIHelperMethods()
H A DIntrinsicEmitter.cpp276 MVT::SimpleValueType VT = getValueType(R->getValueAsDef("ElTy")); in EncodeFixedType()
298 MVT::SimpleValueType VT = getValueType(R->getValueAsDef("VT")); in EncodeFixedType()
332 return EncodeFixedType(R->getValueAsDef("ElTy"), ArgCodes, Sig); in EncodeFixedType()
H A DCodeGenInstruction.cpp522 InstOpRec = InstOpRec->getValueAsDef("RegClass"); in tryAliasOpMatch()
525 ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit(); in tryAliasOpMatch()
700 InstOpRec->getValueAsDef("ParserMatchClass") in CodeGenInstAlias()
H A DDFAPacketizerEmitter.cpp715 Record *ComboFunc = FuncData->getValueAsDef("TheComboFunc"); in collectAllComboFuncs()
754 LLVM_DEBUG(dbgs() << " " << ItinData->getValueAsDef("TheClass")->getName() in collectOneInsnClass()
H A DCodeGenDAGPatterns.cpp1153 return R->getValueAsDef("MemoryVT"); in getMemoryVT()
1159 return R->getValueAsDef("ScalarMemoryVT"); in getScalarMemoryVT()
1360 VVT = getValueTypeByHwMode(R->getValueAsDef("VT"), CGH); in SDTypeConstraint()
1392 VVT = getValueTypeByHwMode(R->getValueAsDef("VT"), CGH); in SDTypeConstraint()
1563 Record *R = Operand->getValueAsDef("Type"); in UpdateNodeTypeFromInst()
1578 RC = Operand->getValueAsDef("RegClass"); in UpdateNodeTypeFromInst()
1634 Record *TypeProfile = R->getValueAsDef("TypeProfile"); in SDNodeInfo()
2044 Record *RegClass = R->getValueAsDef("RegClass"); in getImplicitType()
2130 Record *T = R->getValueAsDef("Type"); in getImplicitType()
3000 Record *SDNode = XFormNode->getValueAsDef("Opcode"); in ParseNodeTransforms()
[all …]
H A DGlobalISelEmitter.cpp348 return VDefInit->getDef()->getValueAsDef("RegClass"); in getInitValueAsRegClass()
3098 NodeEquivs[Equiv->getValueAsDef("Node")] = Equiv; in gatherNodeEquivs()
3102 Record *SelDAGEquiv = Equiv->getValueAsDef("SelDAGEquivalent"); in gatherNodeEquivs()
3110 Record *SelDAGEquiv = Equiv->getValueAsDef("SelDAGEquivalent"); in gatherNodeEquivs()
3127 return &Target.getInstruction(Equiv.getValueAsDef("IfSignExtend")); in getEquivNode()
3130 return &Target.getInstruction(Equiv.getValueAsDef("IfZeroExtend")); in getEquivNode()
3132 return &Target.getInstruction(Equiv.getValueAsDef("I")); in getEquivNode()
3604 DstChild->getName(), ChildRec->getValueAsDef("GIZeroRegister")); in importExplicitUseRenderer()
3949 DstIOpRec = DstIOpRec->getValueAsDef("RegClass"); in runOnPattern()
H A DFastISelEmitter.cpp267 OpLeafRec = OpLeafRec->getValueAsDef("RegClass"); in initialize()
495 Op0Rec = Op0Rec->getValueAsDef("RegClass"); in collectPatterns()
H A DSearchableTableEmitter.cpp200 Record *EnumEntry = Rec->getValueAsDef(Index.Fields[0].Name); in getNumericKey()
705 Record *TableRec = IndexRec->getValueAsDef("Table"); in run()
H A DAsmWriterEmitter.cpp879 Rec = Rec->getValueAsDef("RegClass"); in EmitPrintAliasInstruction()
887 R = R->getValueAsDef("RegClass"); in EmitPrintAliasInstruction()
H A DDAGISelMatcherGen.cpp677 Def = Def->getValueAsDef("RegClass"); in EmitResultLeafAsOperand()
H A DAsmMatcherEmitter.cpp1173 Record *ClassRec = Rec->getValueAsDef("RegClass"); in getOperandClass()
1191 Record *MatchClass = Rec->getValueAsDef("ParserMatchClass"); in getOperandClass()
1687 Record *MatchClass = Rec->getValueAsDef("ParserMatchClass"); in buildInstructionOperandReference()
/freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/
H A DClangOptionDocEmitter.cpp236 getSeparatorsForKind(Option->getValueAsDef("Kind")); in emitOptionWithArgs()
247 unsigned NumArgs = getNumArgsForKind(Option->getValueAsDef("Kind"), Option); in emitOptionName()
276 Record *Alias = Option->getValueAsDef("Alias"); in emitOptionName()
309 if (Option.Option->getValueAsDef("Kind")->getName() == "KIND_UNKNOWN" || in emitOption()
310 Option.Option->getValueAsDef("Kind")->getName() == "KIND_INPUT") in emitOption()
H A DClangASTNodesEmitter.cpp164 Tree.insert(std::make_pair(R->getValueAsDef("Base"), R)); in run()
210 Record *B = R->getValueAsDef("Base"); in EmitClangDeclContext()
H A DClangDiagnosticsEmitter.cpp169 assert(R->getValueAsDef("Class")->getName() != "CLASS_NOTE" && in groupDiagnostics()
333 const std::string &ClsName = Diag->getValueAsDef("Class")->getName(); in isExtension()
339 Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name"); in isOffByDefault()
1179 const std::string &ClsName = Diag.getValueAsDef("Class")->getName(); in isError()
1184 const std::string &ClsName = Diag.getValueAsDef("Class")->getName(); in isRemark()
1249 OS << R.getValueAsDef("Class")->getName(); in EmitClangDiagsDefs()
1251 << R.getValueAsDef("DefaultSeverity")->getValueAsString("Name"); in EmitClangDiagsDefs()
1274 OS << ", " << R.getValueAsDef("SFINAE")->getName(); in EmitClangDiagsDefs()
1638 return Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name"); in getDefaultSeverity()
H A DClangAttrEmitter.cpp1791 const Record *CurrentBase = D->getValueAsDef("Base"); in doesDeclDeriveFrom()
1834 Record *SubjectDecl = Aggregate->getValueAsDef("Subject"); in PragmaClangAttributeSupport()
1908 const Record *SubjectObj = Attribute.getValueAsDef("Subjects"); in isAttributedSupported()
1934 const Record *SubjectObj = Attr.getValueAsDef("Subjects"); in generateStrictConformsTo()
2859 const Record *R = Attr->getValueAsDef("Target"); in GenerateHasAttrSpellingStringSwitch()
3187 return GetDiagnosticSpelling(*R.getValueAsDef("Base")); in GetDiagnosticSpelling()
3267 Record *Base = Subject.getValueAsDef("Base"); in GenerateCustomAppertainsTo()
3294 const Record *SubjectObj = Attr.getValueAsDef("Subjects"); in GenerateAppertainsTo()
3452 const Record *R = Attr.getValueAsDef("Target"); in GenerateTargetRequirements()
3971 const Record *Category = Doc.getValueAsDef("Category"); in EmitClangAttrDocs()
[all …]

12