Home
last modified time | relevance | path

Searched refs:getLeafValue (Results 1 – 13 of 13) 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
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp1263 if (P->isLeaf() && isa<IntInit>(P->getLeafValue())) in getPatternSize()
1290 if (isa<IntInit>(Child->getLeafValue())) in getPatternSize()
1456 !isa<DefInit>(NodeToApply->getLeafValue()) || in ApplyTypeConstraint()
1457 !static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint()
1462 DefInit *DI = static_cast<DefInit*>(NodeToApply->getLeafValue()); in ApplyTypeConstraint()
1728 OS << *getLeafValue(); in print()
1777 if (DefInit *DI = dyn_cast<DefInit>(getLeafValue())) { in isIsomorphicTo()
1778 if (DefInit *NDI = dyn_cast<DefInit>(N->getLeafValue())) { in isIsomorphicTo()
1784 return getLeafValue() == N->getLeafValue(); in isIsomorphicTo()
1800 New = std::make_shared<TreePatternNode>(getLeafValue(), getNumTypes()); in clone()
[all …]
DDAGISelMatcherGen.cpp207 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitLeafMatchCode()
220 if (isa<UnsetInit>(N->getLeafValue())) { in EmitLeafMatchCode()
225 DefInit *DI = dyn_cast<DefInit>(N->getLeafValue()); in EmitLeafMatchCode()
324 if (IntInit *II = dyn_cast<IntInit>(N->getChild(1)->getLeafValue())) { in EmitOperatorMatchCode()
613 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
620 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.cpp3172 Init *SrcInit = Src->getLeafValue(); in createAndImportSelDAGMatcher()
3320 Init *SrcInit = Src->getLeafValue(); in createAndImportSelDAGMatcher()
3462 if (auto *ChildInt = dyn_cast<IntInit>(SrcChild->getLeafValue())) { in importChildMatcher()
3468 if (auto *ChildDefInit = dyn_cast<DefInit>(SrcChild->getLeafValue())) { in importChildMatcher()
3580 dyn_cast<IntInit>(DstChild->getLeafValue())) { in importExplicitUseRenderer()
3586 if (auto *ChildDefInit = dyn_cast<DefInit>(DstChild->getLeafValue())) { in importExplicitUseRenderer()
3728 dyn_cast<DefInit>(Dst->getChild(1)->getLeafValue())) { in importExplicitUseRenderers()
3729 Record *RCDef = getInitValueAsRegClass(Dst->getChild(0)->getLeafValue()); in importExplicitUseRenderers()
3888 Record *RCDef = getInitValueAsRegClass(Dst->getLeafValue()); in runOnPattern()
3938 DstIOpRec = getInitValueAsRegClass(Dst->getChild(1)->getLeafValue()); in runOnPattern()
[all …]
DCodeGenDAGPatterns.h642 Init *getLeafValue() const { assert(isLeaf()); return Val; } in getLeafValue() function