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

References

unittests/IR/ValueMapTest.cpp
   48   VM[this->BitcastV.get()] = 7;
   49   EXPECT_EQ(7, VM.lookup(this->BitcastV.get()));
   51   this->BitcastV->replaceAllUsesWith(this->AddV.get());
   53   EXPECT_EQ(0u, VM.count(this->BitcastV.get()));
   56   EXPECT_EQ(0u, VM.count(this->BitcastV.get()));
   67   VM[this->BitcastV.get()] = 7;
   71     VM.find(this->BitcastV.get());
   73   EXPECT_EQ(this->BitcastV.get(), I->first);
   80     CVM.find(this->BitcastV.get());
   82   EXPECT_EQ(this->BitcastV.get(), CI->first);
  102   EXPECT_EQ(1U, VM.count(this->BitcastV.get()));
  103   VM.erase(this->BitcastV.get());
  104   EXPECT_EQ(0U, VM.count(this->BitcastV.get()));
  110   Elems.push_back(std::make_pair(this->BitcastV.get(), 2));
  113   EXPECT_EQ(2, VM.lookup(this->BitcastV.get()));
  124   VM[this->BitcastV.get()] = 2;
  133       EXPECT_EQ(this->BitcastV.get(), I->first);
  143   EXPECT_EQ(5, VM[this->BitcastV.get()]);
  155       EXPECT_EQ(this->BitcastV.get(), I->first);
  168   VM[this->BitcastV.get()] = 7;
  170   this->BitcastV->replaceAllUsesWith(this->AddV.get());
  171   EXPECT_EQ(0u, VM.count(this->BitcastV.get()));
  204   VM[this->BitcastV.get()] = 7;
  205   this->BitcastV->replaceAllUsesWith(this->AddV.get());
  219   VM[this->BitcastV.get()] = 7;
  220   EXPECT_EQ(7, VM.lookup(this->BitcastV.get()));
  222   this->BitcastV->replaceAllUsesWith(this->AddV.get());
  223   EXPECT_EQ(7, VM.lookup(this->BitcastV.get()));
  226   EXPECT_EQ(7, VM.lookup(this->BitcastV.get()));
  228   this->BitcastV.reset();
  229   EXPECT_EQ(0, VM.lookup(this->BitcastV.get()));
  253   VM[this->BitcastV.get()] = 7;
  254   this->BitcastV->replaceAllUsesWith(this->AddV.get());
  260   this->BitcastV.reset();
  285   VM[this->BitcastV.get()] = 7;
  286   this->BitcastV->replaceAllUsesWith(this->AddV.get());
  287   EXPECT_EQ(0u, VM.count(this->BitcastV.get()));