Searched refs:DefInit (Results 1 – 18 of 18) sorted by relevance
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()
84 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()
1436 DefInit *DefI = cast<DefInit>(DI->getOperator()); in emitDag()
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()
35 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 …]
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 …]
78 if (DefInit *DI = dyn_cast<DefInit>(Dag->getArg(i))) { in addDagOperandMapping()131 DefInit *OpDef = dyn_cast<DefInit>(Dag->getOperator()); in evaluateExpansion()
251 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()
228 DefInit *DI = dyn_cast<DefInit>(N->getLeafValue()); in EmitLeafMatchCode()622 if (DefInit *DI = dyn_cast<DefInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
1071 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()
810 const DefInit *Op = cast<DefInit>(DI->getOperator()); in EmitPrintAliasInstruction()
109 Record *OpR = cast<DefInit>(MIOI->getArg(j))->getDef(); in GetOperandInfo()
401 DefInit *DI = cast<DefInit>(V->getValue()); in EmitRegMappingTables()
578 Tuple.push_back(DefInit::get(Reg)); in expand()
533 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 …]
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()
755 return DefInit::get(D); in ParseIDValue()1254 return DefInit::get(NewRec); in ParseSimpleValue()
954 class DefInit : public TypedInit {957 DefInit(Record *D, RecordRecTy *T) : TypedInit(IK_DefInit, T), Def(D) {} in DefInit() function960 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();