Searched refs:getLeafValue (Results 1 – 5 of 5) sorted by relevance
1435 DefInit *DI = dyn_cast<DefInit>(P->getLeafValue()); in isImmAllOnesAllZerosMatch()1451 if (P->isLeaf() && isa<IntInit>(P->getLeafValue())) in getPatternSize()1478 if (isa<IntInit>(Child->getLeafValue())) in getPatternSize()1677 !isa<DefInit>(NodeToApply->getLeafValue()) || in ApplyTypeConstraint()1678 !cast<DefInit>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint()1683 DefInit *DI = cast<DefInit>(NodeToApply->getLeafValue()); in ApplyTypeConstraint()1950 OS << *getLeafValue(); in print()2005 if (DefInit *DI = dyn_cast<DefInit>(getLeafValue())) { in isIsomorphicTo()2006 if (DefInit *NDI = dyn_cast<DefInit>(N->getLeafValue())) { in isIsomorphicTo()2012 return getLeafValue() == N->getLeafValue(); in isIsomorphicTo()[all …]
207 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitLeafMatchCode()220 if (isa<UnsetInit>(N->getLeafValue())) { in EmitLeafMatchCode()225 DefInit *DI = dyn_cast<DefInit>(N->getLeafValue()); in EmitLeafMatchCode()349 if (IntInit *II = dyn_cast<IntInit>(N->getChild(1)->getLeafValue())) { in EmitOperatorMatchCode()676 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()683 if (DefInit *DI = dyn_cast<DefInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
258 DefInit *OpDI = dyn_cast<DefInit>(Op->getLeafValue()); in initialize()427 Record *OpLeafRec = cast<DefInit>(Op->getLeafValue())->getDef(); in PhyRegForNode()496 DefInit *SR = dyn_cast<DefInit>(Dst->getChild(1)->getLeafValue()); in collectPatterns()500 SubRegNo = Dst->getChild(1)->getLeafValue()->getAsString(); in collectPatterns()
3996 Init *SrcInit = Src->getLeafValue(); in createAndImportSelDAGMatcher()4082 Init *SrcInit = Src->getLeafValue(); in createAndImportSelDAGMatcher()4112 DefInit *DI = dyn_cast<DefInit>(SrcChild->getLeafValue()); in createAndImportSelDAGMatcher()4223 if (auto *ChildDefInit = dyn_cast<DefInit>(SrcChild->getLeafValue())) { in getSrcChildName()4347 if (auto *ChildInt = dyn_cast<IntInit>(SrcChild->getLeafValue())) { in importChildMatcher()4359 if (auto *ChildDefInit = dyn_cast<DefInit>(SrcChild->getLeafValue())) { in importChildMatcher()4536 dyn_cast<IntInit>(DstChild->getLeafValue())) { in importExplicitUseRenderer()4542 if (auto *ChildDefInit = dyn_cast<DefInit>(DstChild->getLeafValue())) { in importExplicitUseRenderer()4823 DefInit *SubRegInit = dyn_cast<DefInit>(Dst->getChild(1)->getLeafValue()); in importExplicitUseRenderers()4850 Record *RCDef = getInitValueAsRegClass(ValChild->getLeafValue()); in importExplicitUseRenderers()[all …]
726 Init *getLeafValue() const { assert(isLeaf()); return Val; } in getLeafValue() function