| /openbsd-src/gnu/llvm/llvm/utils/TableGen/ |
| H A D | CodeGenInstruction.cpp | 34 if (Init->getDef()->getName() != "outs") in CGIOperandList() 46 if (Init->getDef()->getName() != "ins") in CGIOperandList() 79 Record *Rec = Arg->getDef(); in CGIOperandList() 101 cast<DefInit>(MIOpInfo->getOperator())->getDef()->getName() != "ops") in CGIOperandList() 173 ->getDef() in CGIOperandList() 592 return Constraint->getDef()->isSubClassOf("TypedOperand") && in isOperandImpl() 593 Constraint->getDef()->getValueAsBit(PropertyName); in isOperandImpl() 610 Record *ResultRecord = ADI ? ADI->getDef() : nullptr; in tryAliasOpMatch() 612 if (ADI && ADI->getDef() == InstOpRec) { in tryAliasOpMatch() 628 if (ADI && ADI->getDef()->isSubClassOf("RegisterOperand")) 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() 147 Record *Operator = OpDef->getDef(); in evaluateExpansion()
|
| H A D | RegisterBankEmitter.cpp | 59 const Record &getDef() const { return TheDef; } in getDef() function in __anon5db183cd0111::RegisterBank 66 for (const auto *RCDef : getDef().getValueAsListOfDefs("RegisterClasses")) in getExplicitlySpecifiedRegisterClasses() 305 PrintWarning(Bank.getDef().getLoc(), "Register bank names should be " in run() 308 PrintNote(Bank.getDef().getLoc(), "RegisterBank was declared here"); in run() 309 PrintNote(Class.getDef()->getLoc(), "RegisterClass was declared here"); in run()
|
| H A D | CompressInstEmitter.cpp | 218 if (DI->getDef()->isSubClassOf("Register")) { in addDagOperandMapping() 220 if (!validateRegister(DI->getDef(), Inst.Operands[i].Rec)) in addDagOperandMapping() 223 "'Register: '" + DI->getDef()->getName() + in addDagOperandMapping() 227 OperandMap[i].Data.Reg = DI->getDef(); in addDagOperandMapping() 234 if (!validateTypes(DI->getDef(), Inst.Operands[i].Rec, IsSourceInst)) in addDagOperandMapping() 238 DI->getDef()->getName() + in addDagOperandMapping() 297 return cast<DefInit>(Arg1)->getDef() == cast<DefInit>(Arg2)->getDef(); in validateArgsTypes() 507 !cast<DefInit>(Arg)->getDef()->isSubClassOf("SubtargetFeature")) in getReqFeatures() 510 AnyOfSet.insert({IsNot, cast<DefInit>(Arg)->getDef()->getName()}); in getReqFeatures() 512 FeaturesSet.insert({IsNot, cast<DefInit>(Arg)->getDef()->getName()}); in getReqFeatures()
|
| H A D | OptParserEmitter.cpp | 319 OS << getOptionName(*DI->getDef()); in EmitOptParser() 363 GroupFlags = DI->getDef()->getValueAsListInit("Flags"); in EmitOptParser() 364 OS << getOptionName(*DI->getDef()); in EmitOptParser() 371 OS << getOptionName(*DI->getDef()); in EmitOptParser() 395 OS << (NumFlags++ ? " | " : "") << cast<DefInit>(I)->getDef()->getName(); in EmitOptParser() 399 << cast<DefInit>(I)->getDef()->getName(); in EmitOptParser()
|
| H A D | GICombinerEmitter.cpp | 202 const Record &getDef() const { return TheDef; } in getDef() function in __anon8971c0cb0111::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() 772 Record *Def = Pred->getDef(); in generateCodeForTree() 898 PrintFatalError(Rule->getDef().getLoc(), "All rules must have a root"); in run() 1073 Record *CombinerDef = RK.getDef(Combiner); in EmitGICombiner()
|
| H A D | CodeGenDAGPatterns.cpp | 1439 Record *R = DI->getDef(); in isImmAllOnesAllZerosMatch() 1503 Record *Def = Pred->getDef(); in getPredicateRecords() 1678 !cast<DefInit>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint() 1685 auto VVT = getValueTypeByHwMode(DI->getDef(), T.getHwModes()); in ApplyTypeConstraint() 1908 Op = DI->getDef(); in GetNumNodeResults() 2007 return ((DI->getDef() == NDI->getDef()) in isIsomorphicTo() 2068 cast<DefInit>(Val)->getDef()->getName() == "node")) { in SubstituteFormalArguments() 2365 Rec = DI->getDef(); in getComplexPatternInfo() 2382 if (DI && DI->getDef()->isSubClassOf("Operand")) { in getNumMIResults() 2383 DagInit *MIOps = DI->getDef()->getValueAsDag("MIOperandInfo"); in getNumMIResults() [all …]
|
| H A D | SearchableTableEmitter.cpp | 127 auto *Entry = Field.Enum->EntryMap[cast<DefInit>(I)->getDef()]; in primaryRepresentation() 139 return DI->getDef()->isSubClassOf("Intrinsic"); in isIntrinsic() 146 Intr = std::make_unique<CodeGenIntrinsic>(cast<DefInit>(I)->getDef(), in getIntrinsic() 244 Record *LHSr = cast<DefInit>(LHSI)->getDef(); in compareBy() 245 Record *RHSr = cast<DefInit>(RHSI)->getDef(); in compareBy() 260 auto LHSr = cast<DefInit>(LHSI)->getDef(); in compareBy() 261 auto RHSr = cast<DefInit>(RHSI)->getDef(); in compareBy() 532 if (Record *TypeRec = Records.getDef(Type->getValue())) { in parseFieldType()
|
| H A D | VarLenCodeEmitterGen.cpp | 100 StringRef OpName = cast<DefInit>(Op)->getDef()->getName(); in getCustomCoders() 230 EncodingInfoByHwMode EBM(DI->getDef(), HWM); in run() 373 EncodingInfoByHwMode EBM(DI->getDef(), HWM); in emitInstructionBaseValues() 422 EncodingInfoByHwMode EBM(DI->getDef(), HWM); in getInstructionCase()
|
| H A D | CodeEmitterGen.cpp | 302 EncodingInfoByHwMode EBM(DI->getDef(), HWM); in getInstructionCase() 402 EncodingInfoByHwMode EBM(DI->getDef(), HWM); in emitInstructionBaseValues() 450 EncodingInfoByHwMode EBM(DI->getDef(), HWM); in run()
|
| H A D | Attributes.cpp | 118 OS << " | AttributeProperty::" << cast<DefInit>(P)->getDef()->getName(); in emitAttributeProperties()
|
| H A D | GlobalISelEmitter.cpp | 396 if (VDefInit->getDef()->isSubClassOf("RegisterOperand")) in getInitValueAsRegClass() 397 return VDefInit->getDef()->getValueAsDef("RegClass"); in getInitValueAsRegClass() 398 if (VDefInit->getDef()->isSubClassOf("RegisterClass")) in getInitValueAsRegClass() 399 return VDefInit->getDef(); in getInitValueAsRegClass() 1414 RC.getDef() == cast<RegisterBankOperandMatcher>(&B)->RC.getDef(); in isIdentical() 3999 &Target.getInstruction(RK.getDef("G_CONSTANT"))); in createAndImportSelDAGMatcher() 4113 Record *CCDef = DI ? DI->getDef() : nullptr; in createAndImportSelDAGMatcher() 4224 auto *ChildRec = ChildDefInit->getDef(); in getSrcChildName() 4360 auto *ChildRec = ChildDefInit->getDef(); in importChildMatcher() 4420 = Target.getInstruction(RK.getDef("G_BUILD_VECTOR")); in importChildMatcher() [all …]
|
| H A D | OptRSTEmitter.cpp | 39 OptionsByGroup[DI->getDef()->getValueAsString("Name")].push_back(Opts[i]); in EmitOptRST()
|
| H A D | X86FoldTablesEmitter.cpp | 249 Record *AltRegInstRec = Records.getDef(AltRegInstStr); in getAltRegInst() 588 Record *RegInstIter = Records.getDef(Entry.RegInstStr); in run() 589 Record *MemInstIter = Records.getDef(Entry.MemInstStr); in run()
|
| H A D | SubtargetFeatureInfo.cpp | 115 if (!D->getDef()->isSubClassOf("SubtargetFeature")) in emitFeaturesAux()
|
| H A D | DecoderEmitter.cpp | 1223 if (!D->getDef()->isSubClassOf("SubtargetFeature")) in emitPredicateMatchAux() 1866 Operands.push_back(getOpInfo(cast<DefInit>(Arg)->getDef())); in parseVarLenInstOperand() 2137 TypeRecord = DI->getDef(); in populateInstruction() 2225 Record *OpTypeRec = cast<DefInit>(OpInit)->getDef(); in populateInstruction() 2253 getOpInfo(cast<DefInit>(SubOps->getArg(i))->getDef()); in populateInstruction() 2268 OpInfo = getOpInfo(cast<DefInit>(SubOps->getArg(0))->getDef()); in populateInstruction() 2628 EncodingInfoByHwMode EBM(DI->getDef(), HWM); in run() 2646 EncodingInfoByHwMode EBM(DI->getDef(), HWM); in run()
|
| /openbsd-src/gnu/llvm/llvm/lib/TableGen/ |
| H A D | SetTheory.cpp | 213 cast<DefInit>(Expr->getOperator())->getDef()->getRecords(); in apply() 224 Record *Rec = Records.getDef(OS.str()); in apply() 284 if (const RecVec *Result = expand(Def->getDef())) in evaluate() 286 Elts.insert(Def->getDef()); in evaluate() 301 auto I = Operators.find(OpInit->getDef()->getName()); in evaluate()
|
| H A D | Record.cpp | 701 return DI->getDef(); in getElementAsRecord() 809 D = CurRec->getRecords().getDef(Name->getValue()); in Fold() 1127 if (LOp && ROp && LOp->getDef() != ROp->getDef()) { in Fold() 1450 Record *Val = RHSd->getDef(); in Fold() 1452 Val = MHSd->getDef(); in Fold() 1793 Record *D = CheckType->getRecordKeeper().getDef(Name->getValue()); in Fold() 2155 Record *Def = DI->getDef(); in Fold() 2170 Init *FieldVal = DI->getDef()->getValue(FieldName)->getValue(); in isConcrete() 2368 return DefI->getDef(); in getOperatorAsDef() 2748 Defs.push_back(DI->getDef()); in getValueAsListOfDefs() [all …]
|
| H A D | JSONBackend.cpp | 78 obj["def"] = Def->getDef()->getName(); in translateInit()
|
| /openbsd-src/gnu/llvm/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() 434 const Record *DocInfo = Records.getDef("GlobalDocumentation"); in EmitClangOptDocs()
|
| H A D | ClangSACheckersEmitter.cpp | 33 name = getPackageFullName(DI->getDef(), Sep); in getParentPackageFullName() 135 return isHidden(DI->getDef()); in isHidden()
|
| H A D | ClangDiagnosticsEmitter.cpp | 86 std::string CatName = getCategoryFromDiagGroup(Group->getDef(), in getDiagnosticCategory() 168 std::string(DI->getDef()->getValueAsString("GroupName")); in groupDiagnostics() 206 if (cast<DefInit>(Diag->getValueInit("Group"))->getDef() == Def) { in groupDiagnostics() 226 if (!cast<DefInit>(Diag->getValueInit("Group"))->getDef()->isAnonymous()) in groupDiagnostics() 366 const Record *GroupRec = Group->getDef(); in compute() 385 if (groupInPedantic(Group->getDef())) in compute() 1253 const Record *GroupRec = Group->getDef(); in EmitClangDiagsDefs() 1286 std::string(DI->getDef()->getValueAsString("GroupName"))); in EmitClangDiagsDefs() 1724 const Record *Documentation = Records.getDef("GlobalDocumentation"); in EmitClangDiagDocs()
|
| H A D | MveEmitter.cpp | 1062 return getType(Def->getDef(), Param); in getType() 1090 Record *Op = cast<DefInit>(D->getOperator())->getDef(); in getType() 1156 Record *Op = cast<DefInit>(D->getOperator())->getDef(); in getCodeForDag() 1213 Record *TypeRec = cast<DefInit>(D->getArg(0))->getDef(); in getCodeForDag() 1225 Record *TypeRec = cast<DefInit>(D->getArg(0))->getDef(); in getCodeForDag() 1296 Record *Rec = DI->getDef(); in getCodeForDagArg() 1383 if (TypeDI->getDef()->isSubClassOf("unpromoted")) in ACLEIntrinsic() 1395 Record *TypeRec = TypeDI->getDef(); in ACLEIntrinsic() 1442 Record *MainOp = cast<DefInit>(CodeDag->getOperator())->getDef(); in ACLEIntrinsic()
|
| H A D | ClangOpcodesEmitter.cpp | 74 for (auto *Type : TypeClass->getDef()->getValueAsListOfDefs("Types")) { in Enumerate() 303 auto Cases = TypeClass->getDef()->getValueAsListOfDefs("Types"); in EmitGroup()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | MemoryDependenceAnalysis.cpp | 218 return MemDepResult::getDef(Inst); in getCallDependencyFrom() 351 return MemDepResult::getDef(ClosestDependency); in getInvariantGroupPointerDependency() 358 MemDepResult::getDef(ClosestDependency), nullptr)); in getInvariantGroupPointerDependency() 451 return MemDepResult::getDef(II); in getSimplePointerDependencyFrom() 462 return MemDepResult::getDef(II); in getSimplePointerDependencyFrom() 512 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom() 531 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom() 577 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom() 592 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom() 598 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom()
|