reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/IR/ValueMapTest.cpp
   65   EXPECT_TRUE(VM.empty());
   67   VM[this->BitcastV.get()] = 7;
   71     VM.find(this->BitcastV.get());
   72   ASSERT_TRUE(I != VM.end());
   75   EXPECT_TRUE(VM.find(this->AddV.get()) == VM.end());
   75   EXPECT_TRUE(VM.find(this->AddV.get()) == VM.end());
   78   const ValueMap<TypeParam*, int> &CVM = VM;
   88     VM.insert(std::make_pair(this->AddV.get(), 3));
   92   EXPECT_EQ(1u, VM.count(this->AddV.get()));
   94     VM.insert(std::make_pair(this->AddV.get(), 5));
  100   VM.erase(InsertResult2.first);
  101   EXPECT_EQ(0U, VM.count(this->AddV.get()));
  102   EXPECT_EQ(1U, VM.count(this->BitcastV.get()));
  103   VM.erase(this->BitcastV.get());
  104   EXPECT_EQ(0U, VM.count(this->BitcastV.get()));
  105   EXPECT_EQ(0U, VM.size());
  111   VM.insert(Elems.begin(), Elems.end());
  112   EXPECT_EQ(1, VM.lookup(this->AddV.get()));
  113   EXPECT_EQ(2, VM.lookup(this->BitcastV.get()));