Home
last modified time | relevance | path

Searched refs:getChildren (Results 1 – 25 of 37) sorted by relevance

12

/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmtOpenMP.h1165 Data->getChildren()[LastIterationOffset] = LI; in setLastIteration()
1175 Data->getChildren()[PreInitsOffset] = PreInits; in setPreInits()
1207 Data->getChildren()[StrideVariableOffset] = ST; in setStrideVariable()
1223 Data->getChildren()[NextLowerBoundOffset] = NLB; in setNextLowerBound()
1239 Data->getChildren()[NumIterationsOffset] = NI; in setNumIterations()
1254 Data->getChildren()[DistIncOffset] = DistInc; in setDistInc()
1333 return Data->getChildren()[PreInitsOffset]; in getPreInits()
3423 Data->getChildren()[numLoopChildren( in setTaskReductionRefExpr()
4521 Data->getChildren()[numLoopChildren( in setTaskReductionRefExpr()
5080 Data->getChildren()[numLoopChildren( in setTaskReductionRefExpr()
[all …]
H A DDeclOpenMP.h120 auto **Storage = reinterpret_cast<Expr **>(Data->getChildren().data()); in getVars()
125 auto **Storage = reinterpret_cast<Expr **>(Data->getChildren().data()); in getVars()
144 bool varlist_empty() const { return Data->getChildren().empty(); } in varlist_empty()
349 Expr *getMapperVarRef() { return cast_or_null<Expr>(Data->getChildren()[0]); } in getMapperVarRef()
351 return cast_or_null<Expr>(Data->getChildren()[0]); in getMapperVarRef()
355 Data->getChildren()[0] = MapperVarRefE; in setMapperVarRef()
483 auto **Storage = reinterpret_cast<Expr **>(Data->getChildren().data()); in getVars()
488 auto **Storage = reinterpret_cast<Expr **>(Data->getChildren().data()); in getVars()
511 bool varlist_empty() const { return Data->getChildren().empty(); } in varlist_empty()
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DTree.cpp22 for (const syntax::Node &C : T->getChildren()) in traverse()
200 for (const syntax::Node &It : T->getChildren()) { in dumpNode()
249 for (const Node &C : T->getChildren()) { in assertInvariants()
264 for (const Node &C : T->getChildren()) { in assertInvariants()
284 for (const Node &C : getChildren()) { in findFirstLeaf()
304 for (const Node &C : getChildren()) { in findChild()
318 for (Node &C : getChildren()) { in getElementsAsNodesAndDelimiters()
363 for (Node &C : getChildren()) { in getElementsAsNodes()
/llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/
H A DNodes.h184 MutableArrayRef<Stmt *> getChildren() { in getChildren() function
187 ArrayRef<Stmt *> getChildren() const { in getChildren() function
188 return const_cast<CompoundStmt *>(this)->getChildren(); in getChildren()
190 ArrayRef<Stmt *>::iterator begin() const { return getChildren().begin(); } in begin()
191 ArrayRef<Stmt *>::iterator end() const { return getChildren().end(); } in end()
1008 return cast<OpRewriteStmt>(patternBody->getChildren().back()); in getRootRewriteStmt()
1248 MutableArrayRef<Decl *> getChildren() { in getChildren() function
1251 ArrayRef<Decl *> getChildren() const { in getChildren() function
1252 return const_cast<Module *>(this)->getChildren(); in getChildren()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DGenericDomTreeConstruction.h108 static SmallVector<NodePtr, 8> getChildren(NodePtr N, BatchUpdatePtr BUI) { in getChildren() function
110 return BUI->PreViewCFG.template getChildren<Inversed>(N); in getChildren()
111 return getChildren<Inversed>(N); in getChildren()
115 static SmallVector<NodePtr, 8> getChildren(NodePtr N) { in getChildren() function
197 auto Successors = getChildren<Direction>(BB, BatchUpdates);
339 return !getChildren<false>(N, BUI).empty(); in HasForwardSuccessors()
411 for (const auto Succ : getChildren<false>(Node, SNCA.BatchUpdates)) in FindRoots()
794 for (const NodePtr Succ : getChildren<IsPostDom>(TN->getBlock(), BUI)) { in InsertReachable()
924 auto Successors = getChildren<IsPostDom>(Of, BUI); in DeleteEdge()
1012 for (const NodePtr Pred : getChildren<!IsPostDom>(TNB, BUI)) { in HasProperSupport()
H A DCFGDiff.h135 template <bool InverseEdge> VectRet getChildren(NodePtr N) const { in getChildren() function
/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DLexicalScopesTest.cpp149 EXPECT_EQ(FuncScope->getChildren().size(), 0u); in TEST_F()
187 auto &Children = FuncScope->getChildren(); in TEST_F()
221 auto &Children = FuncScope->getChildren(); in TEST_F()
224 auto &BlockChildren = BlockScope->getChildren(); in TEST_F()
231 EXPECT_EQ(InlinedScope->getChildren().size(), 0u); in TEST_F()
/llvm-project-15.0.7/clang/include/clang/Tooling/Syntax/
H A DTree.h205 llvm::iterator_range<ChildIterator> getChildren() { in getChildren() function
208 llvm::iterator_range<ConstChildIterator> getChildren() const { in getChildren() function
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/
H A DNodes.cpp79 for (const Node *child : stmt->getChildren()) in visitImpl()
153 for (const Node *child : module->getChildren()) in visitImpl()
194 stmt->getChildren().begin()); in create()
560 module->getChildren().begin()); in create()
H A DNodePrinter.cpp190 printChildren(stmt->getChildren()); in printImpl()
372 printChildren(module->getChildren()); in printImpl()
/llvm-project-15.0.7/mlir/include/mlir/TableGen/
H A DPredicate.h104 std::vector<llvm::Record *> getChildren() const;
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DIteratedDominanceFrontier.h76 return GD->template getChildren<IsPostDom>(N);
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCPseudoProbe.h226 InlinedProbeTreeMap &getChildren() { return Children; } in getChildren() function
227 const InlinedProbeTreeMap &getChildren() const { return Children; } in getChildren() function
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/
H A DMLIRGen.cpp137 for (const ast::Decl *decl : module.getChildren()) in generate()
193 for (const ast::Stmt *childStmt : stmt->getChildren()) in genImpl()
593 if (cstBody->getChildren().empty()) in genConstraintOrRewriteCall()
595 auto *returnStmt = dyn_cast<ast::ReturnStmt>(cstBody->getChildren().back()); in genConstraintOrRewriteCall()
H A DCPPGen.cpp146 for (const ast::Decl *decl : astModule.getChildren()) { in generateConstraintAndRewrites()
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DPredicate.cpp83 std::vector<llvm::Record *> CombinedPred::getChildren() const { in getChildren() function in CombinedPred
191 for (const auto *record : combined.getChildren()) { in buildPredicateTree()
/llvm-project-15.0.7/mlir/lib/Conversion/PDLToPDLInterp/
H A DPredicateTree.h197 ChildMapT &getChildren() { return children; } in getChildren() function
H A DPredicateTree.cpp797 return node->getChildren().insert({it->second, nullptr}).first->second; in getOrCreateChild()
848 SwitchNode::ChildMapT &children = switchNode->getChildren(); in foldSwitchToBool()
/llvm-project-15.0.7/clang/unittests/Tooling/Syntax/
H A DTreeTest.cpp141 auto Range = Tree->getChildren(); in TEST_F()
146 auto ConstRange = ConstTree->getChildren(); in TEST_F()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DLexicalScopes.h65 SmallVectorImpl<LexicalScope *> &getChildren() { return Children; } in getChildren() function
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfiledBinary.cpp125 for (const auto &Child : ProbeDecoder.getDummyInlineRoot().getChildren()) in trackInlineesOptimizedAway()
151 for (const auto &ChildNode : ProbeNode.getChildren()) { in trackInlineesOptimizedAway()
386 for (const auto &Child : ProbeDecoder.getDummyInlineRoot().getChildren()) { in decodePseudoProbe()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineCFGStructurizer.cpp530 SetVector<MRT *> *getChildren() { return &Children; } in getChildren() function in __anonde98b0ec0211::RegionMRT
806 auto Children = Region->getChildren(); in storeLiveOuts()
1302 auto Children = Region->getChildren(); in regionIsSequence()
1314 auto Children = Region->getChildren(); in fixupRegionExits()
2565 for (MRT *C : llvm::reverse(*Region->getChildren())) in containsNewBackedge()
2590 SetVector<MRT *> *Children = Region->getChildren(); in structurizeComplexRegion()
2736 auto Children = Region->getChildren(); in structurizeRegions()
2789 for (auto *CI : *Region->getChildren()) in initializeSelectRegisters()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLexicalScopes.cpp245 const SmallVectorImpl<LexicalScope *> &Children = WS->getChildren(); in constructScopeNest()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDebugHandlerBase.cpp118 const SmallVectorImpl<LexicalScope *> &Children = S->getChildren(); in identifyScopeMarkers()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMemorySSAUpdater.cpp880 for (auto *Pi : GD->template getChildren</*InverseEdge=*/true>(BB)) { in applyInsertUpdates()
974 for (auto *Pi : GD->template getChildren</*InverseEdge=*/true>(BB)) { in applyInsertUpdates()
1125 for (auto *Pi : GD->template getChildren</*InverseEdge=*/true>(BBIDF)) in applyInsertUpdates()

12