Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
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()
DCodeGenSchedule.cpp232 CodeGenProcModel &PM = getProcModel(RCU->getValueAsDef("SchedModel")); in collectRetireControlUnits()
286 Record *ItinsDef = ModelKey->getValueAsDef("Itineraries"); in addProcModel()
294 ProcDef->getValueAsDef("SchedModel"), ModelKey); in addProcModel()
381 Record *MatchDef = ADef->getValueAsDef("MatchRW"); in collectSchedRW()
382 Record *AliasDef = ADef->getValueAsDef("AliasRW"); in collectSchedRW()
416 Record *AliasDef = ADef->getValueAsDef("AliasRW"); in collectSchedRW()
418 Record *MatchDef = ADef->getValueAsDef("MatchRW"); in collectSchedRW()
537 const CodeGenSchedRW &AliasRW = getSchedRW(Rec->getValueAsDef("AliasRW")); in expandRWSeqForProc()
539 Record *ModelDef = Rec->getValueAsDef("SchedModel"); in expandRWSeqForProc()
611 Record *ItinDef = Inst->TheDef->getValueAsDef("Itinerary"); in collectSchedClasses()
[all …]
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 ()()
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()
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()
DSubtargetEmitter.cpp702 CounterDef->getValueAsDef("Resource"))]; in EmitPfmIssueCountersTable()
706 CounterDef->getValueAsDef("Resource")->getName()); in EmitPfmIssueCountersTable()
726 OS << CounterDef->getValueAsDef("Resource")->getName() << "\n"; in EmitPfmIssueCountersTable()
809 SchedModels.findProcResUnits(PRDef->getValueAsDef("Super"), in EmitProcessorResources()
847 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindWriteResources()
849 Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in FindWriteResources()
867 if (AliasDef == WR->getValueAsDef("WriteType") in FindWriteResources()
868 || SchedWrite.TheDef == WR->getValueAsDef("WriteType")) { in FindWriteResources()
899 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindReadAdvance()
901 Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in FindReadAdvance()
[all …]
DPredicateExpander.cpp200 expandPredicate(OS, Rec->getValueAsDef("Pred")); in expandPredicate()
213 Rec->getValueAsDef("Reg")); in expandPredicate()
DCodeGenTarget.cpp225 return TargetRec->getValueAsDef("InstructionSet"); in getInstructionSet()
456 Ty = ::getValueType(R->getValueAsDef("Ty")); in ComplexPattern()
601 VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic()
640 VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic()
DInstrInfoEmitter.cpp139 OpR = OpR->getValueAsDef("RegClass"); in GetOperandInfo()
393 PE.expandPredicate(FOS, Rec->getValueAsDef("Pred")); in emitMCIIHelperMethods()
417 PE.expandPredicate(FOS, Rec->getValueAsDef("Pred")); in emitTIIHelperMethods()
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()
DCodeGenSchedule.h330 Record *ModelDef = ProcDef->getValueAsDef("SchedModel"); in getModelOrItinDef()
331 Record *ItinsDef = ProcDef->getValueAsDef("ProcItin"); in getModelOrItinDef()
DCodeGenInstruction.cpp481 InstOpRec = InstOpRec->getValueAsDef("RegClass"); in tryAliasOpMatch()
484 ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit(); in tryAliasOpMatch()
659 InstOpRec->getValueAsDef("ParserMatchClass") in CodeGenInstAlias()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCallingConvEmitter.cpp85 EmitAction(Action->getValueAsDef("SubAction"), Indent+2, O); in EmitAction()
89 Record *CC = Action->getValueAsDef("CC"); in EmitAction()
173 O << ", " << getQualifiedName(Action->getValueAsDef("ShadowReg")); in EmitAction()
179 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
188 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
192 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
DIntrinsicEmitter.cpp230 MVT::SimpleValueType VT = getValueType(ArgType->getValueAsDef("VT")); in EmitTypeGenerate()
257 EmitTypeGenerate(OS, ArgType->getValueAsDef("ElTy"), ArgNo); in EmitTypeGenerate()
264 EmitTypeGenerate(OS, ArgType->getValueAsDef("ElTy"), ArgNo); in EmitTypeGenerate()
366 MVT::SimpleValueType VT = getValueType(ArgType->getValueAsDef("VT")); in EmitVerifier()
394 MVT::SimpleValueType VT = getValueType(ArgType->getValueAsDef("VT")); in EmitVerifier()
445 getValueType(ParamTys[N - 1]->getValueAsDef("VT")) == MVT::isVoid) { in EmitGenerator()
DCodeGenTarget.cpp139 return TargetRec->getValueAsDef("InstructionSet"); in getInstructionSet()
308 Ty = ::getValueType(R->getValueAsDef("Ty")); in ComplexPattern()
423 VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic()
457 VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic()
DInstrInfoEmitter.cpp44 return ItinClassMap[InstRec->getValueAsDef("Itinerary")->getName()]; in getItinClassNumber()
83 OpR = OpR->getValueAsDef("RegClass"); in GetOperandInfo()
/external/llvm/utils/TableGen/
DCodeGenSchedule.cpp165 Record *ItinsDef = ModelKey->getValueAsDef("Itineraries"); in addProcModel()
173 ProcDef->getValueAsDef("SchedModel"), ModelKey); in addProcModel()
262 Record *MatchDef = (*AI)->getValueAsDef("MatchRW"); in collectSchedRW()
263 Record *AliasDef = (*AI)->getValueAsDef("AliasRW"); in collectSchedRW()
298 Record *AliasDef = (*AI)->getValueAsDef("AliasRW"); in collectSchedRW()
300 Record *MatchDef = (*AI)->getValueAsDef("MatchRW"); in collectSchedRW()
428 const CodeGenSchedRW &AliasRW = getSchedRW((*AI)->getValueAsDef("AliasRW")); in expandRWSeqForProc()
430 Record *ModelDef = (*AI)->getValueAsDef("SchedModel"); in expandRWSeqForProc()
508 Record *ItinDef = Inst->TheDef->getValueAsDef("Itinerary"); in collectSchedClasses()
564 getProcModel((*RWI)->getValueAsDef("SchedModel")); in collectSchedClasses()
[all …]
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()
DOptParserEmitter.cpp49 bool ASent = A->getValueAsDef("Kind")->getValueAsBit("Sentinel"); in CompareOptionRecords()
50 bool BSent = B->getValueAsDef("Kind")->getValueAsBit("Sentinel"); in CompareOptionRecords()
77 int APrec = A->getValueAsDef("Kind")->getValueAsInt("Precedence"); in CompareOptionRecords()
78 int BPrec = B->getValueAsDef("Kind")->getValueAsInt("Precedence"); in CompareOptionRecords()
220 OS << ", " << R.getValueAsDef("Kind")->getValueAsString("Name"); in EmitOptParser()
DSubtargetEmitter.cpp626 PRDef->getValueAsDef("Super"), ProcModel); in EmitProcessorResources()
659 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindWriteResources()
661 Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in FindWriteResources()
679 if (AliasDef == WR->getValueAsDef("WriteType") in FindWriteResources()
680 || SchedWrite.TheDef == WR->getValueAsDef("WriteType")) { in FindWriteResources()
711 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindReadAdvance()
713 Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in FindReadAdvance()
731 if (AliasDef == RA->getValueAsDef("ReadType") in FindReadAdvance()
732 || SchedRead.TheDef == RA->getValueAsDef("ReadType")) { in FindReadAdvance()
774 SchedModels.findProcResUnits(SubDef->getValueAsDef("Super"), PM); in ExpandProcResources()
[all …]
DCodeGenTarget.cpp176 return TargetRec->getValueAsDef("InstructionSet"); in getInstructionSet()
391 Ty = ::getValueType(R->getValueAsDef("Ty")); in ComplexPattern()
516 VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic()
552 VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic()
DIntrinsicEmitter.cpp257 MVT::SimpleValueType VT = getValueType(R->getValueAsDef("ElTy")); in EncodeFixedType()
270 MVT::SimpleValueType VT = getValueType(R->getValueAsDef("VT")); in EncodeFixedType()
304 return EncodeFixedType(R->getValueAsDef("ElTy"), ArgCodes, Sig); in EncodeFixedType()
DCodeGenSchedule.h282 Record *ModelDef = ProcDef->getValueAsDef("SchedModel"); in getModelOrItinDef()
283 Record *ItinsDef = ProcDef->getValueAsDef("ProcItin"); in getModelOrItinDef()
/external/clang/utils/TableGen/
DClangDiagnosticsEmitter.cpp174 assert(R->getValueAsDef("Class")->getName() != "CLASS_NOTE" && in groupDiagnostics()
355 const std::string &ClsName = Diag->getValueAsDef("Class")->getName(); in isExtension()
361 Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name"); in isOffByDefault()
472 const std::string &ClsName = Diag.getValueAsDef("Class")->getName(); in isError()
477 const std::string &ClsName = Diag.getValueAsDef("Class")->getName(); in isRemark()
540 OS << R.getValueAsDef("Class")->getName(); in EmitClangDiagsDefs()
542 << R.getValueAsDef("DefaultSeverity")->getValueAsString("Name"); in EmitClangDiagsDefs()
565 OS << ", " << R.getValueAsDef("SFINAE")->getName(); in EmitClangDiagsDefs()
DClangASTNodesEmitter.cpp164 Tree.insert(std::make_pair(R->getValueAsDef("Base"), R)); in run()
210 Record *B = R->getValueAsDef("Base"); in EmitClangDeclContext()

123