Home
last modified time | relevance | path

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

/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
/external/llvm-project/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp1362 DefInit *DI = dyn_cast<DefInit>(P->getLeafValue()); in isImmAllOnesAllZerosMatch()
1378 if (P->isLeaf() && isa<IntInit>(P->getLeafValue())) in getPatternSize()
1405 if (isa<IntInit>(Child->getLeafValue())) in getPatternSize()
1576 !isa<DefInit>(NodeToApply->getLeafValue()) || in ApplyTypeConstraint()
1577 !static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint()
1582 DefInit *DI = static_cast<DefInit*>(NodeToApply->getLeafValue()); in ApplyTypeConstraint()
1848 OS << *getLeafValue(); in print()
1903 if (DefInit *DI = dyn_cast<DefInit>(getLeafValue())) { in isIsomorphicTo()
1904 if (DefInit *NDI = dyn_cast<DefInit>(N->getLeafValue())) { in isIsomorphicTo()
1910 return getLeafValue() == N->getLeafValue(); in isIsomorphicTo()
[all …]
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()
344 if (IntInit *II = dyn_cast<IntInit>(N->getChild(1)->getLeafValue())) { in EmitOperatorMatchCode()
671 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
678 if (DefInit *DI = dyn_cast<DefInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
DFastISelEmitter.cpp258 DefInit *OpDI = dyn_cast<DefInit>(Op->getLeafValue()); in initialize()
436 Record *OpLeafRec = cast<DefInit>(Op->getLeafValue())->getDef(); in PhyRegForNode()
505 DefInit *SR = dyn_cast<DefInit>(Dst->getChild(1)->getLeafValue()); in collectPatterns()
509 SubRegNo = Dst->getChild(1)->getLeafValue()->getAsString(); in collectPatterns()
DGlobalISelEmitter.cpp3891 Init *SrcInit = Src->getLeafValue(); in createAndImportSelDAGMatcher()
3964 Init *SrcInit = Src->getLeafValue(); in createAndImportSelDAGMatcher()
3994 DefInit *DI = dyn_cast<DefInit>(SrcChild->getLeafValue()); in createAndImportSelDAGMatcher()
4105 if (auto *ChildDefInit = dyn_cast<DefInit>(SrcChild->getLeafValue())) { in getSrcChildName()
4218 if (auto *ChildInt = dyn_cast<IntInit>(SrcChild->getLeafValue())) { in importChildMatcher()
4230 if (auto *ChildDefInit = dyn_cast<DefInit>(SrcChild->getLeafValue())) { in importChildMatcher()
4407 dyn_cast<IntInit>(DstChild->getLeafValue())) { in importExplicitUseRenderer()
4413 if (auto *ChildDefInit = dyn_cast<DefInit>(DstChild->getLeafValue())) { in importExplicitUseRenderer()
4693 DefInit *SubRegInit = dyn_cast<DefInit>(Dst->getChild(1)->getLeafValue()); in importExplicitUseRenderers()
4720 Record *RCDef = getInitValueAsRegClass(ValChild->getLeafValue()); in importExplicitUseRenderers()
[all …]
DCodeGenDAGPatterns.h720 Init *getLeafValue() const { assert(isLeaf()); return Val; } in getLeafValue() function