Lines Matching refs:SrcChild

3547                            const TreePatternNode *SrcChild,
3992 TreePatternNode *SrcChild = Src->getChild(NumChildren - 1); in createAndImportSelDAGMatcher() local
3993 if (SrcChild->isLeaf()) { in createAndImportSelDAGMatcher()
3994 DefInit *DI = dyn_cast<DefInit>(SrcChild->getLeafValue()); in createAndImportSelDAGMatcher()
4000 InsnMatcher.addOperand(OpIdx++, SrcChild->getName(), TempOpIdx); in createAndImportSelDAGMatcher()
4042 TreePatternNode *SrcChild = Src->getChild(i); in createAndImportSelDAGMatcher() local
4064 InsnMatcher.addOperand(OpIdx++, SrcChild->getName(), TempOpIdx); in createAndImportSelDAGMatcher()
4078 importChildMatcher(Rule, InsnMatcher, SrcChild, OperandIsAPointer, in createAndImportSelDAGMatcher()
4101 static StringRef getSrcChildName(const TreePatternNode *SrcChild, in getSrcChildName() argument
4103 StringRef SrcChildName = SrcChild->getName(); in getSrcChildName()
4104 if (SrcChildName.empty() && SrcChild->isLeaf()) { in getSrcChildName()
4105 if (auto *ChildDefInit = dyn_cast<DefInit>(SrcChild->getLeafValue())) { in getSrcChildName()
4119 const TreePatternNode *SrcChild, bool OperandIsAPointer, in importChildMatcher() argument
4123 std::string SrcChildName = std::string(getSrcChildName(SrcChild, PhysReg)); in importChildMatcher()
4124 if (!SrcChild->isLeaf() && in importChildMatcher()
4125 SrcChild->getOperator()->isSubClassOf("ComplexPattern")) { in importChildMatcher()
4128 std::string PatternName = std::string(SrcChild->getOperator()->getName()); in importChildMatcher()
4129 for (unsigned i = 0; i < SrcChild->getNumChildren(); ++i) { in importChildMatcher()
4131 PatternName += SrcChild->getChild(i)->getName(); in importChildMatcher()
4142 ArrayRef<TypeSetByHwMode> ChildTypes = SrcChild->getExtTypes(); in importChildMatcher()
4147 if (!SrcChild->isLeaf()) { in importChildMatcher()
4148 if (SrcChild->getOperator()->isSubClassOf("SDNode")) { in importChildMatcher()
4149 auto &ChildSDNI = CGP.getSDNodeInfo(SrcChild->getOperator()); in importChildMatcher()
4154 if (SrcChild->getOperator()->getName() == "timm") { in importChildMatcher()
4167 to_string(*SrcChild) + ")"); in importChildMatcher()
4171 if (!SrcChild->isLeaf()) { in importChildMatcher()
4172 if (SrcChild->getOperator()->isSubClassOf("ComplexPattern")) { in importChildMatcher()
4179 OM, SrcChild->getOperator(), TempOpIdx)) in importChildMatcher()
4182 for (unsigned i = 0, e = SrcChild->getNumChildren(); i != e; ++i) { in importChildMatcher()
4183 auto *SubOperand = SrcChild->getChild(i); in importChildMatcher()
4186 SubOperand->getName(), SrcChild->getOperator(), RendererID, i, in importChildMatcher()
4196 InsnMatcher.getRuleMatcher(), SrcChild->getName()); in importChildMatcher()
4207 Rule, InsnOperand.getInsnMatcher(), SrcChild, TempOpIdx); in importChildMatcher()
4214 if (SrcChild->hasAnyPredicate()) in importChildMatcher()
4218 if (auto *ChildInt = dyn_cast<IntInit>(SrcChild->getLeafValue())) { in importChildMatcher()
4230 if (auto *ChildDefInit = dyn_cast<DefInit>(SrcChild->getLeafValue())) { in importChildMatcher()
4234 auto PA = SrcChild->getNamesAsPredicateArg().begin(); in importChildMatcher()
4285 InsnMatcher.getRuleMatcher(), SrcChild->getName(), false); in importChildMatcher()