Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriteRope.cpp427 RopePieceBTreeNode *getChild(unsigned i) { in getChild() function in __anone7aa4e990311::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 __anon546ba07b0111::DeltaTreeInteriorNode
150 DeltaTreeNode *getChild(unsigned i) { in getChild() function in __anon546ba07b0111::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-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp864 const TreePatternNode *SrcChild = Src->getChild(i); in createAndImportSelDAGMatcher()
954 PatternName += SrcChild->getChild(i)->getName(); in importChildMatcher()
1028 auto *SubOperand = SrcChild->getChild(i); in importChildMatcher()
1176 auto Child = DstChild->getChild(0); in importExplicitUseRenderer()
1548 if (!Dst->getChild(1)->isLeaf()) in importExplicitUseRenderers()
1555 const TreePatternNode *ValChild = Dst->getChild(0); in importExplicitUseRenderers()
1605 if (!Dst->getChild(0)->isLeaf()) in importExplicitUseRenderers()
1812 const TreePatternNode *Child0 = N->getChild(0); in inferRegClassFromPattern()
1820 return inferSuperRegisterClass(VTy, N->getChild(1)); in inferRegClassFromPattern()
2046 VTy, Dst->getChild(0), Dst->getChild(2)); in runOnPattern()
[all …]
H A DDAGISelMatcherGen.cpp314 PatternName += N->getChild(i)->getName(); in EmitOperatorMatchCode()
339 N->getChild(1)->isLeaf() && N->getChild(1)->getPredicateCalls().empty() && in EmitOperatorMatchCode()
341 if (IntInit *II = dyn_cast<IntInit>(N->getChild(1)->getLeafValue())) { in EmitOperatorMatchCode()
358 EmitMatchCode(N->getChild(0), NodeNoTypes->getChild(0)); in EmitOperatorMatchCode()
457 EmitMatchCode(N->getChild(i), NodeNoTypes->getChild(i)); in EmitOperatorMatchCode()
592 NamedComplexPatternOperands[N->getChild(i)->getName()] = CurOp + 1; in EmitMatcherCode()
593 CurOp += N->getChild(i)->getNumMIResults(CGP); in EmitMatcherCode()
773 Count += numNodesThatMayLoadOrStore(N->getChild(i), CGP); in numNodesThatMayLoadOrStore()
860 const TreePatternNode *Child = N->getChild(ChildNo); in EmitResultInstructionAsOperand()
881 EmitResultOperand(N->getChild(I), InstOps); in EmitResultInstructionAsOperand()
[all …]
H A DFastISelEmitter.cpp211 TreePatternNode *Op = InstPatNode->getChild(i); in initialize()
471 TreePatternNode *ChildOp = Dst->getChild(i); in collectPatterns()
498 if (!Dst->getChild(1)->isLeaf()) continue; in collectPatterns()
500 DefInit *SR = dyn_cast<DefInit>(Dst->getChild(1)->getLeafValue()); in collectPatterns()
504 SubRegNo = Dst->getChild(1)->getLeafValue()->getAsString(); in collectPatterns()
521 assert(InstPatNode->getChild(0)->getNumTypes() == 1); in collectPatterns()
522 VT = InstPatNode->getChild(0)->getSimpleType(0); in collectPatterns()
545 std::string PhysReg = PhyRegForNode(InstPatNode->getChild(i), Target); in collectPatterns()
548 Dst->getChild(DstIndex)->getName() != in collectPatterns()
549 InstPatNode->getChild(i)->getName()) { in collectPatterns()
H A DCodeGenDAGPatterns.cpp1613 return N->getChild(OpNo); in getOperandNum()
1946 getChild(i)->print(OS); in print()
2006 if (!getChild(i)->isIsomorphicTo(N->getChild(i), DepVars)) in isIsomorphicTo()
2040 getChild(i)->RemoveAllTypes(); in RemoveAllTypes()
2051 TreePatternNode *Child = getChild(i); in SubstituteFormalArguments()
2685 Child = getChild(ChildNo++); in ApplyTypeConstraints()
2850 ComputeNamedNodes(N->getChild(i)); in ComputeNamedNodes()
3624 AnalyzeNode(N->getChild(i)); in AnalyzeNode()
4400 collectModes(Modes, N->getChild(i)); in collectModes()
4611 if (N->getChild(0)->isLeaf() || N->getChild(0)->getOperator() != Operator) in GatherChildrenOfAssociativeOpcode()
[all …]
H A DDAGISelEmitter.cpp56 Cost += getResultPatternCost(P->getChild(i), CGP); in getResultPatternCost()
72 Cost += getResultPatternSize(P->getChild(i), CGP); in getResultPatternSize()
H A DDAGISelMatcherEmitter.cpp99 Statistic(SM->getChild(I)); in MatcherTableEmitter()
319 const unsigned ChildSize = SizeMatcherList(SM->getChild(i), OS); in SizeMatcher()
321 SM->getChild(i)->setSize(ChildSize); in SizeMatcher()
445 unsigned ChildSize = SM->getChild(i)->getSize(); in EmitMatcher()
454 ChildSize = EmitMatcherList(SM->getChild(i), Indent+1, in EmitMatcher()
456 assert(ChildSize == SM->getChild(i)->getSize() && in EmitMatcher()
H A DDAGISelMatcher.h210 Matcher *getChild(unsigned i) { return Children[i]; } in getChild() function
211 const Matcher *getChild(unsigned i) const { return Children[i]; } in getChild() function
H A DCodeGenDAGPatterns.h729 const TreePatternNode *getChild(unsigned N) const { in getChild() function
732 TreePatternNode *getChild(unsigned N) { return Children[N].get(); } in getChild() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DRecordOps.cpp39 StorageLocation *SrcFieldLoc = Src.getChild(*Field); in copyRecord()
88 StorageLocation *FieldLoc2 = Loc2.getChild(*Field); in recordsEqual()
H A DTypeErasedDataflowAnalysis.cpp379 MemberLoc = ThisLoc.getChild(*Member); in builtinTransferInitializer()
387 MemberLoc = ParentLoc->getChild(*Member); in builtinTransferInitializer()
H A DTransfer.cpp447 auto *MemberLoc = BaseLoc->getChild(*Member); in VisitMemberExpr()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DStorageLocation.h125 StorageLocation *getChild(const ValueDecl &D) const { in getChild() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DVirtualFileSystem.cpp744 InMemoryNode *getChild(StringRef Name) const { in getChild() function in llvm::vfs::detail::InMemoryDirectory
848 detail::InMemoryNode *Node = Dir->getChild(Name); in addFile()
949 detail::InMemoryNode *Node = Dir->getChild(*I); in lookupNode()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h432 const Node *getChild() const { return Child; } in getChild() function
1468 const Node *getChild() const { return Child; } in getChild() function