Lines Matching refs:getLeafValue
1418 DefInit *DI = dyn_cast<DefInit>(P->getLeafValue()); in isImmAllOnesAllZerosMatch()
1434 if (P->isLeaf() && isa<IntInit>(P->getLeafValue())) in getPatternSize()
1461 if (isa<IntInit>(Child->getLeafValue())) in getPatternSize()
1658 !isa<DefInit>(NodeToApply->getLeafValue()) || in ApplyTypeConstraint()
1659 !cast<DefInit>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint()
1664 DefInit *DI = cast<DefInit>(NodeToApply->getLeafValue()); in ApplyTypeConstraint()
1931 OS << *getLeafValue(); in print()
1996 if (DefInit *DI = dyn_cast<DefInit>(getLeafValue())) { in isIsomorphicTo()
1997 if (DefInit *NDI = dyn_cast<DefInit>(N->getLeafValue())) { in isIsomorphicTo()
2002 return getLeafValue() == N->getLeafValue(); in isIsomorphicTo()
2016 New = makeIntrusiveRefCnt<TreePatternNode>(getLeafValue(), getNumTypes()); in clone()
2053 Init *Val = Child->getLeafValue(); in SubstituteFormalArguments()
2344 unsigned IID = cast<IntInit>(getChild(0)->getLeafValue())->getValue(); in getIntrinsicInfo()
2354 DefInit *DI = dyn_cast<DefInit>(getLeafValue()); in getComplexPatternInfo()
2373 DefInit *DI = dyn_cast<DefInit>(getLeafValue()); in getNumMIResults()
2437 DefInit *DI = dyn_cast<DefInit>(N->getLeafValue()); in isOperandClass()
2468 if (DefInit *DI = dyn_cast<DefInit>(getLeafValue())) { in ApplyTypeConstraints()
2478 if (IntInit *II = dyn_cast<IntInit>(getLeafValue())) { in ApplyTypeConstraints()
2755 if (N->isLeaf() && isa<IntInit>(N->getLeafValue())) in OnlyOnRHSOfCommutative()
3117 DefInit *DI = dyn_cast<DefInit>(Node->getLeafValue()); in InferAllTypes()
3408 DefInit *DI = dyn_cast<DefInit>(Pat->getLeafValue()); in HandleUse()
3418 DefInit *DI = dyn_cast<DefInit>(Pat->getLeafValue()); in HandleUse()
3437 SlotRec = cast<DefInit>(Slot->getLeafValue())->getDef(); in HandleUse()
3487 DefInit *Val = dyn_cast<DefInit>(Dest->getLeafValue()); in FindPatternInputsAndOutputs()
3535 DefInit *Val = dyn_cast<DefInit>(Dest->getLeafValue()); in FindPatternInputsAndOutputs()
3609 if (DefInit *DI = dyn_cast<DefInit>(N->getLeafValue())) { in AnalyzeNode()
3850 Record *R = cast<DefInit>(RNode->getLeafValue())->getDef(); in parseInstructionPattern()
3893 if (InVal->isLeaf() && isa<DefInit>(InVal->getLeafValue())) { in parseInstructionPattern()
3894 Record *InRec = cast<DefInit>(InVal->getLeafValue())->getDef(); in parseInstructionPattern()
4482 if (N->hasName() && isa<DefInit>(N->getLeafValue())) in FindDepVarsOf()
4712 if (DefInit *DI = dyn_cast<DefInit>(Child->getLeafValue())) { in GenerateVariantsOf()