Lines Matching refs:getChild

1469     const TreePatternNode *Child = P->getChild(i);  in getPatternSize()
1634 return N->getChild(OpNo); in getOperandNum()
1790 if (getChild(i)->ContainsUnresolvedType(TP)) in ContainsUnresolvedType()
1967 getChild(i)->print(OS); in print()
2020 if (!getChild(i)->isIsomorphicTo(N->getChild(i), DepVars)) in isIsomorphicTo()
2035 CChildren.push_back(getChild(i)->clone()); in clone()
2053 getChild(i)->RemoveAllTypes(); in RemoveAllTypes()
2064 TreePatternNode *Child = getChild(i); in SubstituteFormalArguments()
2080 getChild(i)->SubstituteFormalArguments(ArgMap); in SubstituteFormalArguments()
2354 unsigned IID = cast<IntInit>(getChild(0)->getLeafValue())->getValue(); in getIntrinsicInfo()
2429 if (getChild(i)->TreeHasProperty(Property, CGP)) in TreeHasProperty()
2540 MadeChange |= getChild(0)->UpdateNodeType(0, MVT::iPTR, TP); in ApplyTypeConstraints()
2543 MadeChange |= getChild(i+1)->ApplyTypeConstraints(TP, NotRegisters); in ApplyTypeConstraints()
2546 assert(getChild(i+1)->getNumTypes() == 1 && "Unhandled case"); in ApplyTypeConstraints()
2547 MadeChange |= getChild(i+1)->UpdateNodeType(0, OpVT, TP); in ApplyTypeConstraints()
2565 MadeChange |= getChild(i)->ApplyTypeConstraints(TP, NotRegisters); in ApplyTypeConstraints()
2601 assert(getChild(0)->getNumTypes() == 1 && "FIXME: Unhandled"); in ApplyTypeConstraints()
2602 MadeChange |= UpdateNodeType(0, getChild(0)->getExtType(0), TP); in ApplyTypeConstraints()
2603 MadeChange |= getChild(0)->UpdateNodeType(0, getExtType(0), TP); in ApplyTypeConstraints()
2619 if (!isOperandClass(getChild(0), "RegisterClass")) { in ApplyTypeConstraints()
2625 TreePatternNode *SubIdxChild = getChild(I + 1); in ApplyTypeConstraints()
2669 TreePatternNode *Child = getChild(ChildNo++); in ApplyTypeConstraints()
2693 Child = getChild(ChildNo++); in ApplyTypeConstraints()
2716 MadeChange |= getChild(i)->ApplyTypeConstraints(TP, NotRegisters); in ApplyTypeConstraints()
2740 MadeChange |= getChild(i)->ApplyTypeConstraints(TP, NotRegisters); in ApplyTypeConstraints()
2754 bool MadeChange = getChild(0)->ApplyTypeConstraints(TP, NotRegisters); in ApplyTypeConstraints()
2781 if (!getChild(i)->canPatternMatch(Reason, CDP)) in canPatternMatch()
2801 if (!OnlyOnRHSOfCommutative(getChild(getNumChildren()-1))) { in canPatternMatch()
2804 if (OnlyOnRHSOfCommutative(getChild(i))) { in canPatternMatch()
2858 ComputeNamedNodes(N->getChild(i)); in ComputeNamedNodes()
3065 N->getExtType(0) == N->getChild(0)->getExtType(0) && in SimplifyTree()
3490 TreePatternNode *Dest = Pat->getChild(i); in FindPatternInputsAndOutputs()
3506 if (Pat->getChild(i)->getNumTypes() == 0) in FindPatternInputsAndOutputs()
3600 if (N->getNumChildren() != 1 || !N->getChild(0)->isLeaf()) in IsNodeBitcast()
3630 AnalyzeNode(N->getChild(i)); in AnalyzeNode()
3758 getInstructionsInTree(Tree->getChild(i), Instrs); in getInstructionsInTree()
3943 SrcPattern = Pattern->getChild(Pattern->getNumChildren()-1)->clone(); in parseInstructionPattern()
4036 FindNames(P->getChild(i), Names, PatternTop); in FindNames()
4223 if (ForceArbitraryInstResultType(N->getChild(i), TP)) in ForceArbitraryInstResultType()
4396 collectModes(Modes, N->getChild(i)); in collectModes()
4479 FindDepVarsOf(N->getChild(i), DepMap); in FindDepVarsOf()
4603 if (N->getChild(0)->isLeaf() || N->getChild(0)->getOperator() != Operator) in GatherChildrenOfAssociativeOpcode()
4608 if (N->getChild(1)->isLeaf() || N->getChild(1)->getOperator() != Operator) in GatherChildrenOfAssociativeOpcode()
4702 TreePatternNode *Child = N->getChild(i); in GenerateVariantsOf()