Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DGenericDomTree.h61 NodeT *TheBB;
475 bool dominates(const NodeT *A, const NodeT *B) const;
484 NodeT *findNearestCommonDominator(NodeT *A, NodeT *B) const {
514 const NodeT *findNearestCommonDominator(const NodeT *A,
601 void insertEdge(NodeT *From, NodeT *To) {
619 void deleteEdge(NodeT *From, NodeT *To) {
636 DomTreeNodeBase<NodeT> *addNewBlock(NodeT *BB, NodeT *DomBB) {
649 DomTreeNodeBase<NodeT> *setNewRoot(NodeT *BB) {
835 DomTreeNodeBase<NodeT> *createChild(NodeT *BB, DomTreeNodeBase<NodeT> *IDom) {
841 DomTreeNodeBase<NodeT> *createNode(NodeT *BB) {
[all …]
H A DGenericDomTreeConstruction.h57 using NodeT = typename DomTreeT::NodeType; member
58 using TreeNodePtr = DomTreeNodeBase<NodeT> *;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryProfileInfo.h116 CallStack(const NodeT *N = nullptr) : N(N) {} in N()
123 const NodeT *N = nullptr;
125 CallStackIterator(const NodeT *N, bool End);
140 const NodeT *N = nullptr;
143 template <class NodeT, class IteratorT>
145 const NodeT *N, bool End) in CallStackIterator()
154 template <class NodeT, class IteratorT>
160 template <class NodeT, class IteratorT>
166 template <class NodeT, class IteratorT>
168 CallStack<NodeT, IteratorT>::begin() const { in begin()
[all …]
H A DCFG.h134 template <class NodeT, class RPOTraversalT, class LoopInfoT,
135 class GT = GraphTraits<NodeT>>
140 auto isProperBackedge = [&](NodeT Src, NodeT Dst) { in containsIrreducibleCFG()
148 SmallPtrSet<NodeT, 32> Visited; in containsIrreducibleCFG()
149 for (NodeT Node : RPOTraversal) { in containsIrreducibleCFG()
151 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 *>> { \
/freebsd-14.2/contrib/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;
250 NodeT *ForcedSucc{nullptr}; argument
252 NodeT *ForcedPred{nullptr}; argument
266 explicit JumpT(NodeT *Source, NodeT *Target, uint64_t ExecutionCount) in JumpT()
270 NodeT *Source;
272 NodeT *Target;
[all …]
/freebsd-14.2/contrib/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()
/freebsd-14.2/contrib/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.h687 template <typename NodeT> DynTypedNodeList getParents(const NodeT &Node);
/freebsd-14.2/contrib/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()
/freebsd-14.2/contrib/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()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DIntervalMap.h339 template <typename NodeT>
509 template <typename NodeT>
529 NodeT &get() const { in get()
797 template <typename NodeT> NodeT &node(unsigned Level) const { in node()
805 template <typename NodeT> NodeT &leaf() const { in leaf()
1009 template <typename NodeT> NodeT *newNode() { in newNode()
1010 return new (allocator->template Allocate<NodeT>()) NodeT(); in newNode()
1013 template <typename NodeT> void deleteNode(NodeT *P) { in deleteNode()
1014 P->~NodeT(); in deleteNode()
2015 template <typename NodeT>
[all …]
/freebsd-14.2/contrib/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 ()()
/freebsd-14.2/contrib/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 ()()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveIntervalCalc.h24 template <class NodeT> class DomTreeNodeBase;
H A DLiveRangeCalc.h38 template <class NodeT> class DomTreeNodeBase;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp359 template <class NodeT, class IteratorT>
361 getStackIdsWithContextNodes(CallStack<NodeT, IteratorT> &CallsiteContext);
368 template <class NodeT, class IteratorT>
370 CallStack<NodeT, IteratorT> &StackContext,
371 CallStack<NodeT, IteratorT> &CallsiteContext,
944 template <class NodeT, class IteratorT>
946 ContextNode *AllocNode, CallStack<NodeT, IteratorT> &StackContext, in addStackNodesForMIB() argument
947 CallStack<NodeT, IteratorT> &CallsiteContext, AllocationType AllocType) { in addStackNodesForMIB()
1511 template <class NodeT, class IteratorT>
1514 CallStack<NodeT, IteratorT> &CallsiteContext) { in getStackIdsWithContextNodes() argument
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h2600 template<typename NodeT> struct NodeKind;