Home
last modified time | relevance | path

Searched refs:getLeafValue (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp718 Init *SrcInit = Src->getLeafValue(); in createAndImportSelDAGMatcher()
804 Init *SrcInit = Src->getLeafValue(); in createAndImportSelDAGMatcher()
834 DefInit *DI = dyn_cast<DefInit>(SrcChild->getLeafValue()); in createAndImportSelDAGMatcher()
1064 if (auto *ChildInt = dyn_cast<IntInit>(SrcChild->getLeafValue())) { in importChildMatcher()
1247 dyn_cast<IntInit>(DstChild->getLeafValue())) { in importExplicitUseRenderer()
1310 if (isa<UnsetInit>(DstChild->getLeafValue())) { in importExplicitUseRenderer()
1621 dyn_cast<DefInit>(SubRegChild->getLeafValue())) { in importExplicitUseRenderers()
1719 const auto *DefaultOp = N->getLeafValue(); in importDefaultOperandRenderers()
1764 Record *RCRec = getInitValueAsRegClass(Leaf->getLeafValue()); in getRegClassFromLeaf()
1954 Record *RCDef = getInitValueAsRegClass(Dst->getLeafValue()); in runOnPattern()
[all …]
H A DCodeGenDAGPatterns.cpp1418 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()
1931 OS << *getLeafValue(); in print()
2002 return getLeafValue() == N->getLeafValue(); in isIsomorphicTo()
2053 Init *Val = Child->getLeafValue(); in SubstituteFormalArguments()
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()
[all …]
H A DDAGISelMatcherGen.cpp207 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()
341 if (IntInit *II = dyn_cast<IntInit>(N->getChild(1)->getLeafValue())) { in EmitOperatorMatchCode()
669 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
676 if (DefInit *DI = dyn_cast<DefInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
H A DFastISelEmitter.cpp262 DefInit *OpDI = dyn_cast<DefInit>(Op->getLeafValue()); in initialize()
431 Record *OpLeafRec = cast<DefInit>(Op->getLeafValue())->getDef(); in PhyRegForNode()
500 DefInit *SR = dyn_cast<DefInit>(Dst->getChild(1)->getLeafValue()); in collectPatterns()
504 SubRegNo = Dst->getChild(1)->getLeafValue()->getAsString(); in collectPatterns()
H A DCodeGenDAGPatterns.h719 Init *getLeafValue() const { in getLeafValue() function