Lines Matching refs:DefInit

683     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()
1555 DefInit *DI = dyn_cast<DefInit>(getLeafValue()); in getComplexPatternInfo()
1574 DefInit *DI = dyn_cast<DefInit>(getLeafValue()); in getNumMIResults()
1629 DefInit *DI = dyn_cast<DefInit>(N->getLeafValue()); in isOperandClass()
1660 if (DefInit *DI = dyn_cast<DefInit>(getLeafValue())) { in ApplyTypeConstraints()
1870 Record *SubRec = cast<DefInit>(MIOpInfo->getArg(0))->getDef(); in ApplyTypeConstraints()
1883 SubRec = cast<DefInit>(MIOpInfo->getArg(Arg))->getDef(); in ApplyTypeConstraints()
2042 if (DefInit *DI = dyn_cast<DefInit>(TheInit)) { in ParseTreePattern()
2095 DefInit *OpDef = dyn_cast<DefInit>(Dag->getOperator()); in ParseTreePattern()
2284 DefInit *DI = dyn_cast<DefInit>(Nodes[i]->getLeafValue()); in InferAllTypes()
2448 DefInit *OpsOp = dyn_cast<DefInit>(OpsList->getOperator()); in ParsePatternFragments()
2460 if (!isa<DefInit>(OpsList->getArg(j)) || in ParsePatternFragments()
2461 cast<DefInit>(OpsList->getArg(j))->getDef()->getName() != "node") in ParsePatternFragments()
2514 Init *SomeSDNode = DefInit::get(SDNodes.begin()->first); in ParseDefaultOperands()
2560 DefInit *DI = dyn_cast<DefInit>(Pat->getLeafValue()); in HandleUse()
2570 DefInit *DI = dyn_cast<DefInit>(Pat->getLeafValue()); in HandleUse()
2588 SlotRec = cast<DefInit>(Slot->getLeafValue())->getDef(); in HandleUse()
2623 DefInit *Val = dyn_cast<DefInit>(Dest->getLeafValue()); in FindPatternInputsAndOutputs()
2664 DefInit *Val = dyn_cast<DefInit>(Dest->getLeafValue()); in FindPatternInputsAndOutputs()
2726 if (!N0->isLeaf() || !isa<DefInit>(N0->getLeafValue())) in IsNodeBitcast()
2744 if (DefInit *DI = dyn_cast<DefInit>(N->getLeafValue())) { in AnalyzeNode()
2846 DefInit *OpDef = dyn_cast<DefInit>(DI->getOperator()); in hasNullFragReference()
2966 Record *R = cast<DefInit>(RNode->getLeafValue())->getDef(); in parseInstructionPattern()
3008 if (InVal->isLeaf() && isa<DefInit>(InVal->getLeafValue())) { in parseInstructionPattern()
3009 Record *InRec = static_cast<DefInit*>(InVal->getLeafValue())->getDef(); in parseInstructionPattern()
3715 if (DefInit *DI = dyn_cast<DefInit>(Child->getLeafValue())) { in GenerateVariantsOf()