Home
last modified time | relevance | path

Searched refs:ImmutableMap (Results 1 – 14 of 14) sorted by relevance

/llvm-project/llvm/include/llvm/ADT/
H A DImmutableMap.h63 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 DImmutableMapTest.cpp17 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 DProgramStateTrait.h73 #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 DEnvironment.h60 using BindingsTy = llvm::ImmutableMap<EnvironmentEntry, SVal>;
H A DRangedConstraintManager.h404 using ConstraintMap = llvm::ImmutableMap<SymbolRef, RangeSet>;
H A DProgramState.h24 #include "llvm/ADT/ImmutableMap.h"
73 typedef llvm::ImmutableMap<void*, void*> GenericDataMap;
/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPITypes.h49 typedef llvm::ImmutableMap<const clang::ento::MemRegion *,
/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBlockCounter.cpp47 typedef llvm::ImmutableMap<CountKey, unsigned> CountMap;
H A DExprEngine.cpp66 #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 DRegionStore.cpp30 #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 DNSErrorChecker.cpp180 typedef llvm::ImmutableMap<SymbolRef, unsigned> ErrorOutFlag;
/llvm-project/clang/include/clang/Analysis/
H A DRetainSummaryManager.h280 typedef llvm::ImmutableMap<unsigned, ArgEffect> ArgEffects;
/llvm-project/clang/lib/Analysis/
H A DThreadSafety.cpp42 #include "llvm/ADT/ImmutableMap.h"
324 using LocalVarContext = llvm::ImmutableMap<const NamedDecl *, unsigned>;
/llvm-project/llvm/docs/
H A DProgrammersManual.rst2442 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