Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriteRope.cpp422 const RopePieceBTreeNode *getChild(unsigned i) const { in getChild() function in __anon9c3899f80311::RopePieceBTreeInterior
427 RopePieceBTreeNode *getChild(unsigned i) { in getChild() function in __anon9c3899f80311::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()
492 if (RopePieceBTreeNode *RHS = getChild(i)->split(Offset-ChildOffset)) 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()
522 if (RopePieceBTreeNode *RHS = getChild(i)->insert(Offset-ChildOffs, R)) in insert()
[all …]
H A DDeltaTree.cpp145 const DeltaTreeNode *getChild(unsigned i) const { in getChild() function in __anon53e1881a0111::DeltaTreeInteriorNode
150 DeltaTreeNode *getChild(unsigned i) { in getChild() function in __anon53e1881a0111::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()
/src/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp516 MVT(N.getChild(0).getSimpleType(0)).isFloatingPoint()) in getEquivNode()
852 const TreePatternNode &SrcChild = Src.getChild(NumChildren - 1); in createAndImportSelDAGMatcher()
884 const TreePatternNode &SrcChild = Src.getChild(I); in createAndImportSelDAGMatcher()
974 PatternName += SrcChild.getChild(I).getName(); in importChildMatcher()
1048 auto &SubOperand = SrcChild.getChild(I); in importChildMatcher()
1196 auto &Child = DstChild.getChild(0); in importExplicitUseRenderer()
1337 if (Src.getChild(NumOp).getName() == DstChild.getName()) { in importExplicitUseRenderer()
1338 DstMIBuilder.addRenderer<CopyRenderer>(Src.getChild(NumOp).getName()); in importExplicitUseRenderer()
1414 auto SubClass = inferRegClassFromPattern(Dst.getChild(1)); in createAndImportSubInstructionRenderer()
1419 inferSuperRegisterClassForNode(Dst.getExtType(0), Dst.getChild(0), in createAndImportSubInstructionRenderer()
[all …]
H A DDAGISelMatcherGen.cpp312 PatternName += N.getChild(i).getName(); in EmitOperatorMatchCode()
337 N.getChild(1).isLeaf() && N.getChild(1).getPredicateCalls().empty() && in EmitOperatorMatchCode()
339 if (IntInit *II = dyn_cast<IntInit>(N.getChild(1).getLeafValue())) { in EmitOperatorMatchCode()
356 EmitMatchCode(N.getChild(0), NodeNoTypes.getChild(0)); in EmitOperatorMatchCode()
452 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()
769 Count += numNodesThatMayLoadOrStore(N.getChild(i), CGP); in numNodesThatMayLoadOrStore()
854 const TreePatternNode &Child = N.getChild(ChildNo); in EmitResultInstructionAsOperand()
875 EmitResultOperand(N.getChild(I), InstOps); in EmitResultInstructionAsOperand()
[all …]
H A DFastISelEmitter.cpp222 TreePatternNode &Op = InstPatNode.getChild(i); in initialize()
481 TreePatternNode &ChildOp = Dst.getChild(i); in collectPatterns()
508 if (!Dst.getChild(1).isLeaf()) in collectPatterns()
511 DefInit *SR = dyn_cast<DefInit>(Dst.getChild(1).getLeafValue()); in collectPatterns()
515 SubRegNo = Dst.getChild(1).getLeafValue()->getAsString(); in collectPatterns()
534 assert(InstPatNode.getChild(0).getNumTypes() == 1); in collectPatterns()
535 VT = InstPatNode.getChild(0).getSimpleType(0); in collectPatterns()
558 std::string PhysReg = PhyRegForNode(InstPatNode.getChild(i), Target); in collectPatterns()
561 Dst.getChild(DstIndex).getName() != in collectPatterns()
562 InstPatNode.getChild(i).getName()) { in collectPatterns()
H A DDAGISelEmitter.cpp58 Cost += getResultPatternCost(P.getChild(i), CGP); in getResultPatternCost()
75 Cost += getResultPatternSize(P.getChild(i), CGP); in getResultPatternSize()
H A DDAGISelMatcherEmitter.cpp98 Statistic(SM->getChild(I)); in MatcherTableEmitter()
316 const unsigned ChildSize = SizeMatcherList(SM->getChild(i), OS); in SizeMatcher()
318 SM->getChild(i)->setSize(ChildSize); in SizeMatcher()
443 unsigned ChildSize = SM->getChild(i)->getSize(); in EmitMatcher()
452 ChildSize = EmitMatcherList(SM->getChild(i), Indent + 1, in EmitMatcher()
454 assert(ChildSize == SM->getChild(i)->getSize() && in EmitMatcher()
/src/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DRecordOps.cpp75 copyField(*Field, Src.getChild(*Field), DstFieldLoc, Dst, Env); in copyRecord()
81 copyField(*Field, SrcFieldLoc, Dst.getChild(*Field), Dst, Env); in copyRecord()
101 StorageLocation *FieldLoc2 = Loc2.getChild(*Field); in recordsEqual()
H A DTypeErasedDataflowAnalysis.cpp344 MemberLoc = ThisLoc.getChild(*Member); in builtinTransferInitializer()
352 MemberLoc = ParentLoc->getChild(*Member); in builtinTransferInitializer()
H A DDataflowEnvironment.cpp326 ThisPointeeLoc->getChild(*Field))); in TraverseConstructorInits()
397 Init, cast<RecordStorageLocation>(Loc->getChild(*Field))); in PropagateResultObjectToRecordInitList()
1071 StorageLocation *FieldLoc = Loc.getChild(*Field); in initializeFieldsWithValues()
H A DTransfer.cpp493 auto *MemberLoc = BaseLoc->getChild(*Member); in VisitMemberExpr()
767 StorageLocation *FieldLoc = Loc.getChild(*Field); in VisitInitListExpr()
/src/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenDAGPatterns.cpp1454 const TreePatternNode &Child = P.getChild(i); in getPatternSize()
1614 return N.getChild(OpNo); in getOperandNum()
1763 if (getChild(i).ContainsUnresolvedType(TP)) in ContainsUnresolvedType()
1941 getChild(i).print(OS); in print()
2000 if (!getChild(i).isIsomorphicTo(N.getChild(i), DepVars)) in isIsomorphicTo()
2015 CChildren.push_back(getChild(i).clone()); in clone()
2035 getChild(i).RemoveAllTypes(); in RemoveAllTypes()
2046 TreePatternNode &Child = getChild(i); in SubstituteFormalArguments()
2063 getChild(i).SubstituteFormalArguments(ArgMap); in SubstituteFormalArguments()
2337 unsigned IID = cast<IntInit>(getChild(0).getLeafValue())->getValue(); in getIntrinsicInfo()
[all …]
H A DDAGISelMatcher.h211 Matcher *getChild(unsigned i) { return Children[i]; } in getChild() function
212 const Matcher *getChild(unsigned i) const { return Children[i]; } in getChild() function
H A DCodeGenDAGPatterns.h727 const TreePatternNode &getChild(unsigned N) const { in getChild() function
730 TreePatternNode &getChild(unsigned N) { return *Children[N].get(); } in getChild() function
/src/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DStorageLocation.h125 StorageLocation *getChild(const ValueDecl &D) const { in getChild() function
/src/contrib/llvm-project/llvm/lib/Support/
H A DVirtualFileSystem.cpp768 InMemoryNode *getChild(StringRef Name) const { in getChild() function in llvm::vfs::detail::InMemoryDirectory
877 detail::InMemoryNode *Node = Dir->getChild(Name); in addFile()
894 detail::InMemoryNode *Node = Dir->getChild(Name); in addFile()
974 detail::InMemoryNode *Node = Dir->getChild(*I); in lookupNode()
/src/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h431 const Node *getChild() const { return Child; } in getChild() function
1467 const Node *getChild() const { return Child; } in getChild() function