Home
last modified time | relevance | path

Searched refs:getDef (Results 1 – 25 of 35) sorted by relevance

12

/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DCodeGenInstruction.cpp36 if (Init->getDef()->getName() != "outs") in CGIOperandList()
45 if (Init->getDef()->getName() != "ins") in CGIOperandList()
69 Record *Rec = Arg->getDef(); in CGIOperandList()
507 Record *ResultRecord = ADI ? ADI->getDef() : nullptr; in tryAliasOpMatch()
509 if (ADI && ADI->getDef() == InstOpRec) { in tryAliasOpMatch()
564 if (ADI && ADI->getDef()->getName() == "zero_reg") { in tryAliasOpMatch()
610 ADI->getDef()->isSubClassOf("Operand")) { in tryAliasOpMatch()
651 ResultInst = &T.getInstruction(DI->getDef()); in CodeGenInstAlias()
664 if (Entry && Entry != ADI->getDef()) in CodeGenInstAlias()
667 ADI->getDef()->getName() + "!"); in CodeGenInstAlias()
[all …]
H A DOptParserEmitter.cpp183 OS << getOptionName(*DI->getDef()); in EmitOptParser()
231 GroupFlags = DI->getDef()->getValueAsListInit("Flags"); in EmitOptParser()
232 OS << getOptionName(*DI->getDef()); in EmitOptParser()
239 OS << getOptionName(*DI->getDef()); in EmitOptParser()
264 << cast<DefInit>(I)->getDef()->getName(); in EmitOptParser()
268 << cast<DefInit>(I)->getDef()->getName(); in EmitOptParser()
H A DPseudoLoweringEmitter.cpp81 if (DI->getDef()->isSubClassOf("Register") || in addDagOperandMapping()
82 DI->getDef()->getName() == "zero_reg") { in addDagOperandMapping()
84 OperandMap[BaseIdx + i].Data.Reg = DI->getDef(); in addDagOperandMapping()
93 if (DI->getDef() != Insn.Operands[BaseIdx + i].Rec) in addDagOperandMapping()
95 "Pseudo operand type '" + DI->getDef()->getName() + in addDagOperandMapping()
135 Record *Operator = OpDef->getDef(); in evaluateExpansion()
H A DRISCVCompressInstEmitter.cpp201 if (DI->getDef()->isSubClassOf("Register")) { in addDagOperandMapping()
203 if (!validateRegister(DI->getDef(), Inst.Operands[i].Rec)) in addDagOperandMapping()
206 "'Register: '" + DI->getDef()->getName() + in addDagOperandMapping()
210 OperandMap[i].Data.Reg = DI->getDef(); in addDagOperandMapping()
217 if (!validateTypes(DI->getDef(), Inst.Operands[i].Rec, IsSourceInst)) in addDagOperandMapping()
221 DI->getDef()->getName() + in addDagOperandMapping()
281 return Type1->getDef() == Type2->getDef(); in validateArgsTypes()
416 Record *Operator = OpDef->getDef(); in evaluateCompressPat()
433 Record *DestOperator = DestOpDef->getDef(); in evaluateCompressPat()
H A DRegisterBankEmitter.cpp60 const Record &getDef() const { return TheDef; } in getDef() function in __anon7080cf5b0111::RegisterBank
67 for (const auto &RCDef : getDef().getValueAsListOfDefs("RegisterClasses")) in getExplictlySpecifiedRegisterClasses()
308 PrintWarning(Bank.getDef().getLoc(), "Register bank names should be " in run()
311 PrintNote(Bank.getDef().getLoc(), "RegisterBank was declared here"); in run()
H A DCodeGenDAGPatterns.cpp1710 Op = DI->getDef(); in GetNumNodeResults()
1809 return ((DI->getDef() == NDI->getDef()) in isIsomorphicTo()
2161 Rec = DI->getDef(); in getComplexPatternInfo()
2622 Record *R = DI->getDef(); in ParseTreePattern()
2678 Record *Operator = OpDef->getDef(); in ParseTreePattern()
2970 Record *N = Records.getDef(Name); in getSDNodeNamed()
3175 Rec = DI->getDef(); in HandleUse()
3360 Record *LeafRec = DI->getDef(); in AnalyzeNode()
3465 Record *Operator = OpDef->getDef(); in hasNullFragReference()
3784 Preds.push_back(Pred->getDef()); in makePredList()
[all …]
H A DSearchableTableEmitter.cpp124 return Field.Enum->EntryMap[cast<DefInit>(I)->getDef()]->first; in primaryRepresentation()
131 return DI->getDef()->isSubClassOf("Intrinsic"); in isIntrinsic()
138 Intr = make_unique<CodeGenIntrinsic>(cast<DefInit>(I)->getDef()); in getIntrinsic()
233 Record *LHSr = cast<DefInit>(LHSI)->getDef(); in compareBy()
234 Record *RHSr = cast<DefInit>(RHSI)->getDef(); in compareBy()
249 auto LHSr = cast<DefInit>(LHSI)->getDef(); in compareBy()
250 auto RHSr = cast<DefInit>(RHSI)->getDef(); in compareBy()
530 Record *TypeRec = DI->getDef(); in parseFieldType()
H A DX86FoldTablesEmitter.cpp300 Record *AltRegInstRec = Records.getDef(AltRegInstStr); in getAltRegInst()
635 Record *RegInstIter = Records.getDef(Entry.RegInstStr); in run()
636 Record *MemInstIter = Records.getDef(Entry.MemInstStr); in run()
H A DGlobalISelEmitter.cpp347 if (VDefInit->getDef()->isSubClassOf("RegisterOperand")) in getInitValueAsRegClass()
348 return VDefInit->getDef()->getValueAsDef("RegClass"); in getInitValueAsRegClass()
349 if (VDefInit->getDef()->isSubClassOf("RegisterClass")) in getInitValueAsRegClass()
350 return VDefInit->getDef(); in getInitValueAsRegClass()
1261 RC.getDef() == cast<RegisterBankOperandMatcher>(&B)->RC.getDef(); in isIdentical()
3168 &Target.getInstruction(RK.getDef("G_CONSTANT"))); in createAndImportSelDAGMatcher()
3463 auto *ChildRec = ChildDefInit->getDef(); in importChildMatcher()
3581 auto *ChildRec = ChildDefInit->getDef(); in importExplicitUseRenderer()
3691 DstI = &Target.getInstruction(RK.getDef("COPY")); in createInstructionRenderer()
3693 DstI = &Target.getInstruction(RK.getDef("COPY")); in createInstructionRenderer()
[all …]
H A DFastISelEmitter.cpp262 Record *OpLeafRec = OpDI->getDef(); in initialize()
437 Record *OpLeafRec = cast<DefInit>(Op->getLeafValue())->getDef(); in PhyRegForNode()
508 SubRegNo = getQualifiedName(SR->getDef()); in collectPatterns()
H A DInstrDocsEmitter.cpp166 cast<DefInit>(Op.MIOperandInfo->getArg(SubOpIdx))->getDef(); in EmitInstrDocs()
H A DX86EVEX2VEXTablesEmitter.cpp226 Record *AltInstRec = Records.getDef(AltInstStr); in run()
H A DDAGISelMatcherGen.cpp231 Record *LeafRec = DI->getDef(); in EmitLeafMatchCode()
659 Record *Def = DI->getDef(); in EmitResultLeafAsOperand()
H A DCodeGenRegisters.cpp784 RSI = RegSizeInfoByHwMode(DI->getDef(), RegBank.getHwModes()); in CodeGenRegisterClass()
828 assert(!getDef() && "Only synthesized classes can inherit properties"); in inheritProperties()
977 if (!RC.getDef()) in computeSubClasses()
1227 if (Record *Def = RC->getDef()) in addToMaps()
H A DCodeGenRegisters.h344 Record *getDef() const { return TheDef; } in getDef() function
/freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/
H A DClangOptionDocEmitter.cpp64 R = G->getDef(); in extractDocumentation()
75 Group = SkipFlattened(G->getDef()); in extractDocumentation()
81 Aliases[A->getDef()].push_back(R); in extractDocumentation()
100 Group = SkipFlattened(G->getDef()); in extractDocumentation()
389 const Record *DocInfo = Records.getDef("GlobalDocumentation"); in EmitClangOptDocs()
H A DClangDiagnosticsEmitter.cpp85 std::string CatName = getCategoryFromDiagGroup(Group->getDef(), in getDiagnosticCategory()
171 std::string GroupName = DI->getDef()->getValueAsString("GroupName"); in groupDiagnostics()
227 const Record *NextDiagGroup = GroupInit->getDef(); in groupDiagnostics()
246 const Record *NextDiagGroup = GroupInit->getDef(); in groupDiagnostics()
382 const Record *GroupRec = Group->getDef(); in compute()
401 if (groupInPedantic(Group->getDef())) in compute()
1229 const Record *GroupRec = Group->getDef(); in EmitClangDiagsDefs()
1261 DiagsInGroup.find(DI->getDef()->getValueAsString("GroupName")); in EmitClangDiagsDefs()
1681 const Record *Documentation = Records.getDef("GlobalDocumentation"); in EmitClangDiagDocs()
H A DClangSACheckersEmitter.cpp32 name = getPackageFullName(DI->getDef()); in getParentPackageFullName()
/freebsd-12.1/contrib/llvm/lib/TableGen/
H A DSetTheory.cpp215 cast<DefInit>(Expr->getOperator())->getDef()->getRecords(); in apply()
226 Record *Rec = Records.getDef(OS.str()); in apply()
286 if (const RecVec *Result = expand(Def->getDef())) in evaluate()
288 Elts.insert(Def->getDef()); in evaluate()
303 auto I = Operators.find(OpInit->getDef()->getName()); in evaluate()
H A DRecord.cpp628 return DI->getDef(); in getElementAsRecord()
724 D = CurRec->getRecords().getDef(Name->getValue()); in Fold()
856 if (LOp->getDef() != ROp->getDef()) { in Fold()
1095 Record *Val = RHSd->getDef(); in Fold()
1097 Val = MHSd->getDef(); in Fold()
1684 Record *Def = DI->getDef(); in Fold()
2027 Defs.push_back(DI->getDef()); in getValueAsListOfDefs()
2088 return DI->getDef(); in getValueAsDef()
H A DJSONBackend.cpp82 obj["def"] = Def->getDef()->getName(); in translateInit()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp219 return MemDepResult::getDef(Inst); in getCallDependencyFrom()
428 return MemDepResult::getDef(ClosestDependency); in getInvariantGroupPointerDependency()
435 MemDepResult::getDef(ClosestDependency), nullptr)); in getInvariantGroupPointerDependency()
537 return MemDepResult::getDef(II); in getSimplePointerDependencyFrom()
584 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom()
611 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom()
652 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom()
667 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom()
H A DIVDescriptors.cpp925 auto getDef = [&](const Value *Val) -> Value * { in getCastsForInductionPHI() local
971 Val = getDef(Val); in getCastsForInductionPHI()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DMemoryDependenceAnalysis.h132 static MemDepResult getDef(Instruction *Inst) { in getDef() function
/freebsd-12.1/contrib/llvm/include/llvm/TableGen/
H A DRecord.h1111 Record *getDef() const { return Def; } in getDef() function
1616 Record *getDef(StringRef Name) const { in getDef() function
1622 if (Record *R = getDef(Name)) in getGlobal()
1645 assert(!getDef(Name)); in addExtraGlobal()

12