Home
last modified time | relevance | path

Searched refs:NodeTy (Results 1 – 25 of 29) 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/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>> {};
DMetadata.h984 template <class NodeTy> struct HasCachedHash;
985 template <class NodeTy>
986 static void dispatchRecalculateHash(NodeTy *N, std::true_type) {
989 template <class NodeTy>
990 static void dispatchRecalculateHash(NodeTy *, std::false_type) {}
991 template <class NodeTy>
992 static void dispatchResetHash(NodeTy *N, std::true_type) {
995 template <class NodeTy>
996 static void dispatchResetHash(NodeTy *, std::false_type) {}
DDIBuilder.h720 template <class NodeTy>
721 NodeTy *replaceTemporary(TempMDNode &&N, NodeTy *Replacement) { in replaceTemporary()
723 return cast<NodeTy>(MDNode::replaceWithUniqued(std::move(N))); in replaceTemporary()
DArgument.h24 template <typename NodeTy> class SymbolTableListTraits;
/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/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()
DIteratedDominanceFrontier.h45 template <class NodeTy>
/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()
DMips16ISelDAGToDAG.cpp187 EVT NodeTy = Node->getValueType(0); in trySelect() local
234 selectMULT(Node, MultOpc, DL, NodeTy, true, true); in trySelect()
248 auto LoHi = selectMULT(Node, MultOpc, DL, NodeTy, false, true); in trySelect()
/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;
DMetadata.h1006 template <class NodeTy> struct HasCachedHash;
1007 template <class NodeTy>
1008 static void dispatchRecalculateHash(NodeTy *N, std::true_type) {
1011 template <class NodeTy>
1012 static void dispatchRecalculateHash(NodeTy *, std::false_type) {}
1013 template <class NodeTy>
1014 static void dispatchResetHash(NodeTy *N, std::true_type) {
1017 template <class NodeTy>
1018 static void dispatchResetHash(NodeTy *, std::false_type) {}
DArgument.h24 template <typename NodeTy> class SymbolTableListTraits;
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExplodedGraph.h335 typedef ExplodedNode NodeTy; typedef
384 trim(ArrayRef<const NodeTy *> Nodes,
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1659 BlockAddressSDNode(unsigned NodeTy, EVT VT, const BlockAddress *ba,
1661 : SDNode(NodeTy, 0, DebugLoc(), getSDVTList(VT)),
1779 LSBaseSDNode(ISD::NodeType NodeTy, unsigned Order, const DebugLoc &dl,
1782 : MemSDNode(NodeTy, Order, dl, VTs, MemVT, MMO) {
1869 MaskedLoadStoreSDNode(ISD::NodeType NodeTy, unsigned Order,
1872 : MemSDNode(NodeTy, Order, dl, VTs, MemVT, MMO) {}
1934 MaskedGatherScatterSDNode(ISD::NodeType NodeTy, unsigned Order,
1937 : MemSDNode(NodeTy, Order, dl, VTs, MemVT, MMO) {}

12