Home
last modified time | relevance | path

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

/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp623 if (isa<DefInit>(N->getLeafValue())) in FindDepVarsOf()
732 if (P->isLeaf() && isa<IntInit>(P->getLeafValue())) in getPatternSize()
756 if (isa<IntInit>(Child->getLeafValue())) in getPatternSize()
907 !isa<DefInit>(NodeToApply->getLeafValue()) || in ApplyTypeConstraint()
908 !static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint()
914 getValueType(static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef()); in ApplyTypeConstraint()
1129 OS << *getLeafValue(); in print()
1176 if (DefInit *DI = dyn_cast<DefInit>(getLeafValue())) { in isIsomorphicTo()
1177 if (DefInit *NDI = dyn_cast<DefInit>(N->getLeafValue())) { in isIsomorphicTo()
1183 return getLeafValue() == N->getLeafValue(); in isIsomorphicTo()
[all …]
DDAGISelMatcherGen.cpp202 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitLeafMatchCode()
215 if (N->getLeafValue() == UnsetInit::get()) { in EmitLeafMatchCode()
220 DefInit *DI = dyn_cast<DefInit>(N->getLeafValue()); in EmitLeafMatchCode()
296 if (IntInit *II = dyn_cast<IntInit>(N->getChild(1)->getLeafValue())) { in EmitOperatorMatchCode()
509 CGP.getComplexPattern(((DefInit*)N->getLeafValue())->getDef()); in EmitMatcherCode()
585 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
592 if (DefInit *DI = dyn_cast<DefInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
DFastISelEmitter.cpp249 DefInit *OpDI = dyn_cast<DefInit>(Op->getLeafValue()); in initialize()
412 Record *OpLeafRec = cast<DefInit>(Op->getLeafValue())->getDef(); in PhyRegForNode()
478 DefInit *SR = dyn_cast<DefInit>(Dst->getChild(1)->getLeafValue()); in collectPatterns()
482 SubRegNo = Dst->getChild(1)->getLeafValue()->getAsString(); in collectPatterns()
DCodeGenDAGPatterns.h363 Init *getLeafValue() const { assert(isLeaf()); return Val; } in getLeafValue() function