• Home
  • Raw
  • Download

Lines Matching refs:VM

47   ValueMap<TypeParam*, int> VM;  in TYPED_TEST()  local
48 VM[this->BitcastV.get()] = 7; in TYPED_TEST()
49 EXPECT_EQ(7, VM.lookup(this->BitcastV.get())); in TYPED_TEST()
50 EXPECT_EQ(0u, VM.count(this->AddV.get())); in TYPED_TEST()
52 EXPECT_EQ(7, VM.lookup(this->AddV.get())); in TYPED_TEST()
53 EXPECT_EQ(0u, VM.count(this->BitcastV.get())); in TYPED_TEST()
55 EXPECT_EQ(0u, VM.count(this->AddV.get())); in TYPED_TEST()
56 EXPECT_EQ(0u, VM.count(this->BitcastV.get())); in TYPED_TEST()
57 EXPECT_EQ(0U, VM.size()); in TYPED_TEST()
61 ValueMap<TypeParam*, int> VM; in TYPED_TEST() local
65 EXPECT_TRUE(VM.empty()); in TYPED_TEST()
67 VM[this->BitcastV.get()] = 7; in TYPED_TEST()
71 VM.find(this->BitcastV.get()); in TYPED_TEST()
72 ASSERT_TRUE(I != VM.end()); in TYPED_TEST()
75 EXPECT_TRUE(VM.find(this->AddV.get()) == VM.end()); in TYPED_TEST()
78 const ValueMap<TypeParam*, int> &CVM = VM; in TYPED_TEST()
88 VM.insert(std::make_pair(this->AddV.get(), 3)); in TYPED_TEST()
92 EXPECT_EQ(1u, VM.count(this->AddV.get())); in TYPED_TEST()
94 VM.insert(std::make_pair(this->AddV.get(), 5)); in TYPED_TEST()
100 VM.erase(InsertResult2.first); in TYPED_TEST()
101 EXPECT_EQ(0U, VM.count(this->AddV.get())); in TYPED_TEST()
102 EXPECT_EQ(1U, VM.count(this->BitcastV.get())); in TYPED_TEST()
103 VM.erase(this->BitcastV.get()); in TYPED_TEST()
104 EXPECT_EQ(0U, VM.count(this->BitcastV.get())); in TYPED_TEST()
105 EXPECT_EQ(0U, VM.size()); in TYPED_TEST()
111 VM.insert(Elems.begin(), Elems.end()); in TYPED_TEST()
112 EXPECT_EQ(1, VM.lookup(this->AddV.get())); in TYPED_TEST()
113 EXPECT_EQ(2, VM.lookup(this->BitcastV.get())); in TYPED_TEST()
123 ValueMap<TypeParam*, int> VM; in TYPED_TEST() local
124 VM[this->BitcastV.get()] = 2; in TYPED_TEST()
125 VM[this->AddV.get()] = 3; in TYPED_TEST()
127 for (typename ValueMap<TypeParam*, int>::iterator I = VM.begin(), E = VM.end(); in TYPED_TEST()
143 EXPECT_EQ(5, VM[this->BitcastV.get()]); in TYPED_TEST()
144 EXPECT_EQ(6, VM[this->AddV.get()]); in TYPED_TEST()
148 const ValueMap<TypeParam*, int>& CVM = VM; in TYPED_TEST()
167 ValueMap<TypeParam*, int> VM; in TYPED_TEST() local
168 VM[this->BitcastV.get()] = 7; in TYPED_TEST()
169 VM[this->AddV.get()] = 9; in TYPED_TEST()
171 EXPECT_EQ(0u, VM.count(this->BitcastV.get())); in TYPED_TEST()
172 EXPECT_EQ(9, VM.lookup(this->AddV.get())); in TYPED_TEST()
203 ValueMap<TypeParam*, int, ConfigType> VM(Data); in TYPED_TEST() local
204 VM[this->BitcastV.get()] = 7; in TYPED_TEST()
218 ValueMap<TypeParam*, int, NoFollow<TypeParam*> > VM; in TYPED_TEST() local
219 VM[this->BitcastV.get()] = 7; in TYPED_TEST()
220 EXPECT_EQ(7, VM.lookup(this->BitcastV.get())); in TYPED_TEST()
221 EXPECT_EQ(0u, VM.count(this->AddV.get())); in TYPED_TEST()
223 EXPECT_EQ(7, VM.lookup(this->BitcastV.get())); in TYPED_TEST()
224 EXPECT_EQ(0, VM.lookup(this->AddV.get())); in TYPED_TEST()
226 EXPECT_EQ(7, VM.lookup(this->BitcastV.get())); in TYPED_TEST()
227 EXPECT_EQ(0, VM.lookup(this->AddV.get())); in TYPED_TEST()
229 EXPECT_EQ(0, VM.lookup(this->BitcastV.get())); in TYPED_TEST()
230 EXPECT_EQ(0, VM.lookup(this->AddV.get())); in TYPED_TEST()
231 EXPECT_EQ(0U, VM.size()); in TYPED_TEST()
252 ValueMap<TypeParam*, int, CountOps<TypeParam*> > VM(Data); in TYPED_TEST() local
253 VM[this->BitcastV.get()] = 7; in TYPED_TEST()
282 ValueMap<TypeParam*, int, ModifyingConfig<TypeParam*> > VM(&MapAddress); in TYPED_TEST() local
283 MapAddress = &VM; in TYPED_TEST()
285 VM[this->BitcastV.get()] = 7; in TYPED_TEST()
287 EXPECT_EQ(0u, VM.count(this->BitcastV.get())); in TYPED_TEST()
288 EXPECT_EQ(0u, VM.count(this->AddV.get())); in TYPED_TEST()
289 VM[this->AddV.get()] = 7; in TYPED_TEST()
291 EXPECT_EQ(0u, VM.count(this->AddV.get())); in TYPED_TEST()