Lines Matching refs:getChild
1450 const TreePatternNode *Child = P->getChild(i); in getPatternSize()
1613 return N->getChild(OpNo); in getOperandNum()
1769 if (getChild(i)->ContainsUnresolvedType(TP)) in ContainsUnresolvedType()
1946 getChild(i)->print(OS); in print()
2006 if (!getChild(i)->isIsomorphicTo(N->getChild(i), DepVars)) in isIsomorphicTo()
2021 CChildren.push_back(getChild(i)->clone()); in clone()
2040 getChild(i)->RemoveAllTypes(); in RemoveAllTypes()
2051 TreePatternNode *Child = getChild(i); in SubstituteFormalArguments()
2067 getChild(i)->SubstituteFormalArguments(ArgMap); in SubstituteFormalArguments()
2344 unsigned IID = cast<IntInit>(getChild(0)->getLeafValue())->getValue(); in getIntrinsicInfo()
2419 if (getChild(i)->TreeHasProperty(Property, CGP)) in TreeHasProperty()
2531 MadeChange |= getChild(0)->UpdateNodeType(0, MVT::iPTR, TP); in ApplyTypeConstraints()
2534 MadeChange |= getChild(i+1)->ApplyTypeConstraints(TP, NotRegisters); in ApplyTypeConstraints()
2538 assert(getChild(i + 1)->getNumTypes() == 1 && "Unhandled case"); in ApplyTypeConstraints()
2539 MadeChange |= getChild(i + 1)->UpdateNodeType(0, OpVT, TP); in ApplyTypeConstraints()
2557 MadeChange |= getChild(i)->ApplyTypeConstraints(TP, NotRegisters); in ApplyTypeConstraints()
2593 assert(getChild(0)->getNumTypes() == 1 && "FIXME: Unhandled"); in ApplyTypeConstraints()
2594 MadeChange |= UpdateNodeType(0, getChild(0)->getExtType(0), TP); in ApplyTypeConstraints()
2595 MadeChange |= getChild(0)->UpdateNodeType(0, getExtType(0), TP); in ApplyTypeConstraints()
2611 if (!isOperandClass(getChild(0), "RegisterClass")) { in ApplyTypeConstraints()
2617 TreePatternNode *SubIdxChild = getChild(I + 1); in ApplyTypeConstraints()
2661 TreePatternNode *Child = getChild(ChildNo++); in ApplyTypeConstraints()
2685 Child = getChild(ChildNo++); in ApplyTypeConstraints()
2708 MadeChange |= getChild(i)->ApplyTypeConstraints(TP, NotRegisters); in ApplyTypeConstraints()
2732 MadeChange |= getChild(i)->ApplyTypeConstraints(TP, NotRegisters); in ApplyTypeConstraints()
2746 bool MadeChange = getChild(0)->ApplyTypeConstraints(TP, NotRegisters); in ApplyTypeConstraints()
2773 if (!getChild(i)->canPatternMatch(Reason, CDP)) in canPatternMatch()
2793 if (!OnlyOnRHSOfCommutative(getChild(getNumChildren()-1))) { in canPatternMatch()
2796 if (OnlyOnRHSOfCommutative(getChild(i))) { in canPatternMatch()
2850 ComputeNamedNodes(N->getChild(i)); in ComputeNamedNodes()
3060 N->getExtType(0) == N->getChild(0)->getExtType(0) && in SimplifyTree()
3483 TreePatternNode *Dest = Pat->getChild(i); in FindPatternInputsAndOutputs()
3500 if (Pat->getChild(i)->getNumTypes() == 0) in FindPatternInputsAndOutputs()
3594 if (N->getNumChildren() != 1 || !N->getChild(0)->isLeaf()) in IsNodeBitcast()
3624 AnalyzeNode(N->getChild(i)); in AnalyzeNode()
3753 getInstructionsInTree(Tree->getChild(i), Instrs); in getInstructionsInTree()
3938 SrcPattern = Pattern->getChild(Pattern->getNumChildren()-1)->clone(); in parseInstructionPattern()
4029 FindNames(P->getChild(i), Names, PatternTop); in FindNames()
4216 if (ForceArbitraryInstResultType(N->getChild(i), TP)) in ForceArbitraryInstResultType()
4400 collectModes(Modes, N->getChild(i)); in collectModes()
4486 FindDepVarsOf(N->getChild(i), DepMap); in FindDepVarsOf()
4611 if (N->getChild(0)->isLeaf() || N->getChild(0)->getOperator() != Operator) in GatherChildrenOfAssociativeOpcode()
4616 if (N->getChild(1)->isLeaf() || N->getChild(1)->getOperator() != Operator) in GatherChildrenOfAssociativeOpcode()
4710 TreePatternNode *Child = N->getChild(i); in GenerateVariantsOf()