Lines Matching refs:getDef
746 Record *Def = Pred->getDef(); in getPredicateCheck()
870 !static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint()
874 getValueType(static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef()); in ApplyTypeConstraint()
1027 Op = dynamic_cast<DefInit*>(Tree->getOperator())->getDef(); in GetNumNodeResults()
1103 return ((DI->getDef() == NDI->getDef()) in isIsomorphicTo()
1160 static_cast<DefInit*>(Val)->getDef()->getName() == "node") { in SubstituteFormalArguments()
1333 if (DI && DI->getDef()->isSubClassOf("ComplexPattern")) in getComplexPatternInfo()
1334 return &CGP.getComplexPattern(DI->getDef()); in getComplexPatternInfo()
1389 MadeChange |= UpdateNodeType(i, getImplicitType(DI->getDef(), i, in ApplyTypeConstraints()
1744 Record *R = DI->getDef(); in ParseTreePattern()
1788 Record *Operator = OpDef->getDef(); in ParseTreePattern()
1952 if (DI && (DI->getDef()->isSubClassOf("RegisterClass") || in InferAllTypes()
1953 DI->getDef()->isSubClassOf("RegisterOperand"))) in InferAllTypes()
2045 Record *N = Records.getDef(Name); in getSDNodeNamed()
2117 (OpsOp->getDef()->getName() != "ops" && in ParsePatternFragments()
2118 OpsOp->getDef()->getName() != "outs" && in ParsePatternFragments()
2119 OpsOp->getDef()->getName() != "ins")) in ParsePatternFragments()
2127 getDef()->getName() != "node") in ParsePatternFragments()
2236 if (DI && (DI->getDef()->isSubClassOf("RegisterClass") || in HandleUse()
2237 DI->getDef()->isSubClassOf("RegisterOperand"))) in HandleUse()
2238 I->error("Input " + DI->getDef()->getName() + " must be named!"); in HandleUse()
2247 Rec = DI->getDef(); in HandleUse()
2263 SlotRec = dynamic_cast<DefInit*>(Slot->getLeafValue())->getDef(); in HandleUse()
2299 if (!Val || !Val->getDef()->isSubClassOf("Register")) in FindPatternInputsAndOutputs()
2301 InstImpResults.push_back(Val->getDef()); in FindPatternInputsAndOutputs()
2343 if (Val->getDef()->isSubClassOf("RegisterClass") || in FindPatternInputsAndOutputs()
2344 Val->getDef()->isSubClassOf("RegisterOperand") || in FindPatternInputsAndOutputs()
2345 Val->getDef()->isSubClassOf("PointerLikeRegClass")) { in FindPatternInputsAndOutputs()
2351 } else if (Val->getDef()->isSubClassOf("Register")) { in FindPatternInputsAndOutputs()
2352 InstImpResults.push_back(Val->getDef()); in FindPatternInputsAndOutputs()
2423 Record *LeafRec = DI->getDef(); in AnalyzeNode()
2623 Record *R = dynamic_cast<DefInit*>(RNode->getLeafValue())->getDef(); in ParseInstructions()
2669 Record *InRec = static_cast<DefInit*>(InVal->getLeafValue())->getDef(); in ParseInstructions()
3194 Record *RR = DI->getDef(); in GenerateVariantsOf()