Home | History | Annotate | Download | only in VMCore

Lines Matching refs:ValueMap

1 //===- llvm/unittest/ADT/ValueMapTest.cpp - ValueMap unit tests -*- C++ -*-===//
10 #include "llvm/ADT/ValueMap.h"
44 ValueMap<TypeParam*, int> VM1;
50 ValueMap<TypeParam*, int> VM;
64 ValueMap<TypeParam*, int> VM;
65 ValueMap<TypeParam*, int> VM2(16); (void)VM2;
67 ValueMap<TypeParam*, int> VM3(Data, 16); (void)VM3;
73 typename ValueMap<TypeParam*, int>::iterator I =
81 const ValueMap<TypeParam*, int> &CVM = VM;
82 typename ValueMap<TypeParam*, int>::const_iterator CI =
90 std::pair<typename ValueMap<TypeParam*, int>::iterator, bool> InsertResult1 =
96 std::pair<typename ValueMap<TypeParam*, int>::iterator, bool> InsertResult2 =
125 ValueMap<TypeParam*, int> VM;
129 for (typename ValueMap<TypeParam*, int>::iterator I = VM.begin(), E = VM.end();
149 // Cast to const ValueMap to avoid a bug in DenseMap's iterators.
150 const ValueMap<TypeParam*, int>& CVM = VM;
151 for (typename ValueMap<TypeParam*, int>::const_iterator I = CVM.begin(),
169 ValueMap<TypeParam*, int> VM;
204 ValueMap<TypeParam*, int, LockMutex<TypeParam*> > VM(Data);
219 ValueMap<TypeParam*, int, NoFollow<TypeParam*> > VM;
253 ValueMap<TypeParam*, int, CountOps<TypeParam*> > VM(Data);
268 // We'll put a pointer here back to the ValueMap this key is in, so
269 // that we can modify it (and clobber *this) before the ValueMap
271 // ValueMap, that exploded.
272 typedef ValueMap<KeyT, int, ModifyingConfig<KeyT> > **ExtraData;
282 ValueMap<TypeParam*, int, ModifyingConfig<TypeParam*> > *MapAddress;
283 ValueMap<TypeParam*, int, ModifyingConfig<TypeParam*> > VM(&MapAddress);