Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp756 const Init *SrcInit = Src.getLeafValue(); in createAndImportSelDAGMatcher()
850 const Init *SrcInit = Src.getLeafValue(); in createAndImportSelDAGMatcher()
882 const DefInit *DI = dyn_cast<DefInit>(SrcChild.getLeafValue()); in createAndImportSelDAGMatcher()
976 if (auto *ChildDefInit = dyn_cast<DefInit>(SrcChild.getLeafValue())) { in getSrcChildName()
1038 } else if (auto *ChildDefInit = dyn_cast<DefInit>(SrcChild.getLeafValue())) { in importChildMatcher()
1126 if (auto *ChildInt = dyn_cast<IntInit>(SrcChild.getLeafValue())) { in importChildMatcher()
1138 if (auto *ChildDefInit = dyn_cast<DefInit>(SrcChild.getLeafValue())) { in importChildMatcher()
1260 if (const auto *DI = dyn_cast<DefInit>(N.getLeafValue())) { in importNamedNodeRenderer()
1301 if (isa<UnsetInit>(N.getLeafValue())) { in importNamedNodeRenderer()
1313 if (const auto *II = dyn_cast<IntInit>(N.getLeafValue())) { in importLeafNodeRenderer()
[all …]
H A DDAGISelMatcherGen.cpp204 if (const IntInit *II = dyn_cast<IntInit>(N.getLeafValue())) { in EmitLeafMatchCode()
217 if (isa<UnsetInit>(N.getLeafValue())) { in EmitLeafMatchCode()
222 const DefInit *DI = dyn_cast<DefInit>(N.getLeafValue()); in EmitLeafMatchCode()
338 if (const IntInit *II = dyn_cast<IntInit>(N.getChild(1).getLeafValue())) { in EmitOperatorMatchCode()
664 if (const IntInit *II = dyn_cast<IntInit>(N.getLeafValue())) { in EmitResultLeafAsOperand()
672 if (const DefInit *DI = dyn_cast<DefInit>(N.getLeafValue())) { in EmitResultLeafAsOperand()
H A DFastISelEmitter.cpp262 const DefInit *OpDI = dyn_cast<DefInit>(Op.getLeafValue()); in initialize()
425 const Record *OpLeafRec = cast<DefInit>(Op.getLeafValue())->getDef(); in PhysRegForNode()
492 const DefInit *SR = dyn_cast<DefInit>(Dst.getChild(1).getLeafValue()); in collectPatterns()
496 SubRegNo = Dst.getChild(1).getLeafValue()->getAsString(); in collectPatterns()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenDAGPatterns.cpp1445 const DefInit *DI = dyn_cast<DefInit>(P.getLeafValue()); in isImmAllOnesAllZerosMatch()
1461 if (P.isLeaf() && isa<IntInit>(P.getLeafValue())) in getPatternSize()
1487 if (isa<IntInit>(Child.getLeafValue())) in getPatternSize()
1673 if (!NodeToApply.isLeaf() || !isa<DefInit>(NodeToApply.getLeafValue()) || in ApplyTypeConstraint()
1674 !cast<DefInit>(NodeToApply.getLeafValue()) in ApplyTypeConstraint()
1680 const DefInit *DI = cast<DefInit>(NodeToApply.getLeafValue()); in ApplyTypeConstraint()
2001 OS << *getLeafValue(); in print()
2065 if (const DefInit *DI = dyn_cast<DefInit>(getLeafValue())) { in isIsomorphicTo()
2066 if (const DefInit *NDI = dyn_cast<DefInit>(N.getLeafValue())) { in isIsomorphicTo()
2071 return getLeafValue() == N.getLeafValue(); in isIsomorphicTo()
[all …]
H A DCodeGenDAGPatterns.h716 const Init *getLeafValue() const { in getLeafValue() function