Lines Matching refs:getLeafValue
1362 DefInit *DI = dyn_cast<DefInit>(P->getLeafValue()); in isImmAllOnesAllZerosMatch()
1378 if (P->isLeaf() && isa<IntInit>(P->getLeafValue())) in getPatternSize()
1405 if (isa<IntInit>(Child->getLeafValue())) in getPatternSize()
1576 !isa<DefInit>(NodeToApply->getLeafValue()) || in ApplyTypeConstraint()
1577 !static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint()
1582 DefInit *DI = static_cast<DefInit*>(NodeToApply->getLeafValue()); in ApplyTypeConstraint()
1848 OS << *getLeafValue(); in print()
1903 if (DefInit *DI = dyn_cast<DefInit>(getLeafValue())) { in isIsomorphicTo()
1904 if (DefInit *NDI = dyn_cast<DefInit>(N->getLeafValue())) { in isIsomorphicTo()
1910 return getLeafValue() == N->getLeafValue(); in isIsomorphicTo()
1926 New = std::make_shared<TreePatternNode>(getLeafValue(), getNumTypes()); in clone()
1962 Init *Val = Child->getLeafValue(); in SubstituteFormalArguments()
2245 unsigned IID = cast<IntInit>(getChild(0)->getLeafValue())->getValue(); in getIntrinsicInfo()
2255 DefInit *DI = dyn_cast<DefInit>(getLeafValue()); in getComplexPatternInfo()
2274 DefInit *DI = dyn_cast<DefInit>(getLeafValue()); in getNumMIResults()
2338 DefInit *DI = dyn_cast<DefInit>(N->getLeafValue()); in isOperandClass()
2369 if (DefInit *DI = dyn_cast<DefInit>(getLeafValue())) { in ApplyTypeConstraints()
2379 if (IntInit *II = dyn_cast<IntInit>(getLeafValue())) { in ApplyTypeConstraints()
2638 if (N->isLeaf() && isa<IntInit>(N->getLeafValue())) in OnlyOnRHSOfCommutative()
2995 DefInit *DI = dyn_cast<DefInit>(Node->getLeafValue()); in InferAllTypes()
3285 DefInit *DI = dyn_cast<DefInit>(Pat->getLeafValue()); in HandleUse()
3295 DefInit *DI = dyn_cast<DefInit>(Pat->getLeafValue()); in HandleUse()
3314 SlotRec = cast<DefInit>(Slot->getLeafValue())->getDef(); in HandleUse()
3364 DefInit *Val = dyn_cast<DefInit>(Dest->getLeafValue()); in FindPatternInputsAndOutputs()
3411 DefInit *Val = dyn_cast<DefInit>(Dest->getLeafValue()); in FindPatternInputsAndOutputs()
3482 if (DefInit *DI = dyn_cast<DefInit>(N->getLeafValue())) { in AnalyzeNode()
3721 Record *R = cast<DefInit>(RNode->getLeafValue())->getDef(); in parseInstructionPattern()
3764 if (InVal->isLeaf() && isa<DefInit>(InVal->getLeafValue())) { in parseInstructionPattern()
3765 Record *InRec = static_cast<DefInit*>(InVal->getLeafValue())->getDef(); in parseInstructionPattern()
4364 if (N->hasName() && isa<DefInit>(N->getLeafValue())) in FindDepVarsOf()
4590 if (DefInit *DI = dyn_cast<DefInit>(Child->getLeafValue())) { in GenerateVariantsOf()