/external/clang/utils/TableGen/ |
D | ClangSACheckersEmitter.cpp | 32 if (DefInit *DI = dyn_cast<DefInit>(R.getValueInit("ParentPackage"))) in isHidden() 46 if (DefInit *DI = dyn_cast<DefInit>(R->getValueInit("ParentPackage"))) in getParentPackageFullName() 133 if (DefInit * in EmitClangSACheckers() 134 DI = dyn_cast<DefInit>(R->getValueInit("ParentPackage"))) in EmitClangSACheckers() 154 while (DefInit *DI in EmitClangSACheckers() 155 = dyn_cast<DefInit>(currR->getValueInit("ParentPackage"))) { in EmitClangSACheckers() 161 if (DefInit *DI = dyn_cast<DefInit>(R->getValueInit("Group"))) in EmitClangSACheckers() 168 if (DefInit *DI = dyn_cast<DefInit>(packages[i]->getValueInit("Group"))) in EmitClangSACheckers() 209 if (DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) in EmitClangSACheckers() 237 if (DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) in EmitClangSACheckers()
|
D | ClangDiagnosticsEmitter.cpp | 84 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) { in getDiagnosticCategory() 171 DefInit *DI = dyn_cast<DefInit>(R->getValueInit("Group")); in groupDiagnostics() 231 const DefInit *GroupInit = cast<DefInit>((*DI)->getValueInit("Group")); in groupDiagnostics() 262 const DefInit *GroupInit = cast<DefInit>((*DI)->getValueInit("Group")); in groupDiagnostics() 274 GroupInit = cast<DefInit>((*DI)->getValueInit("Group")); in groupDiagnostics() 403 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) { in compute() 422 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) in compute() 519 if (DefInit *Group = dyn_cast<DefInit>(R.getValueInit("Group"))) { in EmitClangDiagsDefs() 529 if (!isa<DefInit>(R.getValueInit("Group"))) { in EmitClangDiagsDefs() 550 if (DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) { in EmitClangDiagsDefs()
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | CodeGenInstruction.cpp | 35 if (DefInit *Init = dynamic_cast<DefInit*>(OutDI->getOperator())) { in CGIOperandList() 44 if (DefInit *Init = dynamic_cast<DefInit*>(InDI->getOperator())) { in CGIOperandList() 63 DefInit *Arg = dynamic_cast<DefInit*>(ArgInit); in CGIOperandList() 83 if (!dynamic_cast<DefInit*>(MIOpInfo->getOperator()) || in CGIOperandList() 84 dynamic_cast<DefInit*>(MIOpInfo->getOperator()) in CGIOperandList() 414 DefInit *ADI = dynamic_cast<DefInit*>(Arg); in tryAliasOpMatch() 432 InstOpRec = dynamic_cast<DefInit*>(DI->getArg(0))->getDef(); in tryAliasOpMatch() 486 DefInit *DI = dynamic_cast<DefInit*>(Result->getOperator()); in CodeGenInstAlias() 496 DefInit *ADI = dynamic_cast<DefInit*>(Result->getArg(i)); in CodeGenInstAlias() 539 Record *SubRec = dynamic_cast<DefInit*>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias()
|
D | CodeGenDAGPatterns.cpp | 586 if (dynamic_cast<DefInit*>(N->getLeafValue()) != NULL) in FindDepVarsOf() 745 if (DefInit *Pred = dynamic_cast<DefInit*>(Predicates->getElement(i))) { in getPredicateCheck() 869 !dynamic_cast<DefInit*>(NodeToApply->getLeafValue()) || in ApplyTypeConstraint() 870 !static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint() 874 getValueType(static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef()); in ApplyTypeConstraint() 1026 if (Tree && dynamic_cast<DefInit*>(Tree->getOperator())) in GetNumNodeResults() 1027 Op = dynamic_cast<DefInit*>(Tree->getOperator())->getDef(); in GetNumNodeResults() 1101 if (DefInit *DI = dynamic_cast<DefInit*>(getLeafValue())) { in isIsomorphicTo() 1102 if (DefInit *NDI = dynamic_cast<DefInit*>(N->getLeafValue())) { in isIsomorphicTo() 1159 if (dynamic_cast<DefInit*>(Val) && in SubstituteFormalArguments() [all …]
|
D | SetTheory.cpp | 170 dynamic_cast<DefInit&>(*Expr->getOperator()).getDef()->getRecords(); in apply() 227 if (DefInit *Def = dynamic_cast<DefInit*>(Expr)) { in evaluate() 242 DefInit *OpInit = dynamic_cast<DefInit*>(DagExpr->getOperator()); in evaluate()
|
D | PseudoLoweringEmitter.cpp | 31 if (DefInit *DI = dynamic_cast<DefInit*>(Dag->getArg(i))) { in addDagOperandMapping() 84 DefInit *OpDef = dynamic_cast<DefInit*>(Dag->getOperator()); in evaluateExpansion()
|
D | CodeGenRegisters.cpp | 102 DefInit *BaseIdxInit = dynamic_cast<DefInit*>(Pat->getOperator()); in getSubRegs() 111 DefInit *IdxInit = dynamic_cast<DefInit*>(*di); in getSubRegs() 199 Tuple.push_back(DefInit::get(Reg)); in expand() 307 DefInit *DAGOp = dynamic_cast<DefInit*>(DAG->getOperator()); in CodeGenRegisterClass() 315 DefInit *Idx = dynamic_cast<DefInit*>(*ai); in CodeGenRegisterClass()
|
D | FastISelEmitter.cpp | 244 DefInit *OpDI = dynamic_cast<DefInit*>(Op->getLeafValue()); in initialize() 404 DefInit *OpDI = dynamic_cast<DefInit*>(Op->getLeafValue()); in PhyRegForNode() 471 DefInit *SR = dynamic_cast<DefInit*>(Dst->getChild(1)->getLeafValue()); in collectPatterns()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | CodeGenInstruction.cpp | 35 if (DefInit *Init = dyn_cast<DefInit>(OutDI->getOperator())) { in CGIOperandList() 44 if (DefInit *Init = dyn_cast<DefInit>(InDI->getOperator())) { in CGIOperandList() 65 DefInit *Arg = dyn_cast<DefInit>(ArgInit); in CGIOperandList() 90 if (!isa<DefInit>(MIOpInfo->getOperator()) || in CGIOperandList() 91 cast<DefInit>(MIOpInfo->getOperator())->getDef()->getName() != "ops") in CGIOperandList() 443 if (DefInit *Constraint = dyn_cast<DefInit>(ConstraintList->getArg(i))) { in isOperandAPointer() 465 DefInit *ADI = dyn_cast<DefInit>(Arg); in tryAliasOpMatch() 502 InstOpRec = cast<DefInit>(DI->getArg(0))->getDef(); in tryAliasOpMatch() 605 DefInit *DI = dyn_cast<DefInit>(Result->getOperator()); in CodeGenInstAlias() 616 DefInit *ADI = dyn_cast<DefInit>(Result->getArg(i)); in CodeGenInstAlias() [all …]
|
D | OptParserEmitter.cpp | 182 if (const DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) in EmitOptParser() 230 if (const DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) { in EmitOptParser() 238 if (const DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Alias"))) in EmitOptParser() 264 << cast<DefInit>(I)->getDef()->getName(); in EmitOptParser() 268 << cast<DefInit>(I)->getDef()->getName(); in EmitOptParser()
|
D | CodeGenDAGPatterns.cpp | 1456 !isa<DefInit>(NodeToApply->getLeafValue()) || in ApplyTypeConstraint() 1457 !static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint() 1462 DefInit *DI = static_cast<DefInit*>(NodeToApply->getLeafValue()); in ApplyTypeConstraint() 1685 if (DefInit *DI = dyn_cast<DefInit>(Dag->getOperator())) in GetNumNodeResults() 1777 if (DefInit *DI = dyn_cast<DefInit>(getLeafValue())) { in isIsomorphicTo() 1778 if (DefInit *NDI = dyn_cast<DefInit>(N->getLeafValue())) { in isIsomorphicTo() 1838 if (isa<UnsetInit>(Val) || (isa<DefInit>(Val) && in SubstituteFormalArguments() 1839 cast<DefInit>(Val)->getDef()->getName() == "node")) { in SubstituteFormalArguments() 2116 DefInit *DI = dyn_cast<DefInit>(getLeafValue()); in getComplexPatternInfo() 2135 DefInit *DI = dyn_cast<DefInit>(getLeafValue()); in getNumMIResults() [all …]
|
D | RISCVCompressInstEmitter.cpp | 200 if (DefInit *DI = dyn_cast<DefInit>(Dag->getArg(i - TiedCount))) { in addDagOperandMapping() 277 DefInit *Type1 = dyn_cast<DefInit>(Arg1); in validateArgsTypes() 278 DefInit *Type2 = dyn_cast<DefInit>(Arg2); in validateArgsTypes() 411 DefInit *OpDef = dyn_cast<DefInit>(SourceDag->getOperator()); in evaluateCompressPat() 428 DefInit *DestOpDef = dyn_cast<DefInit>(DestDag->getOperator()); in evaluateCompressPat()
|
D | PseudoLoweringEmitter.cpp | 78 if (DefInit *DI = dyn_cast<DefInit>(Dag->getArg(i))) { in addDagOperandMapping() 131 DefInit *OpDef = dyn_cast<DefInit>(Dag->getOperator()); in evaluateExpansion()
|
D | SearchableTableEmitter.cpp | 124 return Field.Enum->EntryMap[cast<DefInit>(I)->getDef()]->first; in primaryRepresentation() 130 if (DefInit *DI = dyn_cast<DefInit>(I)) in isIntrinsic() 138 Intr = make_unique<CodeGenIntrinsic>(cast<DefInit>(I)->getDef()); in getIntrinsic() 235 Record *LHSr = cast<DefInit>(LHSI)->getDef(); in compareBy() 236 Record *RHSr = cast<DefInit>(RHSI)->getDef(); in compareBy() 251 auto LHSr = cast<DefInit>(LHSI)->getDef(); in compareBy() 252 auto RHSr = cast<DefInit>(RHSI)->getDef(); in compareBy() 522 if (auto DI = dyn_cast<DefInit>(II)) { in parseFieldType()
|
/external/llvm/utils/TableGen/ |
D | CodeGenInstruction.cpp | 35 if (DefInit *Init = dyn_cast<DefInit>(OutDI->getOperator())) { in CGIOperandList() 44 if (DefInit *Init = dyn_cast<DefInit>(InDI->getOperator())) { in CGIOperandList() 65 DefInit *Arg = dyn_cast<DefInit>(ArgInit); in CGIOperandList() 89 if (!isa<DefInit>(MIOpInfo->getOperator()) || in CGIOperandList() 90 cast<DefInit>(MIOpInfo->getOperator())->getDef()->getName() != "ops") in CGIOperandList() 445 DefInit *ADI = dyn_cast<DefInit>(Arg); in tryAliasOpMatch() 482 InstOpRec = cast<DefInit>(DI->getArg(0))->getDef(); in tryAliasOpMatch() 587 DefInit *DI = dyn_cast<DefInit>(Result->getOperator()); in CodeGenInstAlias() 598 DefInit *ADI = dyn_cast<DefInit>(Result->getArg(i)); in CodeGenInstAlias() 645 Record *SubRec = cast<DefInit>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias() [all …]
|
D | OptParserEmitter.cpp | 180 if (const DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) in EmitOptParser() 225 if (const DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) { in EmitOptParser() 233 if (const DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Alias"))) in EmitOptParser() 259 << cast<DefInit>(I)->getDef()->getName(); in EmitOptParser() 263 << cast<DefInit>(I)->getDef()->getName(); in EmitOptParser()
|
D | CodeGenDAGPatterns.cpp | 712 if (isa<DefInit>(N->getLeafValue())) in FindDepVarsOf() 874 if (DefInit *Pred = dyn_cast<DefInit>(I)) { in getPredicateCheck() 1023 !isa<DefInit>(NodeToApply->getLeafValue()) || in ApplyTypeConstraint() 1024 !static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint() 1030 getValueType(static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef()); in ApplyTypeConstraint() 1236 if (DefInit *DI = dyn_cast<DefInit>(Tree->getOperator())) in GetNumNodeResults() 1324 if (DefInit *DI = dyn_cast<DefInit>(getLeafValue())) { in isIsomorphicTo() 1325 if (DefInit *NDI = dyn_cast<DefInit>(N->getLeafValue())) { in isIsomorphicTo() 1384 if (isa<UnsetInit>(Val) || (isa<DefInit>(Val) && in SubstituteFormalArguments() 1385 cast<DefInit>(Val)->getDef()->getName() == "node")) { in SubstituteFormalArguments() [all …]
|
D | PseudoLoweringEmitter.cpp | 78 if (DefInit *DI = dyn_cast<DefInit>(Dag->getArg(i))) { in addDagOperandMapping() 131 DefInit *OpDef = dyn_cast<DefInit>(Dag->getOperator()); in evaluateExpansion()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/ |
D | Record.cpp | 626 DefInit *DI = dyn_cast<DefInit>(getElement(i)); in getElementAsRecord() 706 if (DefInit *LHSd = dyn_cast<DefInit>(LHS)) in Fold() 733 DefInit *DI = DefInit::get(D); in Fold() 851 DefInit *LOp = dyn_cast<DefInit>(LHSs->getOperator()); in Fold() 852 DefInit *ROp = dyn_cast<DefInit>(RHSs->getOperator()); in Fold() 1081 DefInit *LHSd = dyn_cast<DefInit>(LHS); in Fold() 1085 DefInit *MHSd = dyn_cast<DefInit>(MHS); in Fold() 1089 DefInit *RHSd = dyn_cast<DefInit>(RHS); in Fold() 1097 return DefInit::get(Val); in Fold() 1317 if (!CheckType->typeIsConvertibleTo(TI->getType()) || isa<DefInit>(Expr)) in Fold() [all …]
|
D | SetTheory.cpp | 215 cast<DefInit>(Expr->getOperator())->getDef()->getRecords(); in apply() 285 if (DefInit *Def = dyn_cast<DefInit>(Expr)) { in evaluate() 300 DefInit *OpInit = dyn_cast<DefInit>(DagExpr->getOperator()); in evaluate()
|
/external/llvm/lib/TableGen/ |
D | Record.cpp | 550 DefInit *DI = dyn_cast<DefInit>(getElement(i)); in getElementAsRecord() 658 if (DefInit *LHSd = dyn_cast<DefInit>(LHS)) in Fold() 705 return DefInit::get(D); in Fold() 805 DefInit *LOp = dyn_cast<DefInit>(LHSs->getOperator()); in Fold() 806 DefInit *ROp = dyn_cast<DefInit>(RHSs->getOperator()); in Fold() 1045 DefInit *LHSd = dyn_cast<DefInit>(LHS); in Fold() 1049 DefInit *MHSd = dyn_cast<DefInit>(MHS); in Fold() 1053 DefInit *RHSd = dyn_cast<DefInit>(RHS); in Fold() 1061 return DefInit::get(Val); in Fold() 1428 DefInit *DefInit::get(Record *R) { in get() [all …]
|
D | SetTheory.cpp | 204 cast<DefInit>(Expr->getOperator())->getDef()->getRecords(); in apply() 274 if (DefInit *Def = dyn_cast<DefInit>(Expr)) { in evaluate() 289 DefInit *OpInit = dyn_cast<DefInit>(DagExpr->getOperator()); in evaluate()
|
/external/swiftshader/third_party/LLVM/lib/TableGen/ |
D | Record.cpp | 361 Init *RecordRecTy::convertValue(DefInit *DI) { in convertValue() 638 DefInit *DI = dynamic_cast<DefInit*>(Values[i]); in getElementAsRecord() 746 DefInit *LHSd = dynamic_cast<DefInit*>(LHS); in Fold() 789 return DefInit::get(D); in Fold() 893 DefInit *LOp = dynamic_cast<DefInit*>(LHSs->getOperator()); in Fold() 894 DefInit *ROp = dynamic_cast<DefInit*>(RHSs->getOperator()); in Fold() 1139 DefInit *LHSd = dynamic_cast<DefInit*>(LHS); in Fold() 1143 DefInit *MHSd = dynamic_cast<DefInit*>(MHS); in Fold() 1147 DefInit *RHSd = dynamic_cast<DefInit*>(RHS); in Fold() 1159 return DefInit::get(Val); in Fold() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/TableGen/ |
D | Record.h | 51 class DefInit; variable 104 virtual Init *convertValue( DefInit *DI) { return 0; } in convertValue() 149 virtual Init *convertValue( DefInit *DI) { return 0; } in convertValue() 194 virtual Init *convertValue( DefInit *DI) { return 0; } in convertValue() 238 virtual Init *convertValue( DefInit *DI) { return 0; } in convertValue() 284 virtual Init *convertValue( DefInit *DI) { return 0; } in convertValue() 327 virtual Init *convertValue( DefInit *DI) { return 0; } in convertValue() 370 virtual Init *convertValue( DefInit *DI) { return 0; } in convertValue() 410 virtual Init *convertValue( DefInit *DI) { return 0; } in convertValue() 459 virtual Init *convertValue( DefInit *DI); [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/ |
D | Record.h | 1092 class DefInit : public TypedInit { 1097 explicit DefInit(Record *D); 1100 DefInit(const DefInit &) = delete; 1101 DefInit &operator=(const DefInit &) = delete; 1107 static DefInit *get(Record*); 1130 DefInit *Def = nullptr; // after instantiation 1136 DefInit *instantiate(); 1354 DefInit *TheInit = nullptr; 1409 DefInit *getDefInit();
|