Home
last modified time | relevance | path

Searched refs:getChild (Results 1 – 12 of 12) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriteRope.cpp427 RopePieceBTreeNode *getChild(unsigned i) { in getChild() function in __anon71069c970311::RopePieceBTreeInterior
437 Size += getChild(i)->size(); in FullRecomputeSizeLocally()
484 for (; Offset >= ChildOffset+getChild(i)->size(); ++i) in split()
485 ChildOffset += getChild(i)->size(); in split()
513 ChildOffs = size()-getChild(i)->size(); in insert()
515 for (; Offset > ChildOffs+getChild(i)->size(); ++i) in insert()
516 ChildOffs += getChild(i)->size(); in insert()
578 for (; Offset >= getChild(i)->size(); ++i) in erase()
579 Offset -= getChild(i)->size(); in erase()
584 RopePieceBTreeNode *CurChild = getChild(i); in erase()
[all …]
H A DDeltaTree.cpp145 const DeltaTreeNode *getChild(unsigned i) const { in getChild() function in __anon35c056f90111::DeltaTreeInteriorNode
150 DeltaTreeNode *getChild(unsigned i) { in getChild() function in __anon35c056f90111::DeltaTreeInteriorNode
176 NewFullDelta += IN->getChild(i)->getFullDelta(); in RecomputeFullDeltaLocally()
365 const DeltaTreeNode *IChild = IN->getChild(i); in VerifyTree()
376 assert(IN->getChild(i+1)->getValue(0).FileLoc > IVal.FileLoc); in VerifyTree()
380 FullDelta += IN->getChild(IN->getNumValuesUsed())->getFullDelta(); in VerifyTree()
436 Result += IN->getChild(i)->getFullDelta(); in getDeltaAt()
443 return Result+IN->getChild(NumValsGreater)->getFullDelta(); in getDeltaAt()
447 Node = IN->getChild(NumValsGreater); in getDeltaAt()
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcherGen.cpp321 PatternName += N->getChild(i)->getName(); in EmitOperatorMatchCode()
346 N->getChild(1)->isLeaf() && N->getChild(1)->getPredicateCalls().empty() && in EmitOperatorMatchCode()
348 if (IntInit *II = dyn_cast<IntInit>(N->getChild(1)->getLeafValue())) { in EmitOperatorMatchCode()
364 EmitMatchCode(N->getChild(0), NodeNoTypes->getChild(0), ForceMode); in EmitOperatorMatchCode()
463 EmitMatchCode(N->getChild(i), NodeNoTypes->getChild(i), ForceMode); in EmitOperatorMatchCode()
599 NamedComplexPatternOperands[N->getChild(i)->getName()] = CurOp + 1; in EmitMatcherCode()
600 CurOp += N->getChild(i)->getNumMIResults(CGP); in EmitMatcherCode()
779 Count += numNodesThatMayLoadOrStore(N->getChild(i), CGP); in numNodesThatMayLoadOrStore()
866 const TreePatternNode *Child = N->getChild(ChildNo); in EmitResultInstructionAsOperand()
887 EmitResultOperand(N->getChild(I), InstOps); in EmitResultInstructionAsOperand()
[all …]
H A DFastISelEmitter.cpp207 TreePatternNode *Op = InstPatNode->getChild(i); in initialize()
472 TreePatternNode *ChildOp = Dst->getChild(i); in collectPatterns()
499 if (!Dst->getChild(1)->isLeaf()) continue; in collectPatterns()
501 DefInit *SR = dyn_cast<DefInit>(Dst->getChild(1)->getLeafValue()); in collectPatterns()
505 SubRegNo = Dst->getChild(1)->getLeafValue()->getAsString(); in collectPatterns()
522 assert(InstPatNode->getChild(0)->getNumTypes() == 1); in collectPatterns()
523 VT = InstPatNode->getChild(0)->getSimpleType(0); in collectPatterns()
546 std::string PhysReg = PhyRegForNode(InstPatNode->getChild(i), Target); in collectPatterns()
549 Dst->getChild(DstIndex)->getName() != in collectPatterns()
550 InstPatNode->getChild(i)->getName()) { in collectPatterns()
H A DCodeGenDAGPatterns.cpp1579 return N->getChild(OpNo); in getOperandNum()
1909 getChild(i)->print(OS); in print()
1962 if (!getChild(i)->isIsomorphicTo(N->getChild(i), DepVars)) in isIsomorphicTo()
1995 getChild(i)->RemoveAllTypes(); in RemoveAllTypes()
2006 TreePatternNode *Child = getChild(i); in SubstituteFormalArguments()
2633 Child = getChild(ChildNo++); in ApplyTypeConstraints()
2782 ComputeNamedNodes(N->getChild(i)); in ComputeNamedNodes()
3553 AnalyzeNode(N->getChild(i)); in AnalyzeNode()
4319 collectModes(Modes, N->getChild(i)); in collectModes()
4526 if (N->getChild(0)->isLeaf() || N->getChild(0)->getOperator() != Operator) in GatherChildrenOfAssociativeOpcode()
[all …]
H A DGlobalISelEmitter.cpp4084 TreePatternNode *PtrChild = Src->getChild(0); in createAndImportSelDAGMatcher()
4106 TreePatternNode *SrcChild = Src->getChild(i); in createAndImportSelDAGMatcher()
4258 auto *SubOperand = SrcChild->getChild(i); in importChildMatcher()
4412 auto Child = DstChild->getChild(0); in importExplicitUseRenderer()
4767 if (!Dst->getChild(1)->isLeaf()) in importExplicitUseRenderers()
4774 TreePatternNode *ValChild = Dst->getChild(0); in importExplicitUseRenderers()
4817 if (!Dst->getChild(0)->isLeaf()) in importExplicitUseRenderers()
4829 TreePatternNode *ValChild = Dst->getChild(I); in importExplicitUseRenderers()
5031 TreePatternNode *Child0 = N->getChild(0); in inferRegClassFromPattern()
5238 VTy, Dst->getChild(0), Dst->getChild(2)); in runOnPattern()
[all …]
H A DDAGISelEmitter.cpp54 Cost += getResultPatternCost(P->getChild(i), CGP); in getResultPatternCost()
70 Cost += getResultPatternSize(P->getChild(i), CGP); in getResultPatternSize()
H A DDAGISelMatcherEmitter.cpp270 const unsigned ChildSize = SizeMatcherList(SM->getChild(i), OS); in SizeMatcher()
272 SM->getChild(i)->setSize(ChildSize); in SizeMatcher()
396 unsigned ChildSize = SM->getChild(i)->getSize(); in EmitMatcher()
405 ChildSize = EmitMatcherList(SM->getChild(i), Indent+1, in EmitMatcher()
407 assert(ChildSize == SM->getChild(i)->getSize() && in EmitMatcher()
H A DDAGISelMatcher.h199 Matcher *getChild(unsigned i) { return Children[i]; } in getChild() function
200 const Matcher *getChild(unsigned i) const { return Children[i]; } in getChild() function
H A DCodeGenDAGPatterns.h722 TreePatternNode *getChild(unsigned N) const { return Children[N].get(); } in getChild() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DVirtualFileSystem.cpp658 InMemoryNode *getChild(StringRef Name) { in getChild() function in llvm::vfs::detail::InMemoryDirectory
747 detail::InMemoryNode *Node = Dir->getChild(Name); in addFile()
845 detail::InMemoryNode *Node = Dir->getChild(*I); in lookupInMemoryNode()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h1163 const Node *getChild() const { return Child; } in getChild() function