Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.cpp1382 DefInit *DI = dyn_cast<DefInit>(P->getLeafValue()); in isImmAllOnesAllZerosMatch()
1398 if (P->isLeaf() && isa<IntInit>(P->getLeafValue())) in getPatternSize()
1425 if (isa<IntInit>(Child->getLeafValue())) in getPatternSize()
1622 !isa<DefInit>(NodeToApply->getLeafValue()) || in ApplyTypeConstraint()
1623 !static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint()
1628 DefInit *DI = static_cast<DefInit*>(NodeToApply->getLeafValue()); in ApplyTypeConstraint()
1894 OS << *getLeafValue(); in print()
1949 if (DefInit *DI = dyn_cast<DefInit>(getLeafValue())) { in isIsomorphicTo()
1950 if (DefInit *NDI = dyn_cast<DefInit>(N->getLeafValue())) { in isIsomorphicTo()
1956 return getLeafValue() == N->getLeafValue(); in isIsomorphicTo()
[all …]
H A DDAGISelMatcherGen.cpp206 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitLeafMatchCode()
219 if (isa<UnsetInit>(N->getLeafValue())) { in EmitLeafMatchCode()
224 DefInit *DI = dyn_cast<DefInit>(N->getLeafValue()); in EmitLeafMatchCode()
348 if (IntInit *II = dyn_cast<IntInit>(N->getChild(1)->getLeafValue())) { in EmitOperatorMatchCode()
675 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
682 if (DefInit *DI = dyn_cast<DefInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
H A DFastISelEmitter.cpp258 DefInit *OpDI = dyn_cast<DefInit>(Op->getLeafValue()); in initialize()
432 Record *OpLeafRec = cast<DefInit>(Op->getLeafValue())->getDef(); in PhyRegForNode()
501 DefInit *SR = dyn_cast<DefInit>(Dst->getChild(1)->getLeafValue()); in collectPatterns()
505 SubRegNo = Dst->getChild(1)->getLeafValue()->getAsString(); in collectPatterns()
H A DGlobalISelEmitter.cpp3941 Init *SrcInit = Src->getLeafValue(); in createAndImportSelDAGMatcher()
4014 Init *SrcInit = Src->getLeafValue(); in createAndImportSelDAGMatcher()
4044 DefInit *DI = dyn_cast<DefInit>(SrcChild->getLeafValue()); in createAndImportSelDAGMatcher()
4155 if (auto *ChildDefInit = dyn_cast<DefInit>(SrcChild->getLeafValue())) { in getSrcChildName()
4279 if (auto *ChildInt = dyn_cast<IntInit>(SrcChild->getLeafValue())) { in importChildMatcher()
4291 if (auto *ChildDefInit = dyn_cast<DefInit>(SrcChild->getLeafValue())) { in importChildMatcher()
4468 dyn_cast<IntInit>(DstChild->getLeafValue())) { in importExplicitUseRenderer()
4474 if (auto *ChildDefInit = dyn_cast<DefInit>(DstChild->getLeafValue())) { in importExplicitUseRenderer()
4755 DefInit *SubRegInit = dyn_cast<DefInit>(Dst->getChild(1)->getLeafValue()); in importExplicitUseRenderers()
4782 Record *RCDef = getInitValueAsRegClass(ValChild->getLeafValue()); in importExplicitUseRenderers()
[all …]
H A DCodeGenDAGPatterns.h718 Init *getLeafValue() const { assert(isLeaf()); return Val; } in getLeafValue() function