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/
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()
83 if (!isa<DefInit>(MIOpInfo->getOperator()) || in CGIOperandList()
84 cast<DefInit>(MIOpInfo->getOperator())->getDef()->getName() != "ops") in CGIOperandList()
438 DefInit *ADI = dyn_cast<DefInit>(Arg); in tryAliasOpMatch()
475 InstOpRec = cast<DefInit>(DI->getArg(0))->getDef(); in tryAliasOpMatch()
565 DefInit *DI = dyn_cast<DefInit>(Result->getOperator()); in CodeGenInstAlias()
576 DefInit *ADI = dyn_cast<DefInit>(Result->getArg(i)); in CodeGenInstAlias()
623 Record *SubRec = cast<DefInit>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias()
[all …]
DOptParserEmitter.cpp180 if (const DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) in EmitOptParser()
224 if (const DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Group"))) in EmitOptParser()
231 if (const DefInit *DI = dyn_cast<DefInit>(R.getValueInit("Alias"))) in EmitOptParser()
260 OS << cast<DefInit>(LI->getElement(i))->getDef()->getName(); in EmitOptParser()
DCodeGenDAGPatterns.cpp623 if (isa<DefInit>(N->getLeafValue())) in FindDepVarsOf()
786 if (DefInit *Pred = dyn_cast<DefInit>(Predicates->getElement(i))) { in getPredicateCheck()
911 !isa<DefInit>(NodeToApply->getLeafValue()) || in ApplyTypeConstraint()
912 !static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint()
918 getValueType(static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef()); in ApplyTypeConstraint()
1105 if (DefInit *DI = dyn_cast<DefInit>(Tree->getOperator())) in GetNumNodeResults()
1186 if (DefInit *DI = dyn_cast<DefInit>(getLeafValue())) { in isIsomorphicTo()
1187 if (DefInit *NDI = dyn_cast<DefInit>(N->getLeafValue())) { in isIsomorphicTo()
1246 if (isa<UnsetInit>(Val) || (isa<DefInit>(Val) && in SubstituteFormalArguments()
1247 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.cpp249 DefInit *OpDI = dyn_cast<DefInit>(Op->getLeafValue()); in initialize()
412 Record *OpLeafRec = cast<DefInit>(Op->getLeafValue())->getDef(); in PhyRegForNode()
478 DefInit *SR = dyn_cast<DefInit>(Dst->getChild(1)->getLeafValue()); in collectPatterns()
DDAGISelMatcherGen.cpp230 DefInit *DI = dyn_cast<DefInit>(N->getLeafValue()); in EmitLeafMatchCode()
622 if (DefInit *DI = dyn_cast<DefInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
DAsmMatcherEmitter.cpp1018 Rec = cast<DefInit>(OI.MIOperandInfo->getArg(SubOpIdx))->getDef(); in getOperandClass()
1032 if (DefInit *DI= dyn_cast<DefInit>(R->getValue())) { in getOperandClass()
1226 DefInit *DI = dyn_cast<DefInit>(Supers->getElement(i)); in buildOperandClasses()
DAsmWriterEmitter.cpp800 const DefInit *Op = cast<DefInit>(DI->getOperator()); in EmitPrintAliasInstruction()
DInstrInfoEmitter.cpp109 Record *OpR = cast<DefInit>(MIOI->getArg(j))->getDef(); in GetOperandInfo()
DRegisterInfoEmitter.cpp396 DefInit *DI = cast<DefInit>(V->getValue()); in EmitRegMappingTables()
DCodeGenRegisters.cpp589 Tuple.push_back(DefInit::get(Reg)); in expand()
/external/llvm/lib/TableGen/
DRecord.cpp342 Init *RecordRecTy::convertValue(DefInit *DI) { in convertValue()
662 DefInit *DI = dyn_cast<DefInit>(Values[i]); in getElementAsRecord()
758 if (DefInit *LHSd = dyn_cast<DefInit>(LHS)) in Fold()
804 return DefInit::get(D); in Fold()
897 DefInit *LOp = dyn_cast<DefInit>(LHSs->getOperator()); in Fold()
898 DefInit *ROp = dyn_cast<DefInit>(RHSs->getOperator()); in Fold()
1147 DefInit *LHSd = dyn_cast<DefInit>(LHS); in Fold()
1151 DefInit *MHSd = dyn_cast<DefInit>(MHS); in Fold()
1155 DefInit *RHSd = dyn_cast<DefInit>(RHS); in Fold()
1167 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.cpp776 return DefInit::get(D); in ParseIDValue()
1270 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;
1174 class DefInit : public TypedInit {
[all …]