Home
last modified time | relevance | path

Searched refs:TreeTy (Results 1 – 10 of 10) sorted by relevance

/external/llvm/include/llvm/ADT/
DImmutableSet.h366 typedef ImutAVLTree<ImutInfo> TreeTy; typedef
367 typedef typename TreeTy::value_type_ref value_type_ref;
368 typedef typename TreeTy::key_type_ref key_type_ref;
370 typedef DenseMap<unsigned, TreeTy*> CacheTy;
374 std::vector<TreeTy*> createdNodes;
375 std::vector<TreeTy*> freeNodes;
400 TreeTy* add(TreeTy* T, value_type_ref V) { in add()
407 TreeTy* remove(TreeTy* T, key_type_ref V) { in remove()
414 TreeTy* getEmptyTree() const { return nullptr; } in getEmptyTree()
425 bool isEmpty(TreeTy* T) const { return !T; } in isEmpty()
[all …]
DImmutableMap.h68 typedef ImutAVLTree<ValInfo> TreeTy; typedef
71 TreeTy* Root;
78 explicit ImmutableMap(const TreeTy* R) : Root(const_cast<TreeTy*>(R)) { in ImmutableMap()
100 typename TreeTy::Factory F;
112 TreeTy *T = F.add(Old.Root, std::pair<key_type,data_type>(K,D)); in add()
117 TreeTy *T = F.remove(Old.Root,K); in remove()
121 typename TreeTy::Factory *getTreeFactory() const { in getTreeFactory()
122 return const_cast<typename TreeTy::Factory *>(&F); in getTreeFactory()
142 TreeTy *getRoot() const { in getRoot()
147 TreeTy *getRootWithoutRetain() const { return Root; } in getRootWithoutRetain()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DImmutableSet.h366 typedef ImutAVLTree<ImutInfo> TreeTy; typedef
367 typedef typename TreeTy::value_type_ref value_type_ref;
368 typedef typename TreeTy::key_type_ref key_type_ref;
370 typedef DenseMap<unsigned, TreeTy*> CacheTy;
374 std::vector<TreeTy*> createdNodes;
375 std::vector<TreeTy*> freeNodes;
400 TreeTy* add(TreeTy* T, value_type_ref V) { in add()
407 TreeTy* remove(TreeTy* T, key_type_ref V) { in remove()
414 TreeTy* getEmptyTree() const { return NULL; } in getEmptyTree()
425 bool isEmpty(TreeTy* T) const { return !T; } in isEmpty()
[all …]
DImmutableMap.h69 typedef ImutAVLTree<ValInfo> TreeTy; typedef
72 TreeTy* Root;
79 explicit ImmutableMap(const TreeTy* R) : Root(const_cast<TreeTy*>(R)) { in ImmutableMap()
98 typename TreeTy::Factory F;
111 TreeTy *T = F.add(Old.Root, std::pair<key_type,data_type>(K,D)); in add()
116 TreeTy *T = F.remove(Old.Root,K); in remove()
120 typename TreeTy::Factory *getTreeFactory() const { in getTreeFactory()
121 return const_cast<typename TreeTy::Factory *>(&F); in getTreeFactory()
141 TreeTy *getRoot() const { in getRoot()
146 TreeTy *getRootWithoutRetain() const { in getRootWithoutRetain()
[all …]
DImmutableIntervalMap.h88 typedef ImutAVLTree<ImutInfo> TreeTy; typedef
100 TreeTy *Add(TreeTy *T, value_type_ref V) { in Add()
106 TreeTy *Find(TreeTy *T, key_type_ref K) { in Find()
121 TreeTy *add_internal(value_type_ref V, TreeTy *T) { in add_internal()
140 TreeTy *removeAllOverlaps(TreeTy *T, key_type_ref K) { in removeAllOverlaps()
152 TreeTy *removeOverlap(TreeTy *T, key_type_ref K, bool &Changed) { in removeOverlap()
204 typedef ImutAVLTree<ImutIntervalInfo<ValT> > TreeTy; typedef
207 explicit ImmutableIntervalMap(TreeTy *R) in ImmutableIntervalMap()
222 TreeTy *T = F.add(Old.Root, std::pair<key_type, data_type>(K, D)); in add()
227 TreeTy *T = F.remove(Old.Root, K); in remove()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DImmutableSet.h370 using TreeTy = ImutAVLTree<ImutInfo>; variable
371 using value_type_ref = typename TreeTy::value_type_ref;
372 using key_type_ref = typename TreeTy::key_type_ref;
373 using CacheTy = DenseMap<unsigned, TreeTy*>;
377 std::vector<TreeTy*> createdNodes;
378 std::vector<TreeTy*> freeNodes;
403 TreeTy* add(TreeTy* T, value_type_ref V) { in add()
410 TreeTy* remove(TreeTy* T, key_type_ref V) { in remove()
417 TreeTy* getEmptyTree() const { return nullptr; } in getEmptyTree()
427 bool isEmpty(TreeTy* T) const { return !T; } in isEmpty()
[all …]
DImmutableMap.h71 using TreeTy = ImutAVLTree<ValInfo>; variable
74 TreeTy* Root;
81 explicit ImmutableMap(const TreeTy* R) : Root(const_cast<TreeTy*>(R)) { in ImmutableMap()
103 typename TreeTy::Factory F;
119 TreeTy *T = F.add(Old.Root, std::pair<key_type,data_type>(K,D)); in add()
124 TreeTy *T = F.remove(Old.Root,K); in remove()
128 typename TreeTy::Factory *getTreeFactory() const { in getTreeFactory()
129 return const_cast<typename TreeTy::Factory *>(&F); in getTreeFactory()
145 TreeTy *getRoot() const { in getRoot()
150 TreeTy *getRootWithoutRetain() const { return Root; } in getRootWithoutRetain()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DProgramStateTrait.h67 return p ? data_type((typename data_type::TreeTy*) *p)
116 return p ? data_type((typename data_type::TreeTy*) *p)
/external/clang/lib/StaticAnalyzer/Core/
DBlockCounter.cpp51 return CountMap(static_cast<CountMap::TreeTy*>(D)); in GetMap()
DRegionStore.cpp161 const RegionBindings::TreeTy *T, in RegionBindingsRef()
162 RegionBindings::TreeTy::Factory *F) in RegionBindingsRef()
576 static_cast<const RegionBindings::TreeTy*>(store), in getRegionBindings()