Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DImmutableMap.h63 class ImmutableMap {
96 ImmutableMap getEmptyMap() { return ImmutableMap(F.getEmptyTree()); } in getEmptyMap()
98 LLVM_NODISCARD ImmutableMap add(ImmutableMap Old, key_type_ref K, in add()
104 LLVM_NODISCARD ImmutableMap remove(ImmutableMap Old, key_type_ref K) { in remove()
118 bool operator==(const ImmutableMap &RHS) const {
122 bool operator!=(const ImmutableMap &RHS) const {
155 class iterator : public ImutAVLValueIterator<ImmutableMap> {
156 friend class ImmutableMap; variable
226 ImmutableMapRef(const ImmutableMap<KeyT, ValT> &X, in ImmutableMapRef()
227 typename ImmutableMap<KeyT, ValT>::Factory &F) in ImmutableMapRef()
[all …]
/llvm-project-15.0.7/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-15.0.7/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.h73 typedef llvm::ImmutableMap<void*, void*> GenericDataMap;
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPITypes.h49 typedef llvm::ImmutableMap<const clang::ento::MemRegion *,
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DBlockCounter.cpp47 typedef llvm::ImmutableMap<CountKey, unsigned> CountMap;
H A DExprEngine.cpp183 typedef llvm::ImmutableMap<ConstructedObjectKey, SVal>
194 typedef llvm::ImmutableMap<
203 typedef llvm::ImmutableMap<
H A DRegionStore.cpp146 typedef llvm::ImmutableMap<BindingKey, SVal> ClusterBindings;
150 typedef llvm::ImmutableMap<const MemRegion *, ClusterBindings>
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DNSErrorChecker.cpp179 typedef llvm::ImmutableMap<SymbolRef, unsigned> ErrorOutFlag;
/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DRetainSummaryManager.h279 typedef llvm::ImmutableMap<unsigned, ArgEffect> ArgEffects;
/llvm-project-15.0.7/clang/lib/Analysis/
H A DThreadSafety.cpp319 using LocalVarContext = llvm::ImmutableMap<const NamedDecl *, unsigned>;
/llvm-project-15.0.7/llvm/docs/
H A DProgrammersManual.rst2366 llvm/ADT/ImmutableMap.h
2369 ImmutableMap is an immutable (functional) map implementation based on an AVL
2371 in the creation of a new ImmutableMap object. If an ImmutableMap already exists