Lines Matching refs:DstChild
3573 TreePatternNode *DstChild);
4325 TreePatternNode *DstChild) { in importExplicitUseRenderer() argument
4327 const auto &SubOperand = Rule.getComplexSubOperand(DstChild->getName()); in importExplicitUseRenderer()
4330 *std::get<0>(*SubOperand), DstChild->getName(), in importExplicitUseRenderer()
4335 if (!DstChild->isLeaf()) { in importExplicitUseRenderer()
4336 if (DstChild->getOperator()->isSubClassOf("SDNodeXForm")) { in importExplicitUseRenderer()
4337 auto Child = DstChild->getChild(0); in importExplicitUseRenderer()
4338 auto I = SDNodeXFormEquivs.find(DstChild->getOperator()); in importExplicitUseRenderer()
4340 Record *XFormOpc = DstChild->getOperator()->getValueAsDef("Opcode"); in importExplicitUseRenderer()
4360 if (DstChild->getOperator()->isSubClassOf("SDNode")) { in importExplicitUseRenderer()
4361 auto &ChildSDNI = CGP.getSDNodeInfo(DstChild->getOperator()); in importExplicitUseRenderer()
4363 DstMIBuilder.addRenderer<CopyRenderer>(DstChild->getName()); in importExplicitUseRenderer()
4372 if (DstChild->getOperator()->getName() == "timm") { in importExplicitUseRenderer()
4373 DstMIBuilder.addRenderer<CopyRenderer>(DstChild->getName()); in importExplicitUseRenderer()
4375 } else if (DstChild->getOperator()->getName() == "imm") { in importExplicitUseRenderer()
4376 DstMIBuilder.addRenderer<CopyConstantAsImmRenderer>(DstChild->getName()); in importExplicitUseRenderer()
4378 } else if (DstChild->getOperator()->getName() == "fpimm") { in importExplicitUseRenderer()
4380 DstChild->getName()); in importExplicitUseRenderer()
4384 if (DstChild->getOperator()->isSubClassOf("Instruction")) { in importExplicitUseRenderer()
4385 auto OpTy = getInstResultType(DstChild); in importExplicitUseRenderer()
4395 ++InsertPt, Rule, DstChild, TempRegID); in importExplicitUseRenderer()
4401 … return failedImport("Dst pattern child isn't a leaf node or an MBB" + llvm::to_string(*DstChild)); in importExplicitUseRenderer()
4407 dyn_cast<IntInit>(DstChild->getLeafValue())) { in importExplicitUseRenderer()
4413 if (auto *ChildDefInit = dyn_cast<DefInit>(DstChild->getLeafValue())) { in importExplicitUseRenderer()
4416 ArrayRef<TypeSetByHwMode> ChildTypes = DstChild->getExtTypes(); in importExplicitUseRenderer()
4437 DstChild->getName(), ChildRec->getValueAsDef("GIZeroRegister")); in importExplicitUseRenderer()
4441 DstMIBuilder.addRenderer<CopyRenderer>(DstChild->getName()); in importExplicitUseRenderer()
4457 const OperandMatcher &OM = Rule.getOperandMatcher(DstChild->getName()); in importExplicitUseRenderer()
4459 *ComplexPattern->second, DstChild->getName(), in importExplicitUseRenderer()