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.cpp1436 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()
441 DefInit *ADI = dyn_cast<DefInit>(Arg); in tryAliasOpMatch()
478 InstOpRec = cast<DefInit>(DI->getArg(0))->getDef(); in tryAliasOpMatch()
583 DefInit *DI = dyn_cast<DefInit>(Result->getOperator()); in CodeGenInstAlias()
594 DefInit *ADI = dyn_cast<DefInit>(Result->getArg(i)); in CodeGenInstAlias()
641 Record *SubRec = cast<DefInit>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias()
[all …]
DCodeGenDAGPatterns.cpp712 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 …]
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()
622 if (DefInit *DI = dyn_cast<DefInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
DAsmMatcherEmitter.cpp1071 Rec = cast<DefInit>(OI.MIOperandInfo->getArg(SubOpIdx))->getDef(); in getOperandClass()
1085 if (DefInit *DI= dyn_cast<DefInit>(R->getValue())) { in getOperandClass()
1265 DefInit *DI = dyn_cast<DefInit>(I); in buildOperandClasses()
DAsmWriterEmitter.cpp810 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.cpp533 DefInit *DI = dyn_cast<DefInit>(Values[i]); in getElementAsRecord()
624 if (DefInit *LHSd = dyn_cast<DefInit>(LHS)) in Fold()
671 return DefInit::get(D); in Fold()
757 DefInit *LOp = dyn_cast<DefInit>(LHSs->getOperator()); in Fold()
758 DefInit *ROp = dyn_cast<DefInit>(RHSs->getOperator()); in Fold()
988 DefInit *LHSd = dyn_cast<DefInit>(LHS); in Fold()
992 DefInit *MHSd = dyn_cast<DefInit>(MHS); in Fold()
996 DefInit *RHSd = dyn_cast<DefInit>(RHS); in Fold()
1004 return DefInit::get(Val); in Fold()
1370 DefInit *DefInit::get(Record *R) { in get()
[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.cpp755 return DefInit::get(D); in ParseIDValue()
1254 return DefInit::get(NewRec); in ParseSimpleValue()
/external/llvm/include/llvm/TableGen/
DRecord.h954 class DefInit : public TypedInit {
957 DefInit(Record *D, RecordRecTy *T) : TypedInit(IK_DefInit, T), Def(D) {} in DefInit() function
960 DefInit(const DefInit &Other) = delete;
961 DefInit &operator=(const DefInit &Other) = delete;
967 static DefInit *get(Record*);
1162 std::unique_ptr<DefInit> TheInit;
1221 DefInit *getDefInit();