Home
last modified time | relevance | path

Searched refs:DefInit (Results 1 – 18 of 18) sorted by relevance

/external/clang/utils/TableGen/
DClangSACheckersEmitter.cpp32 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()
DClangDiagnosticsEmitter.cpp84 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) { in getDiagnosticCategory()
172 DefInit *DI = dyn_cast<DefInit>(R->getValueInit("Group")); in groupDiagnostics()
232 const DefInit *GroupInit = cast<DefInit>((*DI)->getValueInit("Group")); in groupDiagnostics()
263 const DefInit *GroupInit = cast<DefInit>((*DI)->getValueInit("Group")); in groupDiagnostics()
275 GroupInit = cast<DefInit>((*DI)->getValueInit("Group")); in groupDiagnostics()
404 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) { in compute()
423 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) in compute()
520 if (DefInit *Group = dyn_cast<DefInit>(R.getValueInit("Group"))) { in EmitClangDiagsDefs()
530 if (!isa<DefInit>(R.getValueInit("Group"))) { in EmitClangDiagsDefs()
551 if (DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) { in EmitClangDiagsDefs()
DNeonEmitter.cpp1418 DefInit *DefI = cast<DefInit>(DI->getOperator()); in emitDag()
/external/llvm/utils/TableGen/
DOptParserEmitter.cpp180 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()
DCodeGenInstruction.cpp35 if (DefInit *Init = dyn_cast<DefInit>(OutDI->getOperator())) { in CGIOperandList()
44 if (DefInit *Init = dyn_cast<DefInit>(InDI->getOperator())) { in CGIOperandList()
63 DefInit *Arg = dyn_cast<DefInit>(ArgInit); in CGIOperandList()
86 if (!isa<DefInit>(MIOpInfo->getOperator()) || in CGIOperandList()
87 cast<DefInit>(MIOpInfo->getOperator())->getDef()->getName() != "ops") in CGIOperandList()
440 DefInit *ADI = dyn_cast<DefInit>(Arg); in tryAliasOpMatch()
477 InstOpRec = cast<DefInit>(DI->getArg(0))->getDef(); in tryAliasOpMatch()
582 DefInit *DI = dyn_cast<DefInit>(Result->getOperator()); in CodeGenInstAlias()
593 DefInit *ADI = dyn_cast<DefInit>(Result->getArg(i)); in CodeGenInstAlias()
640 Record *SubRec = cast<DefInit>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias()
[all …]
DCodeGenDAGPatterns.cpp683 if (isa<DefInit>(N->getLeafValue())) in FindDepVarsOf()
846 if (DefInit *Pred = dyn_cast<DefInit>(Predicates->getElement(i))) { in getPredicateCheck()
984 !isa<DefInit>(NodeToApply->getLeafValue()) || in ApplyTypeConstraint()
985 !static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint()
991 getValueType(static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef()); in ApplyTypeConstraint()
1190 if (DefInit *DI = dyn_cast<DefInit>(Tree->getOperator())) in GetNumNodeResults()
1279 if (DefInit *DI = dyn_cast<DefInit>(getLeafValue())) { in isIsomorphicTo()
1280 if (DefInit *NDI = dyn_cast<DefInit>(N->getLeafValue())) { in isIsomorphicTo()
1339 if (isa<UnsetInit>(Val) || (isa<DefInit>(Val) && in SubstituteFormalArguments()
1340 cast<DefInit>(Val)->getDef()->getName() == "node")) { in SubstituteFormalArguments()
[all …]
DPseudoLoweringEmitter.cpp78 if (DefInit *DI = dyn_cast<DefInit>(Dag->getArg(i))) { in addDagOperandMapping()
131 DefInit *OpDef = dyn_cast<DefInit>(Dag->getOperator()); in evaluateExpansion()
DFastISelEmitter.cpp251 DefInit *OpDI = dyn_cast<DefInit>(Op->getLeafValue()); in initialize()
431 Record *OpLeafRec = cast<DefInit>(Op->getLeafValue())->getDef(); in PhyRegForNode()
497 DefInit *SR = dyn_cast<DefInit>(Dst->getChild(1)->getLeafValue()); in collectPatterns()
DDAGISelMatcherGen.cpp228 DefInit *DI = dyn_cast<DefInit>(N->getLeafValue()); in EmitLeafMatchCode()
620 if (DefInit *DI = dyn_cast<DefInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
DAsmMatcherEmitter.cpp1025 Rec = cast<DefInit>(OI.MIOperandInfo->getArg(SubOpIdx))->getDef(); in getOperandClass()
1039 if (DefInit *DI= dyn_cast<DefInit>(R->getValue())) { in getOperandClass()
1219 DefInit *DI = dyn_cast<DefInit>(Supers->getElement(i)); in buildOperandClasses()
DAsmWriterEmitter.cpp811 const DefInit *Op = cast<DefInit>(DI->getOperator()); in EmitPrintAliasInstruction()
DInstrInfoEmitter.cpp109 Record *OpR = cast<DefInit>(MIOI->getArg(j))->getDef(); in GetOperandInfo()
DRegisterInfoEmitter.cpp401 DefInit *DI = cast<DefInit>(V->getValue()); in EmitRegMappingTables()
DCodeGenRegisters.cpp578 Tuple.push_back(DefInit::get(Reg)); in expand()
/external/llvm/lib/TableGen/
DRecord.cpp355 Init *RecordRecTy::convertValue(DefInit *DI) { in convertValue()
675 DefInit *DI = dyn_cast<DefInit>(Values[i]); in getElementAsRecord()
771 if (DefInit *LHSd = dyn_cast<DefInit>(LHS)) in Fold()
817 return DefInit::get(D); in Fold()
910 DefInit *LOp = dyn_cast<DefInit>(LHSs->getOperator()); in Fold()
911 DefInit *ROp = dyn_cast<DefInit>(RHSs->getOperator()); in Fold()
1165 DefInit *LHSd = dyn_cast<DefInit>(LHS); in Fold()
1169 DefInit *MHSd = dyn_cast<DefInit>(MHS); in Fold()
1173 DefInit *RHSd = dyn_cast<DefInit>(RHS); in Fold()
1185 return DefInit::get(Val); in Fold()
[all …]
DSetTheory.cpp204 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()
DTGParser.cpp773 return DefInit::get(D); in ParseIDValue()
1283 return DefInit::get(NewRec); in ParseSimpleValue()
/external/llvm/include/llvm/TableGen/
DRecord.h51 class DefInit; variable
121 virtual Init *convertValue( DefInit *DI) { return nullptr; } in convertValue()
160 Init *convertValue( DefInit *DI) override { return nullptr; } in convertValue()
199 Init *convertValue( DefInit *DI) override { return nullptr; } in convertValue()
236 Init *convertValue( DefInit *DI) override { return nullptr; } in convertValue()
278 Init *convertValue( DefInit *DI) override { return nullptr; } in convertValue()
314 Init *convertValue( DefInit *DI) override { return nullptr; } in convertValue()
352 Init *convertValue( DefInit *DI) override { return nullptr; } in convertValue()
395 Init *convertValue( DefInit *DI) override;
1183 class DefInit : public TypedInit {
[all …]