Home
last modified time | relevance | path

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

/llvm-project/llvm/include/llvm/Support/
H A DGenericDomTree.h45 template <typename NodeT, bool IsPostDom>
54 template <class NodeT> class DomTreeNodeBase {
56 friend class DominatorTreeBase<NodeT, false>;
57 friend class DominatorTreeBase<NodeT, true>;
58 friend struct DomTreeBuilder::SemiNCAInfo<DominatorTreeBase<NodeT, false>>;
59 friend struct DomTreeBuilder::SemiNCAInfo<DominatorTreeBase<NodeT, true>>;
61 NodeT *TheBB;
69 DomTreeNodeBase(NodeT *BB, DomTreeNodeBase *iDom)
89 NodeT *getBlock() const { return TheBB; }
106 SmallPtrSet<const NodeT *,
[all...]
H A DGenericDomTreeConstruction.h57 using NodeT = typename DomTreeT::NodeType; member
58 using TreeNodePtr = DomTreeNodeBase<NodeT> *;
159 // Add a new tree node for this NodeT, and link it as a child of
/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryProfileInfo.h179 template <class NodeT, class IteratorT> class CallStack { in beginAfterSharedPrefix()
181 CallStack(const NodeT *N = nullptr) : N(N) {}
188 const NodeT *N = nullptr;
190 CallStackIterator(const NodeT *N, bool End);
205 const NodeT *N = nullptr;
208 template <class NodeT, class IteratorT>
209 CallStack<NodeT, IteratorT>::CallStackIterator::CallStackIterator(
210 const NodeT *N, bool End)
219 template <class NodeT, class IteratorT>
220 uint64_t CallStack<NodeT, Iterator
[all...]
H A DCFG.h146 template <class NodeT, class RPOTraversalT, class LoopInfoT,
147 class GT = GraphTraits<NodeT>>
152 auto isProperBackedge = [&](NodeT Src, NodeT Dst) { in containsIrreducibleCFG()
160 SmallPtrSet<NodeT, 32> Visited; in containsIrreducibleCFG()
161 for (NodeT Node : RPOTraversal) { in containsIrreducibleCFG()
163 for (NodeT Succ : make_range(GT::child_begin(Node), GT::child_end(Node))) { in containsIrreducibleCFG()
H A DRegionIterator.h265 #define RegionNodeGraphTraits(NodeT, BlockT, RegionT) \ argument
266 template <> struct GraphTraits<NodeT *> { \
267 using NodeRef = NodeT *; \
277 template <> struct GraphTraits<FlatIt<NodeT *>> { \
278 using NodeRef = NodeT *; \
290 #define RegionGraphTraits(RegionT, NodeT) \ argument
291 template <> struct GraphTraits<RegionT *> : public GraphTraits<NodeT *> { \
305 : public GraphTraits<FlatIt<NodeT *>> { \
/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeLayout.cpp217 struct NodeT { struct
218 NodeT(const NodeT &) = delete;
219 NodeT(NodeT &&) = default;
220 NodeT &operator=(const NodeT &) = delete;
221 NodeT &operator=(NodeT &&) = default;
223 explicit NodeT(size_ argument
226 isEntry__anonc748089a0111::NodeT isEntry() argument
238 Index__anonc748089a0111::NodeT global() argument
240 CurIndex__anonc748089a0111::NodeT global() argument
242 Size__anonc748089a0111::NodeT global() argument
244 ExecutionCount__anonc748089a0111::NodeT global() argument
246 CurChain__anonc748089a0111::NodeT global() argument
248 EstimatedAddr__anonc748089a0111::NodeT global() argument
250 ForcedSucc__anonc748089a0111::NodeT global() argument
252 ForcedPred__anonc748089a0111::NodeT global() argument
254 OutJumps__anonc748089a0111::NodeT global() argument
256 InJumps__anonc748089a0111::NodeT global() argument
[all...]
/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DCFGMatchSwitch.h47 template <typename NodeT>
50 MatchSwitchAction<NodeT, State, Result> A) && { in CaseOfCFGStmt() argument
51 std::move(StmtBuilder).template CaseOf<NodeT>(M, A); in CaseOfCFGStmt()
62 template <typename NodeT>
65 MatchSwitchAction<NodeT, State, Result> A) && { in CaseOfCFGInit() argument
66 std::move(InitBuilder).template CaseOf<NodeT>(M, A); in CaseOfCFGInit()
H A DMatchSwitch.h104 template <typename NodeT>
106 MatchSwitchAction<NodeT, State, Result> A) && { in CaseOf() argument
107 static_assert(std::is_base_of<BaseT, NodeT>::value, in CaseOf()
113 State &S) { return A(cast<NodeT>(Node), R, S); }); in CaseOf()
/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h252 template <typename MatcherT, typename NodeT>
254 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context);
276 template <typename NodeT>
277 const NodeT *
280 if (const NodeT *Node = N.getNodeAs<NodeT>(BoundTo)) in selectFirst()
311 template <typename MatcherT, typename NodeT>
313 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context) { in match()
337 template <typename NodeT>
339 const NodeT &Node, in matchDynamic()
/llvm-project/clang/include/clang/AST/
H A DParentMapContext.h53 template <typename NodeT> DynTypedNodeList getParents(const NodeT &Node);
125 template <typename NodeT>
126 inline DynTypedNodeList ParentMapContext::getParents(const NodeT &Node) { in getParents()
130 template <typename NodeT>
131 inline DynTypedNodeList ASTContext::getParents(const NodeT &Node) { in getParents()
H A DASTContext.h731 template <typename NodeT> DynTypedNodeList getParents(const NodeT &Node);
/llvm-project/clang/include/clang/Tooling/Syntax/
H A DTree.h147 template <typename DerivedT, typename NodeT>
150 NodeT> {
152 NodeT *N = nullptr;
157 explicit ChildIteratorBase(NodeT *N) : N(N) {} in ChildIteratorBase()
163 NodeT &operator*() const { return *N; }
173 NodeT *asPointer() const { return N; } in asPointer()
/llvm-project/llvm/include/llvm/ADT/
H A DIntervalMap.h339 template <typename NodeT>
340 void adjustSiblingSizes(NodeT *Node[], unsigned Nodes, in adjustSiblingSizes()
509 template <typename NodeT>
510 NodeRef(NodeT *p, unsigned n) : pip(p, n - 1) { in NodeRef()
511 assert(n <= NodeT::Capacity && "Size too big for node"); in NodeRef()
527 /// get - Dereference as a NodeT reference.
528 template <typename NodeT>
529 NodeT &get() const { in get()
530 return *reinterpret_cast<NodeT*>(pip.getPointer()); in get()
797 template <typename NodeT> Node
[all...]
/llvm-project/bolt/lib/Passes/
H A DMCF.cpp72 template <class NodeT>
92 template <class NodeT>
94 typedef GraphTraits<NodeT> GraphT; in computeEdgeWeights()
95 typedef GraphTraits<Inverse<NodeT>> InvTraits; in computeEdgeWeights()
159 updateEdgeWeight<NodeT>(EdgeWeights, BB, Child, Weight); in computeEdgeWeights()
164 template <class NodeT>
167 computeEdgeWeights<NodeT>(&BB, EdgeWeights); in computeEdgeWeights()
/llvm-project/llvm/lib/ProfileData/
H A DItaniumManglingCanonicalizer.cpp54 template<typename NodeT> struct ProfileSpecificNode {
57 profileCtor(ID, NodeKind<NodeT>::Kind, V...); in operator ()()
63 template<typename NodeT> void operator()(const NodeT *N) { in operator ()()
64 N->match(ProfileSpecificNode<NodeT>{ID}); in operator ()()
/llvm-project/libcxxabi/src/
H A Dcxa_demangle.cpp67 template<typename NodeT> static constexpr bool wantsNewline(const NodeT *) {
258 template<typename NodeT> void operator()(const NodeT *Node) { in operator ()()
260 fprintf(stderr, "%s(", itanium_demangle::NodeKind<NodeT>::name());
/llvm-project/llvm/lib/Demangle/
H A DItaniumDemangle.cpp68 template<typename NodeT> static constexpr bool wantsNewline(const NodeT *) { in wantsNewline()
257 template<typename NodeT> void operator()(const NodeT *Node) { in operator ()()
259 fprintf(stderr, "%s(", itanium_demangle::NodeKind<NodeT>::name()); in operator ()()
/llvm-project/clang/test/Modules/Inputs/merge-typedefs/
H A Db1.h8 template <class NodeT> class DomTreeNodeBase;
H A Da1.h5 template <class NodeT> class DomTreeNodeBase;
/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveIntervalCalc.h24 template <class NodeT> class DomTreeNodeBase;
H A DLiveRangeCalc.h38 template <class NodeT> class DomTreeNodeBase;
/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp483 template <class NodeT, class IteratorT>
485 getStackIdsWithContextNodes(CallStack<NodeT, IteratorT> &CallsiteContext);
492 template <class NodeT, class IteratorT>
494 CallStack<NodeT, IteratorT> &StackContext,
495 CallStack<NodeT, IteratorT> &CallsiteContext,
1225 template <class NodeT, class IteratorT> in assignStackNodesPostOrder()
1227 ContextNode *AllocNode, CallStack<NodeT, IteratorT> &StackContext, in assignStackNodesPostOrder()
1228 CallStack<NodeT, IteratorT> &CallsiteContext, AllocationType AllocType, in assignStackNodesPostOrder()
1955 template <class NodeT, class IteratorT> in findProfiledCalleeThroughTailCalls()
1958 CallStack<NodeT, Iterator in findProfiledCalleeThroughTailCalls()
1010 addStackNodesForMIB(ContextNode * AllocNode,CallStack<NodeT,IteratorT> & StackContext,CallStack<NodeT,IteratorT> & CallsiteContext,AllocationType AllocType) addStackNodesForMIB() argument
1630 getStackIdsWithContextNodes(CallStack<NodeT,IteratorT> & CallsiteContext) getStackIdsWithContextNodes() argument
[all...]
/llvm-project/clang/unittests/Analysis/FlowSensitive/
H A DTypeErasedDataflowAnalysisTest.cpp100 template <typename NodeT, typename MatcherT> in matchNode()
101 const NodeT &matchNode(MatcherT Matcher) { in matchNode()
102 const auto *Node = selectFirst<NodeT>( in matchNode()
/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h2632 template<typename NodeT> struct NodeKind; in ScopedTemplateParamList()
/llvm-project/libcxxabi/src/demangle/
H A DItaniumDemangle.h2632 template<typename NodeT> struct NodeKind; in ScopedTemplateParamList()