Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/ADT/
Dilist.h49 template<typename NodeTy, typename Traits> class iplist;
50 template<typename NodeTy> class ilist_iterator;
55 template<typename NodeTy>
57 static NodeTy *getPrev(NodeTy *N) { return N->getPrev(); } in getPrev()
58 static NodeTy *getNext(NodeTy *N) { return N->getNext(); } in getNext()
59 static const NodeTy *getPrev(const NodeTy *N) { return N->getPrev(); } in getPrev()
60 static const NodeTy *getNext(const NodeTy *N) { return N->getNext(); } in getNext()
62 static void setPrev(NodeTy *N, NodeTy *Prev) { N->setPrev(Prev); } in setPrev()
63 static void setNext(NodeTy *N, NodeTy *Next) { N->setNext(Next); } in setNext()
66 template<typename NodeTy>
[all …]
Dilist_node.h20 template<typename NodeTy>
22 template <typename NodeTy> struct ilist_embedded_sentinel_traits;
23 template <typename NodeTy> struct ilist_half_embedded_sentinel_traits;
27 template<typename NodeTy>
29 friend struct ilist_traits<NodeTy>;
30 friend struct ilist_half_embedded_sentinel_traits<NodeTy>;
31 NodeTy *Prev;
33 NodeTy *getPrev() { return Prev; }
34 const NodeTy *getPrev() const { return Prev; }
35 void setPrev(NodeTy *P) { Prev = P; }
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
Dilist.h48 template<typename NodeTy, typename Traits> class iplist;
49 template<typename NodeTy> class ilist_iterator;
54 template<typename NodeTy>
56 static NodeTy *getPrev(NodeTy *N) { return N->getPrev(); } in getPrev()
57 static NodeTy *getNext(NodeTy *N) { return N->getNext(); } in getNext()
58 static const NodeTy *getPrev(const NodeTy *N) { return N->getPrev(); } in getPrev()
59 static const NodeTy *getNext(const NodeTy *N) { return N->getNext(); } in getNext()
61 static void setPrev(NodeTy *N, NodeTy *Prev) { N->setPrev(Prev); } in setPrev()
62 static void setNext(NodeTy *N, NodeTy *Next) { N->setNext(Next); } in setNext()
65 template<typename NodeTy>
[all …]
Dilist_node.h20 template<typename NodeTy>
25 template<typename NodeTy>
27 friend struct ilist_traits<NodeTy>;
28 NodeTy *Prev;
30 NodeTy *getPrev() { return Prev; }
31 const NodeTy *getPrev() const { return Prev; }
32 void setPrev(NodeTy *P) { Prev = P; }
36 template<typename NodeTy>
42 template<typename NodeTy>
43 class ilist_node : private ilist_half_node<NodeTy> {
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dtree_iterator.h37 template <typename NodeTy>
39 static_assert(!std::is_pointer<NodeTy>::value &&
40 !std::is_reference<NodeTy>::value,
44 typename std::conditional<std::is_const<NodeTy>::value,
45 typename NodeTy::const_iterator,
46 typename NodeTy::iterator>::type;
49 using NodePtr = NodeTy*;
53 using reference = NodeTy&;
54 using value_type = NodeTy;
131 template <typename NodeTy>
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dtree_iterator.h37 template <typename NodeTy>
39 static_assert(!std::is_pointer<NodeTy>::value &&
40 !std::is_reference<NodeTy>::value,
44 typename std::conditional<std::is_const<NodeTy>::value,
45 typename NodeTy::const_iterator,
46 typename NodeTy::iterator>::type;
49 using NodePtr = NodeTy*;
53 using reference = NodeTy&;
54 using value_type = NodeTy;
131 template <typename NodeTy>
[all …]
/external/llvm/unittests/Analysis/
DCallGraphTest.cpp20 typedef typename GraphTraits<Ty *>::NodeType NodeTy; in canSpecializeGraphTraitsIterators() typedef
27 static_assert(std::is_same<decltype(*I), NodeTy &>::value, in canSpecializeGraphTraitsIterators()
29 static_assert(std::is_same<decltype(*X), NodeTy &>::value, in canSpecializeGraphTraitsIterators()
31 static_assert(std::is_same<decltype(*E), NodeTy &>::value, in canSpecializeGraphTraitsIterators()
34 NodeTy *N = GraphTraits<Ty *>::getEntryNode(G); in canSpecializeGraphTraitsIterators()
36 auto S = GraphTraits<NodeTy *>::child_begin(N); in canSpecializeGraphTraitsIterators()
37 auto F = GraphTraits<NodeTy *>::child_end(N); in canSpecializeGraphTraitsIterators()
40 static_assert(std::is_same<decltype(*S), NodeTy *>::value, in canSpecializeGraphTraitsIterators()
42 static_assert(std::is_same<decltype(*F), NodeTy *>::value, in canSpecializeGraphTraitsIterators()
/external/llvm/include/llvm/IR/
DSymbolTableListTraits.h33 template <typename NodeTy> class ilist_iterator;
34 template <typename NodeTy, typename Traits> class iplist;
37 template <typename NodeTy>
39 : public ilist_embedded_sentinel_traits<NodeTy> {};
45 template <typename NodeTy> struct SymbolTableListParentType {};
65 template <typename NodeTy> class SymbolTableList;
119 template <typename NodeTy>
120 class SymbolTableList : public iplist<NodeTy, SymbolTableListTraits<NodeTy>> {};
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
Dilist_node.h27 template<typename NodeTy>
242 template <typename NodeTy, typename ParentTy, class... Options>
243 class ilist_node_with_parent : public ilist_node<NodeTy, Options...> {
254 return static_cast<const NodeTy *>(this)->getParent(); in getNodeParent()
261 NodeTy *getPrevNode() { in getPrevNode()
265 getNodeParent()->*(ParentTy::getSublistAccess((NodeTy *)nullptr)); in getPrevNode()
266 return List.getPrevNode(*static_cast<NodeTy *>(this)); in getPrevNode()
269 const NodeTy *getPrevNode() const { in getPrevNode()
274 NodeTy *getNextNode() { in getNextNode()
278 getNodeParent()->*(ParentTy::getSublistAccess((NodeTy *)nullptr)); in getNextNode()
[all …]
Dilist.h41 template <typename NodeTy> struct ilist_alloc_traits {
42 static void deleteNode(NodeTy *V) { delete V; } in deleteNode()
57 template <typename NodeTy> struct ilist_noalloc_traits {
58 static void deleteNode(NodeTy *V) {} in deleteNode()
65 template <typename NodeTy> struct ilist_callback_traits {
66 void addNodeToList(NodeTy *) {} in addNodeToList()
67 void removeNodeFromList(NodeTy *) {} in removeNodeFromList()
83 template <typename NodeTy>
84 struct ilist_node_traits : ilist_alloc_traits<NodeTy>,
85 ilist_callback_traits<NodeTy> {};
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
Dilist_node.h256 template <typename NodeTy, typename ParentTy, class... Options>
257 class ilist_node_with_parent : public ilist_node<NodeTy, Options...> {
268 return static_cast<const NodeTy *>(this)->getParent(); in getNodeParent()
275 NodeTy *getPrevNode() { in getPrevNode()
279 getNodeParent()->*(ParentTy::getSublistAccess((NodeTy *)nullptr)); in getPrevNode()
280 return List.getPrevNode(*static_cast<NodeTy *>(this)); in getPrevNode()
284 const NodeTy *getPrevNode() const { in getPrevNode()
289 NodeTy *getNextNode() { in getNextNode()
293 getNodeParent()->*(ParentTy::getSublistAccess((NodeTy *)nullptr)); in getNextNode()
294 return List.getNextNode(*static_cast<NodeTy *>(this)); in getNextNode()
[all …]
Dilist.h41 template <typename NodeTy> struct ilist_alloc_traits {
42 static void deleteNode(NodeTy *V) { delete V; } in deleteNode()
57 template <typename NodeTy> struct ilist_noalloc_traits {
58 static void deleteNode(NodeTy *V) {} in deleteNode()
65 template <typename NodeTy> struct ilist_callback_traits {
66 void addNodeToList(NodeTy *) {} in addNodeToList()
67 void removeNodeFromList(NodeTy *) {} in removeNodeFromList()
83 template <typename NodeTy>
84 struct ilist_node_traits : ilist_alloc_traits<NodeTy>,
85 ilist_callback_traits<NodeTy> {};
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DExplodedGraph.cpp309 NodeTy::Profile(profile, L, State, IsSink); in getNode()
310 NodeTy* V = Nodes.FindNodeOrInsertPos(profile, InsertPos); in getNode()
319 V = (NodeTy*) getAllocator().Allocate<NodeTy>(); in getNode()
322 new (V) NodeTy(L, State, IsSink); in getNode()
342 NodeTy *V = (NodeTy *) getAllocator().Allocate<NodeTy>(); in createUncachedNode()
343 new (V) NodeTy(L, State, IsSink); in createUncachedNode()
348 ExplodedGraph::trim(ArrayRef<const NodeTy *> Sinks, in trim()
365 for (ArrayRef<const NodeTy *>::iterator I = Sinks.begin(), E = Sinks.end(); in trim()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DIntervalIterator.h88 template<class NodeTy, class OrigContainer_t, class GT = GraphTraits<NodeTy*>,
89 class IGT = GraphTraits<Inverse<NodeTy*> > >
97 typedef IntervalIterator<NodeTy, OrigContainer_t> _Self;
166 bool ProcessInterval(NodeTy *Node) { in ProcessInterval()
191 void ProcessNode(Interval *Int, NodeTy *Node) { in ProcessNode()
/external/llvm/lib/Analysis/
DIteratedDominanceFrontier.cpp20 template <class NodeTy>
21 void IDFCalculator<NodeTy>::calculate( in calculate()
67 for (auto SuccIter = GraphTraits<NodeTy>::child_begin(BB), in calculate()
68 End = GraphTraits<NodeTy>::child_end(BB); in calculate()
/external/llvm/lib/IR/
DLLVMContextImpl.h182 template <class NodeTy>
183 MDNodeOpsKey(const NodeTy *N, unsigned Offset = 0)
186 template <class NodeTy>
187 bool compareOps(const NodeTy *RHS, unsigned Offset = 0) const {
212 template <class NodeTy> struct MDNodeKeyImpl;
213 template <class NodeTy> struct MDNodeInfo;
216 template <class NodeTy> struct MDNodeSubsetEqualImpl {
217 typedef MDNodeKeyImpl<NodeTy> KeyTy;
218 static bool isSubsetEqual(const KeyTy &LHS, const NodeTy *RHS) { in isSubsetEqual()
221 static bool isSubsetEqual(const NodeTy *LHS, const NodeTy *RHS) { in isSubsetEqual()
[all …]
/external/llvm/include/llvm/Analysis/
DIntervalIterator.h88 template<class NodeTy, class OrigContainer_t, class GT = GraphTraits<NodeTy*>,
89 class IGT = GraphTraits<Inverse<NodeTy*> > >
175 bool ProcessInterval(NodeTy *Node) { in ProcessInterval()
200 void ProcessNode(Interval *Int, NodeTy *Node) { in ProcessNode()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DIntervalIterator.h88 template<class NodeTy, class OrigContainer_t, class GT = GraphTraits<NodeTy *>,
89 class IGT = GraphTraits<Inverse<NodeTy *>>>
177 bool ProcessInterval(NodeTy *Node) { in ProcessInterval()
201 void ProcessNode(Interval *Int, NodeTy *Node) { in ProcessNode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsISelLowering.h386 template <class NodeTy>
387 SDValue getAddrLocal(NodeTy *N, const SDLoc &DL, EVT Ty, SelectionDAG &DAG, in getAddrLocal()
405 template <class NodeTy>
406 SDValue getAddrGlobal(NodeTy *N, const SDLoc &DL, EVT Ty, SelectionDAG &DAG, in getAddrGlobal()
418 template <class NodeTy>
419 SDValue getAddrGlobalLargeGOT(NodeTy *N, const SDLoc &DL, EVT Ty, in getAddrGlobalLargeGOT()
437 template <class NodeTy>
438 SDValue getAddrNonPIC(NodeTy *N, const SDLoc &DL, EVT Ty, in getAddrNonPIC()
454 template <class NodeTy>
455 SDValue getAddrNonPICSym64(NodeTy *N, const SDLoc &DL, EVT Ty, in getAddrNonPICSym64()
[all …]
/external/llvm/lib/Target/Mips/
DMipsISelLowering.h306 template <class NodeTy>
307 SDValue getAddrLocal(NodeTy *N, const SDLoc &DL, EVT Ty, SelectionDAG &DAG, in getAddrLocal()
326 template <class NodeTy>
327 SDValue getAddrGlobal(NodeTy *N, const SDLoc &DL, EVT Ty, SelectionDAG &DAG, in getAddrGlobal()
339 template <class NodeTy>
340 SDValue getAddrGlobalLargeGOT(NodeTy *N, const SDLoc &DL, EVT Ty, in getAddrGlobalLargeGOT()
357 template <class NodeTy>
358 SDValue getAddrNonPIC(NodeTy *N, const SDLoc &DL, EVT Ty, in getAddrNonPIC()
371 template <class NodeTy>
372 SDValue getAddrGPRel(NodeTy *N, const SDLoc &DL, EVT Ty, in getAddrGPRel()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DIteratedDominanceFrontier.cpp20 template <class NodeTy, bool IsPostDom>
21 void IDFCalculator<NodeTy, IsPostDom>::calculate( in calculate()
64 for (auto *Succ : children<NodeTy>(BB)) { in calculate()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DLLVMContextImpl.h215 template <class NodeTy>
216 MDNodeOpsKey(const NodeTy *N, unsigned Offset = 0)
219 template <class NodeTy>
220 bool compareOps(const NodeTy *RHS, unsigned Offset = 0) const {
245 template <class NodeTy> struct MDNodeKeyImpl;
248 template <class NodeTy> struct MDNodeSubsetEqualImpl {
249 using KeyTy = MDNodeKeyImpl<NodeTy>;
251 static bool isSubsetEqual(const KeyTy &LHS, const NodeTy *RHS) { in isSubsetEqual()
255 static bool isSubsetEqual(const NodeTy *LHS, const NodeTy *RHS) { in isSubsetEqual()
1111 template <class NodeTy> struct MDNodeInfo {
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/
DSymbolTableListTraits.h33 template<typename NodeTy> class ilist_iterator;
34 template<typename NodeTy, typename Traits> class iplist;
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DSymbolTableListTraits.h37 template <typename NodeTy> struct SymbolTableListParentType {};
57 template <typename NodeTy> class SymbolTableList;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DSymbolTableListTraits.h48 template <typename NodeTy> struct SymbolTableListParentType {};
61 template <typename NodeTy> class SymbolTableList;

12