Searched refs:ImmutableMap (Results 1 – 14 of 14) sorted by relevance
/llvm-project/llvm/include/llvm/ADT/ |
H A D | ImmutableMap.h | 63 class ImmutableMap { 81 explicit ImmutableMap(const TreeTy *R) : Root(const_cast<TreeTy *>(R)) {} in ImmutableMap() function 96 ImmutableMap getEmptyMap() { return ImmutableMap(F.getEmptyTree()); } in getEmptyMap() 98 [[nodiscard]] ImmutableMap add(ImmutableMap Old, key_type_ref K, in add() 101 return ImmutableMap(Canonicalize ? F.getCanonicalTree(T): T); in add() 104 [[nodiscard]] ImmutableMap remove(ImmutableMap Old, key_type_ref K) { in remove() 106 return ImmutableMap(Canonicalize ? F.getCanonicalTree(T): T); in remove() 118 bool operator==(const ImmutableMap &RHS) const { 122 bool operator!=(const ImmutableMap &RHS) const { 155 class iterator : public ImutAVLValueIterator<ImmutableMap> { [all …]
|
/llvm-project/llvm/unittests/ADT/ |
H A D | ImmutableMapTest.cpp | 17 ImmutableMap<int, int>::Factory f; in TEST() 23 ImmutableMap<int, int> S = f.getEmptyMap(); in TEST() 30 ImmutableMap<int, int>::Factory f; in TEST() 31 ImmutableMap<int, int> S = f.getEmptyMap(); in TEST() 33 ImmutableMap<int, int> S2 = f.add(f.add(f.add(S, 3, 10), 4, 11), 5, 12); in TEST() 85 ImmutableMap<int, ImmutableMapRef<int, int>>::Factory f; in TEST()
|
/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | ProgramStateTrait.h | 73 #define CLANG_ENTO_PROGRAMSTATE_MAP(Key, Value) llvm::ImmutableMap<Key, Value> 96 using Name = llvm::ImmutableMap<Key, Value>; \ 149 struct ProgramStatePartialTrait<llvm::ImmutableMap<Key, Data, Info>> { 150 using data_type = llvm::ImmutableMap<Key, Data, Info>;
|
H A D | Environment.h | 60 using BindingsTy = llvm::ImmutableMap<EnvironmentEntry, SVal>;
|
H A D | RangedConstraintManager.h | 404 using ConstraintMap = llvm::ImmutableMap<SymbolRef, RangeSet>;
|
H A D | ProgramState.h | 24 #include "llvm/ADT/ImmutableMap.h" 73 typedef llvm::ImmutableMap<void*, void*> GenericDataMap;
|
/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
H A D | MPITypes.h | 49 typedef llvm::ImmutableMap<const clang::ento::MemRegion *,
|
/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | BlockCounter.cpp | 47 typedef llvm::ImmutableMap<CountKey, unsigned> CountMap;
|
H A D | ExprEngine.cpp | 66 #include "llvm/ADT/ImmutableMap.h" 185 typedef llvm::ImmutableMap<ConstructedObjectKey, SVal> 196 typedef llvm::ImmutableMap< 205 typedef llvm::ImmutableMap< 210 typedef llvm::ImmutableMap<const LocationContext *, unsigned>
|
H A D | RegionStore.cpp | 30 #include "llvm/ADT/ImmutableMap.h" 148 typedef llvm::ImmutableMap<BindingKey, SVal> ClusterBindings; 152 typedef llvm::ImmutableMap<const MemRegion *, ClusterBindings> 250 std::pair<const MemRegion *, ImmutableMap<BindingKey, SVal>>; in printJson()
|
/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | NSErrorChecker.cpp | 180 typedef llvm::ImmutableMap<SymbolRef, unsigned> ErrorOutFlag;
|
/llvm-project/clang/include/clang/Analysis/ |
H A D | RetainSummaryManager.h | 280 typedef llvm::ImmutableMap<unsigned, ArgEffect> ArgEffects;
|
/llvm-project/clang/lib/Analysis/ |
H A D | ThreadSafety.cpp | 42 #include "llvm/ADT/ImmutableMap.h" 324 using LocalVarContext = llvm::ImmutableMap<const NamedDecl *, unsigned>;
|
/llvm-project/llvm/docs/ |
H A D | ProgrammersManual.rst | 2442 llvm/ADT/ImmutableMap.h 2445 ImmutableMap is an immutable (functional) map implementation based on an AVL 2447 in the creation of a new ImmutableMap object. If an ImmutableMap already exists
|