Lines Matching refs:getChild
1414 const TreePatternNode *Child = P->getChild(i); in getPatternSize()
1579 return N->getChild(OpNo); in getOperandNum()
1732 if (getChild(i)->ContainsUnresolvedType(TP)) in ContainsUnresolvedType()
1909 getChild(i)->print(OS); in print()
1962 if (!getChild(i)->isIsomorphicTo(N->getChild(i), DepVars)) in isIsomorphicTo()
1977 CChildren.push_back(getChild(i)->clone()); in clone()
1995 getChild(i)->RemoveAllTypes(); in RemoveAllTypes()
2006 TreePatternNode *Child = getChild(i); in SubstituteFormalArguments()
2022 getChild(i)->SubstituteFormalArguments(ArgMap); in SubstituteFormalArguments()
2294 unsigned IID = cast<IntInit>(getChild(0)->getLeafValue())->getValue(); in getIntrinsicInfo()
2369 if (getChild(i)->TreeHasProperty(Property, CGP)) in TreeHasProperty()
2480 MadeChange |= getChild(0)->UpdateNodeType(0, MVT::iPTR, TP); in ApplyTypeConstraints()
2483 MadeChange |= getChild(i+1)->ApplyTypeConstraints(TP, NotRegisters); in ApplyTypeConstraints()
2486 assert(getChild(i+1)->getNumTypes() == 1 && "Unhandled case"); in ApplyTypeConstraints()
2487 MadeChange |= getChild(i+1)->UpdateNodeType(0, OpVT, TP); in ApplyTypeConstraints()
2505 MadeChange |= getChild(i)->ApplyTypeConstraints(TP, NotRegisters); in ApplyTypeConstraints()
2541 assert(getChild(0)->getNumTypes() == 1 && "FIXME: Unhandled"); in ApplyTypeConstraints()
2542 MadeChange |= UpdateNodeType(0, getChild(0)->getExtType(0), TP); in ApplyTypeConstraints()
2543 MadeChange |= getChild(0)->UpdateNodeType(0, getExtType(0), TP); in ApplyTypeConstraints()
2559 if (!isOperandClass(getChild(0), "RegisterClass")) { in ApplyTypeConstraints()
2565 TreePatternNode *SubIdxChild = getChild(I + 1); in ApplyTypeConstraints()
2609 TreePatternNode *Child = getChild(ChildNo++); in ApplyTypeConstraints()
2633 Child = getChild(ChildNo++); in ApplyTypeConstraints()
2656 MadeChange |= getChild(i)->ApplyTypeConstraints(TP, NotRegisters); in ApplyTypeConstraints()
2664 MadeChange |= getChild(i)->ApplyTypeConstraints(TP, NotRegisters); in ApplyTypeConstraints()
2678 bool MadeChange = getChild(0)->ApplyTypeConstraints(TP, NotRegisters); in ApplyTypeConstraints()
2705 if (!getChild(i)->canPatternMatch(Reason, CDP)) in canPatternMatch()
2725 if (!OnlyOnRHSOfCommutative(getChild(getNumChildren()-1))) { in canPatternMatch()
2728 if (OnlyOnRHSOfCommutative(getChild(i))) { in canPatternMatch()
2782 ComputeNamedNodes(N->getChild(i)); in ComputeNamedNodes()
2988 N->getExtType(0) == N->getChild(0)->getExtType(0) && in SimplifyTree()
3413 TreePatternNode *Dest = Pat->getChild(i); in FindPatternInputsAndOutputs()
3429 if (Pat->getChild(i)->getNumTypes() == 0) in FindPatternInputsAndOutputs()
3523 if (N->getNumChildren() != 1 || !N->getChild(0)->isLeaf()) in IsNodeBitcast()
3553 AnalyzeNode(N->getChild(i)); in AnalyzeNode()
3681 getInstructionsInTree(Tree->getChild(i), Instrs); in getInstructionsInTree()
3866 SrcPattern = Pattern->getChild(Pattern->getNumChildren()-1)->clone(); in parseInstructionPattern()
3959 FindNames(P->getChild(i), Names, PatternTop); in FindNames()
4146 if (ForceArbitraryInstResultType(N->getChild(i), TP)) in ForceArbitraryInstResultType()
4319 collectModes(Modes, N->getChild(i)); in collectModes()
4402 FindDepVarsOf(N->getChild(i), DepMap); in FindDepVarsOf()
4526 if (N->getChild(0)->isLeaf() || N->getChild(0)->getOperator() != Operator) in GatherChildrenOfAssociativeOpcode()
4531 if (N->getChild(1)->isLeaf() || N->getChild(1)->getOperator() != Operator) in GatherChildrenOfAssociativeOpcode()
4622 TreePatternNode *Child = N->getChild(i); in GenerateVariantsOf()