reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1362 const TreePatternNode *Child = P->getChild(i); 1501 return N->getChild(OpNo); 1654 if (getChild(i)->ContainsUnresolvedType(TP)) 1828 getChild(0)->print(OS); 1831 getChild(i)->print(OS); 1884 if (!getChild(i)->isIsomorphicTo(N->getChild(i), DepVars)) 1884 if (!getChild(i)->isIsomorphicTo(N->getChild(i), DepVars)) 1899 CChildren.push_back(getChild(i)->clone()); 1917 getChild(i)->RemoveAllTypes(); 1928 TreePatternNode *Child = getChild(i); 1944 getChild(i)->SubstituteFormalArguments(ArgMap); 2213 unsigned IID = cast<IntInit>(getChild(0)->getLeafValue())->getValue(); 2288 if (getChild(i)->TreeHasProperty(Property, CGP)) 2399 MadeChange |= getChild(0)->UpdateNodeType(0, MVT::iPTR, TP); 2402 MadeChange |= getChild(i+1)->ApplyTypeConstraints(TP, NotRegisters); 2405 assert(getChild(i+1)->getNumTypes() == 1 && "Unhandled case"); 2406 MadeChange |= getChild(i+1)->UpdateNodeType(0, OpVT, TP); 2424 MadeChange |= getChild(i)->ApplyTypeConstraints(TP, NotRegisters); 2460 assert(getChild(0)->getNumTypes() == 1 && "FIXME: Unhandled"); 2461 MadeChange |= UpdateNodeType(0, getChild(0)->getExtType(0), TP); 2462 MadeChange |= getChild(0)->UpdateNodeType(0, getExtType(0), TP); 2478 if (!isOperandClass(getChild(0), "RegisterClass")) { 2484 TreePatternNode *SubIdxChild = getChild(I + 1); 2524 TreePatternNode *Child = getChild(ChildNo++); 2548 Child = getChild(ChildNo++); 2571 MadeChange |= getChild(i)->ApplyTypeConstraints(TP, NotRegisters); 2579 MadeChange |= getChild(i)->ApplyTypeConstraints(TP, NotRegisters); 2593 bool MadeChange = getChild(0)->ApplyTypeConstraints(TP, NotRegisters); 2618 if (!getChild(i)->canPatternMatch(Reason, CDP)) 2638 if (!OnlyOnRHSOfCommutative(getChild(getNumChildren()-1))) { 2641 if (OnlyOnRHSOfCommutative(getChild(i))) { 2695 ComputeNamedNodes(N->getChild(i)); 2893 N->getExtType(0) == N->getChild(0)->getExtType(0) && 3317 TreePatternNode *Dest = Pat->getChild(i); 3333 if (Pat->getChild(i)->getNumTypes() == 0) 3427 if (N->getNumChildren() != 1 || !N->getChild(0)->isLeaf()) 3454 AnalyzeNode(N->getChild(i)); 3579 getInstructionsInTree(Tree->getChild(i), Instrs); 3763 SrcPattern = Pattern->getChild(Pattern->getNumChildren()-1)->clone(); 3856 FindNames(P->getChild(i), Names, PatternTop); 4058 if (ForceArbitraryInstResultType(N->getChild(i), TP)) 4232 collectModes(Modes, N->getChild(i)); 4322 FindDepVarsOf(N->getChild(i), DepMap); 4446 if (N->getChild(0)->isLeaf() || N->getChild(0)->getOperator() != Operator) 4446 if (N->getChild(0)->isLeaf() || N->getChild(0)->getOperator() != Operator) 4451 if (N->getChild(1)->isLeaf() || N->getChild(1)->getOperator() != Operator) 4451 if (N->getChild(1)->isLeaf() || N->getChild(1)->getOperator() != Operator) 4542 TreePatternNode *Child = N->getChild(i);utils/TableGen/DAGISelEmitter.cpp
53 Cost += getResultPatternCost(P->getChild(i), CGP); 69 Cost += getResultPatternSize(P->getChild(i), CGP);utils/TableGen/DAGISelMatcherGen.cpp
317 PatternName += N->getChild(i)->getName(); 342 N->getChild(1)->isLeaf() && N->getChild(1)->getPredicateCalls().empty() && 342 N->getChild(1)->isLeaf() && N->getChild(1)->getPredicateCalls().empty() && 344 if (IntInit *II = dyn_cast<IntInit>(N->getChild(1)->getLeafValue())) { 360 EmitMatchCode(N->getChild(0), NodeNoTypes->getChild(0), ForceMode); 360 EmitMatchCode(N->getChild(0), NodeNoTypes->getChild(0), ForceMode); 459 EmitMatchCode(N->getChild(i), NodeNoTypes->getChild(i), ForceMode); 459 EmitMatchCode(N->getChild(i), NodeNoTypes->getChild(i), ForceMode); 595 NamedComplexPatternOperands[N->getChild(i)->getName()] = CurOp + 1; 596 CurOp += N->getChild(i)->getNumMIResults(CGP); 753 Count += numNodesThatMayLoadOrStore(N->getChild(i), CGP); 840 const TreePatternNode *Child = N->getChild(ChildNo); 861 EmitResultOperand(N->getChild(I), InstOps); 984 EmitResultOperand(N->getChild(0), InputOps);utils/TableGen/FastISelEmitter.cpp
207 TreePatternNode *Op = InstPatNode->getChild(i); 476 TreePatternNode *ChildOp = Dst->getChild(i); 503 if (!Dst->getChild(1)->isLeaf()) continue; 505 DefInit *SR = dyn_cast<DefInit>(Dst->getChild(1)->getLeafValue()); 509 SubRegNo = Dst->getChild(1)->getLeafValue()->getAsString(); 526 assert(InstPatNode->getChild(0)->getNumTypes() == 1); 527 VT = InstPatNode->getChild(0)->getSimpleType(0); 550 std::string PhysReg = PhyRegForNode(InstPatNode->getChild(i), Target); 553 Dst->getChild(DstIndex)->getName() != 554 InstPatNode->getChild(i)->getName()) {utils/TableGen/GlobalISelEmitter.cpp
3428 MVT(N->getChild(0)->getSimpleType(0)).isFloatingPoint()) 3694 TreePatternNode *SrcChild = Src->getChild(NumChildren - 1); 3723 TreePatternNode *SrcChild = Src->getChild(i); 3840 auto *SubOperand = SrcChild->getChild(i); 3944 auto Child = DstChild->getChild(0); 4131 auto SubClass = inferRegClassFromPattern(Dst->getChild(1)); 4136 inferSuperRegisterClassForNode(Dst->getExtType(0), Dst->getChild(0), 4137 Dst->getChild(2)); 4157 auto SuperClass = inferRegClassFromPattern(Dst->getChild(0)); 4162 auto SubIdx = inferSubRegIndexForNode(Dst->getChild(1)); 4182 auto SubClass = inferRegClassFromPattern(Dst->getChild(1)); 4187 Dst->getChild(2)); 4244 if (!Dst->getChild(0)->isLeaf()) 4248 dyn_cast<DefInit>(Dst->getChild(1)->getLeafValue())) { 4249 Record *RCDef = getInitValueAsRegClass(Dst->getChild(0)->getLeafValue()); 4265 DstMIBuilder.addRenderer<CopySubRegRenderer>(Dst->getChild(0)->getName(), 4274 if (!Dst->getChild(0)->isLeaf()) 4277 Record *RCDef = getInitValueAsRegClass(Dst->getChild(0)->getLeafValue()); 4286 TreePatternNode *ValChild = Dst->getChild(I); 4287 TreePatternNode *SubRegChild = Dst->getChild(I + 1); 4333 Dst->getChild(Child)); 4452 TreePatternNode *RCChild = N->getChild(IsRegSequence ? 0 : 1); 4632 DstIOpRec = getInitValueAsRegClass(Dst->getChild(1)->getLeafValue()); 4638 DstIOpRec = getInitValueAsRegClass(Dst->getChild(0)->getLeafValue()); 4642 if (!Dst->getChild(0)->isLeaf()) 4647 DstIOpRec = getInitValueAsRegClass(Dst->getChild(0)->getLeafValue()); 4653 VTy, Dst->getChild(0), Dst->getChild(2)); 4653 VTy, Dst->getChild(0), Dst->getChild(2)); 4667 auto MaybeRegClass = inferSuperRegisterClass(VTy, Dst->getChild(2)); 4710 getInitValueAsRegClass(Dst->getChild(1)->getLeafValue()); 4725 auto SuperClass = inferRegClassFromPattern(Dst->getChild(0)); 4730 auto SubIdx = inferSubRegIndexForNode(Dst->getChild(1)); 4760 auto SubClass = inferRegClassFromPattern(Dst->getChild(1)); 4765 Src->getExtType(0), Dst->getChild(0), Dst->getChild(2)); 4765 Src->getExtType(0), Dst->getChild(0), Dst->getChild(2)); 4784 auto SubClass = inferRegClassFromPattern(Dst->getChild(1)); 4790 inferSuperRegisterClass(Src->getExtType(0), Dst->getChild(2));