Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenDAGPatterns.cpp586 if (dynamic_cast<DefInit*>(N->getLeafValue()) != NULL) in FindDepVarsOf()
695 if (P->isLeaf() && dynamic_cast<IntInit*>(P->getLeafValue())) in getPatternSize()
719 if (dynamic_cast<IntInit*>(Child->getLeafValue())) in getPatternSize()
869 !dynamic_cast<DefInit*>(NodeToApply->getLeafValue()) || in ApplyTypeConstraint()
870 !static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint()
874 getValueType(static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef()); in ApplyTypeConstraint()
1054 OS << *getLeafValue(); in print()
1101 if (DefInit *DI = dynamic_cast<DefInit*>(getLeafValue())) { in isIsomorphicTo()
1102 if (DefInit *NDI = dynamic_cast<DefInit*>(N->getLeafValue())) { in isIsomorphicTo()
1108 return getLeafValue() == N->getLeafValue(); in isIsomorphicTo()
[all …]
DDAGISelMatcherGen.cpp206 if (IntInit *II = dynamic_cast<IntInit*>(N->getLeafValue())) { in EmitLeafMatchCode()
218 DefInit *DI = dynamic_cast<DefInit*>(N->getLeafValue()); in EmitLeafMatchCode()
286 if (IntInit *II = dynamic_cast<IntInit*>(N->getChild(1)->getLeafValue())) { in EmitOperatorMatchCode()
499 CGP.getComplexPattern(((DefInit*)N->getLeafValue())->getDef()); in EmitMatcherCode()
575 if (IntInit *II = dynamic_cast<IntInit*>(N->getLeafValue())) { in EmitResultLeafAsOperand()
582 if (DefInit *DI = dynamic_cast<DefInit*>(N->getLeafValue())) { in EmitResultLeafAsOperand()
DFastISelEmitter.cpp244 DefInit *OpDI = dynamic_cast<DefInit*>(Op->getLeafValue()); in initialize()
404 DefInit *OpDI = dynamic_cast<DefInit*>(Op->getLeafValue()); in PhyRegForNode()
471 DefInit *SR = dynamic_cast<DefInit*>(Dst->getChild(1)->getLeafValue()); in collectPatterns()
475 SubRegNo = Dst->getChild(1)->getLeafValue()->getAsString(); in collectPatterns()
DCodeGenDAGPatterns.h361 Init *getLeafValue() const { assert(isLeaf()); return Val; } in getLeafValue() function
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp712 if (isa<DefInit>(N->getLeafValue())) in FindDepVarsOf()
820 if (P->isLeaf() && isa<IntInit>(P->getLeafValue())) in getPatternSize()
848 if (isa<IntInit>(Child->getLeafValue())) in getPatternSize()
1023 !isa<DefInit>(NodeToApply->getLeafValue()) || in ApplyTypeConstraint()
1024 !static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint()
1030 getValueType(static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef()); in ApplyTypeConstraint()
1277 OS << *getLeafValue(); in print()
1324 if (DefInit *DI = dyn_cast<DefInit>(getLeafValue())) { in isIsomorphicTo()
1325 if (DefInit *NDI = dyn_cast<DefInit>(N->getLeafValue())) { in isIsomorphicTo()
1331 return getLeafValue() == N->getLeafValue(); in isIsomorphicTo()
[all …]
DDAGISelMatcherGen.cpp205 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitLeafMatchCode()
218 if (isa<UnsetInit>(N->getLeafValue())) { in EmitLeafMatchCode()
223 DefInit *DI = dyn_cast<DefInit>(N->getLeafValue()); in EmitLeafMatchCode()
321 if (IntInit *II = dyn_cast<IntInit>(N->getChild(1)->getLeafValue())) { in EmitOperatorMatchCode()
608 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
615 if (DefInit *DI = dyn_cast<DefInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
DFastISelEmitter.cpp251 DefInit *OpDI = dyn_cast<DefInit>(Op->getLeafValue()); in initialize()
429 Record *OpLeafRec = cast<DefInit>(Op->getLeafValue())->getDef(); in PhyRegForNode()
495 DefInit *SR = dyn_cast<DefInit>(Dst->getChild(1)->getLeafValue()); in collectPatterns()
499 SubRegNo = Dst->getChild(1)->getLeafValue()->getAsString(); in collectPatterns()
DCodeGenDAGPatterns.h387 Init *getLeafValue() const { assert(isLeaf()); return Val; } in getLeafValue() function