| /netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| H A D | CodeGenInstruction.cpp | 35 if (Init->getDef()->getName() != "outs") in CGIOperandList() 47 if (Init->getDef()->getName() != "ins") in CGIOperandList() 76 Record *Rec = Arg->getDef(); in CGIOperandList() 98 cast<DefInit>(MIOpInfo->getOperator())->getDef()->getName() != "ops") in CGIOperandList() 524 return Constraint->getDef()->isSubClassOf("TypedOperand") && in isOperandImpl() 525 Constraint->getDef()->getValueAsBit(PropertyName); in isOperandImpl() 542 Record *ResultRecord = ADI ? ADI->getDef() : nullptr; in tryAliasOpMatch() 544 if (ADI && ADI->getDef() == InstOpRec) { in tryAliasOpMatch() 560 if (ADI && ADI->getDef()->isSubClassOf("RegisterOperand")) in tryAliasOpMatch() 561 ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit(); in tryAliasOpMatch() [all …]
|
| H A D | PseudoLoweringEmitter.cpp | 80 if (DI->getDef()->isSubClassOf("Register") || in addDagOperandMapping() 81 DI->getDef()->getName() == "zero_reg") { in addDagOperandMapping() 83 OperandMap[BaseIdx + i].Data.Reg = DI->getDef(); in addDagOperandMapping() 93 if (DI->getDef() != Insn.Operands[BaseIdx + i].Rec) { in addDagOperandMapping() 95 "', operand type '" + DI->getDef()->getName() + in addDagOperandMapping() 98 PrintFatalNote(DI->getDef(), in addDagOperandMapping() 146 Record *Operator = OpDef->getDef(); in evaluateExpansion()
|
| H A D | RegisterBankEmitter.cpp | 60 const Record &getDef() const { return TheDef; } in getDef() function in __anon2e4a08010111::RegisterBank 67 for (const auto *RCDef : getDef().getValueAsListOfDefs("RegisterClasses")) in getExplicitlySpecifiedRegisterClasses() 308 PrintWarning(Bank.getDef().getLoc(), "Register bank names should be " in run() 311 PrintNote(Bank.getDef().getLoc(), "RegisterBank was declared here"); in run() 312 PrintNote(Class.getDef()->getLoc(), "RegisterClass was declared here"); in run()
|
| H A D | RISCVCompressInstEmitter.cpp | 209 if (DI->getDef()->isSubClassOf("Register")) { in addDagOperandMapping() 211 if (!validateRegister(DI->getDef(), Inst.Operands[i].Rec)) in addDagOperandMapping() 214 "'Register: '" + DI->getDef()->getName() + in addDagOperandMapping() 218 OperandMap[i].Data.Reg = DI->getDef(); in addDagOperandMapping() 225 if (!validateTypes(DI->getDef(), Inst.Operands[i].Rec, IsSourceInst)) in addDagOperandMapping() 229 DI->getDef()->getName() + in addDagOperandMapping() 288 return cast<DefInit>(Arg1)->getDef() == cast<DefInit>(Arg2)->getDef(); in validateArgsTypes() 498 !cast<DefInit>(Arg)->getDef()->isSubClassOf("SubtargetFeature")) in getReqFeatures() 501 AnyOfSet.insert({IsNot, cast<DefInit>(Arg)->getDef()->getName()}); in getReqFeatures() 503 FeaturesSet.insert({IsNot, cast<DefInit>(Arg)->getDef()->getName()}); in getReqFeatures()
|
| H A D | OptParserEmitter.cpp | 283 OS << getOptionName(*DI->getDef()); in EmitOptParser() 327 GroupFlags = DI->getDef()->getValueAsListInit("Flags"); in EmitOptParser() 328 OS << getOptionName(*DI->getDef()); in EmitOptParser() 335 OS << getOptionName(*DI->getDef()); in EmitOptParser() 359 OS << (NumFlags++ ? " | " : "") << cast<DefInit>(I)->getDef()->getName(); in EmitOptParser() 363 << cast<DefInit>(I)->getDef()->getName(); in EmitOptParser()
|
| H A D | GICombinerEmitter.cpp | 202 const Record &getDef() const { return TheDef; } in getDef() function in __anon31f3a7ff0111::CombineRule 285 if (OpI->getDef()->getName() == Def) in isSpecificDef() 296 if (OpI->getDef()->isSubClassOf(Cls)) in getDefOfSubClass() 297 return OpI->getDef(); in getDefOfSubClass() 310 if (OpI->getDef()->getName() == Name) in getDagWithSpecificOperator() 324 if (OpI->getDef()->isSubClassOf(Cls)) in getDagWithOperatorOfSubClass() 739 const Record &RuleDef = Rule->getDef(); in generateCodeForTree() 872 PrintFatalError(Rule->getDef().getLoc(), "All rules must have a root"); in run() 1048 Record *CombinerDef = RK.getDef(Combiner); in EmitGICombiner()
|
| H A D | CodeGenDAGPatterns.cpp | 1386 Record *R = DI->getDef(); in isImmAllOnesAllZerosMatch() 1450 Record *Def = Pred->getDef(); in getPredicateRecords() 1623 !static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint() 1630 auto VVT = getValueTypeByHwMode(DI->getDef(), T.getHwModes()); in ApplyTypeConstraint() 1852 Op = DI->getDef(); in GetNumNodeResults() 1951 return ((DI->getDef() == NDI->getDef()) in isIsomorphicTo() 2012 cast<DefInit>(Val)->getDef()->getName() == "node")) { in SubstituteFormalArguments() 2307 Rec = DI->getDef(); in getComplexPatternInfo() 2324 if (DI && DI->getDef()->isSubClassOf("Operand")) { in getNumMIResults() 2325 DagInit *MIOps = DI->getDef()->getValueAsDag("MIOperandInfo"); in getNumMIResults() [all …]
|
| H A D | SearchableTableEmitter.cpp | 129 auto *Entry = Field.Enum->EntryMap[cast<DefInit>(I)->getDef()]; in primaryRepresentation() 141 return DI->getDef()->isSubClassOf("Intrinsic"); in isIntrinsic() 148 Intr = std::make_unique<CodeGenIntrinsic>(cast<DefInit>(I)->getDef(), in getIntrinsic() 246 Record *LHSr = cast<DefInit>(LHSI)->getDef(); in compareBy() 247 Record *RHSr = cast<DefInit>(RHSI)->getDef(); in compareBy() 262 auto LHSr = cast<DefInit>(LHSI)->getDef(); in compareBy() 263 auto RHSr = cast<DefInit>(RHSI)->getDef(); in compareBy() 534 if (Record *TypeRec = Records.getDef(Type->getValue())) { in parseFieldType()
|
| H A D | GlobalISelEmitter.cpp | 380 if (VDefInit->getDef()->isSubClassOf("RegisterOperand")) in getInitValueAsRegClass() 381 return VDefInit->getDef()->getValueAsDef("RegClass"); in getInitValueAsRegClass() 382 if (VDefInit->getDef()->isSubClassOf("RegisterClass")) in getInitValueAsRegClass() 383 return VDefInit->getDef(); in getInitValueAsRegClass() 1396 RC.getDef() == cast<RegisterBankOperandMatcher>(&B)->RC.getDef(); in isIdentical() 3944 &Target.getInstruction(RK.getDef("G_CONSTANT"))); in createAndImportSelDAGMatcher() 4045 Record *CCDef = DI ? DI->getDef() : nullptr; in createAndImportSelDAGMatcher() 4156 auto *ChildRec = ChildDefInit->getDef(); in getSrcChildName() 4292 auto *ChildRec = ChildDefInit->getDef(); in importChildMatcher() 4352 = Target.getInstruction(RK.getDef("G_BUILD_VECTOR")); in importChildMatcher() [all …]
|
| H A D | OptRSTEmitter.cpp | 46 OptionsByGroup[DI->getDef()->getValueAsString("Name")].push_back(Opts[i]); in EmitOptRST()
|
| H A D | CodeEmitterGen.cpp | 272 EncodingInfoByHwMode EBM(DI->getDef(), HWM); in getInstructionCase() 369 EncodingInfoByHwMode EBM(DI->getDef(), HWM); in emitInstructionBaseValues() 411 EncodingInfoByHwMode EBM(DI->getDef(), HWM); in run()
|
| H A D | X86FoldTablesEmitter.cpp | 306 Record *AltRegInstRec = Records.getDef(AltRegInstStr); in getAltRegInst() 650 Record *RegInstIter = Records.getDef(Entry.RegInstStr); in run() 651 Record *MemInstIter = Records.getDef(Entry.MemInstStr); in run()
|
| H A D | SubtargetFeatureInfo.cpp | 144 !cast<DefInit>(Arg)->getDef()->isSubClassOf("SubtargetFeature")) in emitComputeAssemblerAvailableFeatures()
|
| H A D | FastISelEmitter.cpp | 261 Record *OpLeafRec = OpDI->getDef(); in initialize() 432 Record *OpLeafRec = cast<DefInit>(Op->getLeafValue())->getDef(); in PhyRegForNode() 503 SubRegNo = getQualifiedName(SR->getDef()); in collectPatterns()
|
| H A D | FixedLenDecoderEmitter.cpp | 1236 !cast<DefInit>(Arg)->getDef()->isSubClassOf("SubtargetFeature")) in emitPredicateMatch() 1791 Record *Record = cast<DefInit>(TI)->getDef(); in findOperandDecoderMethod() 1972 TypeRecord = DI->getDef(); in populateInstruction() 2051 Record *TypeRecord = cast<DefInit>(TI)->getDef(); in populateInstruction() 2431 EncodingInfoByHwMode EBM(DI->getDef(), HWM); in run() 2449 EncodingInfoByHwMode EBM(DI->getDef(), HWM); in run()
|
| /netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/ |
| H A D | ClangOptionDocEmitter.cpp | 62 R = G->getDef(); in extractDocumentation() 73 Group = SkipFlattened(G->getDef()); in extractDocumentation() 79 Aliases[A->getDef()].push_back(R); in extractDocumentation() 98 Group = SkipFlattened(G->getDef()); in extractDocumentation() 382 const Record *DocInfo = Records.getDef("GlobalDocumentation"); in EmitClangOptDocs()
|
| H A D | ClangSACheckersEmitter.cpp | 32 name = getPackageFullName(DI->getDef()); in getParentPackageFullName() 136 return isHidden(DI->getDef()); in isHidden()
|
| H A D | ClangDiagnosticsEmitter.cpp | 86 std::string CatName = getCategoryFromDiagGroup(Group->getDef(), in getDiagnosticCategory() 167 std::string(DI->getDef()->getValueAsString("GroupName")); in groupDiagnostics() 204 if (cast<DefInit>(Diag->getValueInit("Group"))->getDef() == Def) { in groupDiagnostics() 224 if (!cast<DefInit>(Diag->getValueInit("Group"))->getDef()->isAnonymous()) in groupDiagnostics() 363 const Record *GroupRec = Group->getDef(); in compute() 382 if (groupInPedantic(Group->getDef())) in compute() 1253 const Record *GroupRec = Group->getDef(); in EmitClangDiagsDefs() 1286 std::string(DI->getDef()->getValueAsString("GroupName"))); in EmitClangDiagsDefs() 1709 const Record *Documentation = Records.getDef("GlobalDocumentation"); in EmitClangDiagDocs()
|
| H A D | MveEmitter.cpp | 1064 return getType(Def->getDef(), Param); in getType() 1092 Record *Op = cast<DefInit>(D->getOperator())->getDef(); in getType() 1158 Record *Op = cast<DefInit>(D->getOperator())->getDef(); in getCodeForDag() 1207 Record *TypeRec = cast<DefInit>(D->getArg(0))->getDef(); in getCodeForDag() 1219 Record *TypeRec = cast<DefInit>(D->getArg(0))->getDef(); in getCodeForDag() 1290 Record *Rec = DI->getDef(); in getCodeForDagArg() 1377 if (TypeDI->getDef()->isSubClassOf("unpromoted")) in ACLEIntrinsic() 1389 Record *TypeRec = TypeDI->getDef(); in ACLEIntrinsic() 1436 Record *MainOp = cast<DefInit>(CodeDag->getOperator())->getDef(); in ACLEIntrinsic()
|
| H A D | ClangOpcodesEmitter.cpp | 74 for (auto *Type : TypeClass->getDef()->getValueAsListOfDefs("Types")) { in Enumerate() 295 auto Cases = TypeClass->getDef()->getValueAsListOfDefs("Types"); in EmitGroup()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/ |
| H A D | SetTheory.cpp | 214 cast<DefInit>(Expr->getOperator())->getDef()->getRecords(); in apply() 225 Record *Rec = Records.getDef(OS.str()); in apply() 285 if (const RecVec *Result = expand(Def->getDef())) in evaluate() 287 Elts.insert(Def->getDef()); in evaluate() 302 auto I = Operators.find(OpInit->getDef()->getName()); in evaluate()
|
| H A D | Record.cpp | 639 return DI->getDef(); in getElementAsRecord() 747 D = CurRec->getRecords().getDef(Name->getValue()); in Fold() 973 if (LOp && ROp && LOp->getDef() != ROp->getDef()) { in Fold() 1305 Record *Val = RHSd->getDef(); in Fold() 1307 Val = MHSd->getDef(); in Fold() 1949 Record *Def = DI->getDef(); in Fold() 1964 Init *FieldVal = DI->getDef()->getValue(FieldName)->getValue(); in isConcrete() 2159 return DefI->getDef(); in getOperatorAsDef() 2527 Defs.push_back(DI->getDef()); in getValueAsListOfDefs() 2588 return DI->getDef(); in getValueAsDef() [all …]
|
| H A D | JSONBackend.cpp | 78 obj["def"] = Def->getDef()->getName(); in translateInit()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanValue.h | 174 VPDef *getDef() { return Def; } in getDef() function 180 assert(!getDef() && in getLiveInIRValue() 295 assert(V->getDef() == this && in addDefinedValue() 303 assert(V->getDef() == this && in removeDefinedValue()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | MemoryDependenceAnalysis.cpp | 224 return MemDepResult::getDef(Inst); in getCallDependencyFrom() 357 return MemDepResult::getDef(ClosestDependency); in getInvariantGroupPointerDependency() 364 MemDepResult::getDef(ClosestDependency), nullptr)); in getInvariantGroupPointerDependency() 460 return MemDepResult::getDef(II); in getSimplePointerDependencyFrom() 471 return MemDepResult::getDef(II); in getSimplePointerDependencyFrom() 521 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom() 544 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom() 585 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom() 600 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom()
|