Lines Matching refs:getLeafValue
712 if (isa<DefInit>(N->getLeafValue())) in FindDepVarsOf()
820 if (P->isLeaf() && isa<IntInit>(P->getLeafValue())) in getPatternSize()
848 if (isa<IntInit>(Child->getLeafValue())) in getPatternSize()
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()
1277 OS << *getLeafValue(); in print()
1324 if (DefInit *DI = dyn_cast<DefInit>(getLeafValue())) { in isIsomorphicTo()
1325 if (DefInit *NDI = dyn_cast<DefInit>(N->getLeafValue())) { in isIsomorphicTo()
1331 return getLeafValue() == N->getLeafValue(); in isIsomorphicTo()
1347 New = new TreePatternNode(getLeafValue(), getNumTypes()); in clone()
1381 Init *Val = Child->getLeafValue(); in SubstituteFormalArguments()
1590 unsigned IID = cast<IntInit>(getChild(0)->getLeafValue())->getValue(); in getIntrinsicInfo()
1600 DefInit *DI = dyn_cast<DefInit>(getLeafValue()); in getComplexPatternInfo()
1619 DefInit *DI = dyn_cast<DefInit>(getLeafValue()); in getNumMIResults()
1674 DefInit *DI = dyn_cast<DefInit>(N->getLeafValue()); in isOperandClass()
1705 if (DefInit *DI = dyn_cast<DefInit>(getLeafValue())) { in ApplyTypeConstraints()
1715 if (IntInit *II = dyn_cast<IntInit>(getLeafValue())) { in ApplyTypeConstraints()
1992 if (N->isLeaf() && isa<IntInit>(N->getLeafValue())) in OnlyOnRHSOfCommutative()
2329 DefInit *DI = dyn_cast<DefInit>(Node->getLeafValue()); in InferAllTypes()
2604 DefInit *DI = dyn_cast<DefInit>(Pat->getLeafValue()); in HandleUse()
2614 DefInit *DI = dyn_cast<DefInit>(Pat->getLeafValue()); in HandleUse()
2632 SlotRec = cast<DefInit>(Slot->getLeafValue())->getDef(); in HandleUse()
2667 DefInit *Val = dyn_cast<DefInit>(Dest->getLeafValue()); in FindPatternInputsAndOutputs()
2708 DefInit *Val = dyn_cast<DefInit>(Dest->getLeafValue()); in FindPatternInputsAndOutputs()
2770 if (!N0->isLeaf() || !isa<DefInit>(N0->getLeafValue())) in IsNodeBitcast()
2788 if (DefInit *DI = dyn_cast<DefInit>(N->getLeafValue())) { in AnalyzeNode()
3017 Record *R = cast<DefInit>(RNode->getLeafValue())->getDef(); in parseInstructionPattern()
3059 if (InVal->isLeaf() && isa<DefInit>(InVal->getLeafValue())) { in parseInstructionPattern()
3060 Record *InRec = static_cast<DefInit*>(InVal->getLeafValue())->getDef(); in parseInstructionPattern()
3750 if (DefInit *DI = dyn_cast<DefInit>(Child->getLeafValue())) { in GenerateVariantsOf()