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

References

unittests/IR/ValueMapTest.cpp
   50   EXPECT_EQ(0u, VM.count(this->AddV.get()));
   51   this->BitcastV->replaceAllUsesWith(this->AddV.get());
   52   EXPECT_EQ(7, VM.lookup(this->AddV.get()));
   54   this->AddV.reset();
   55   EXPECT_EQ(0u, VM.count(this->AddV.get()));
   75   EXPECT_TRUE(VM.find(this->AddV.get()) == VM.end());
   84   EXPECT_TRUE(CVM.find(this->AddV.get()) == CVM.end());
   88     VM.insert(std::make_pair(this->AddV.get(), 3));
   89   EXPECT_EQ(this->AddV.get(), InsertResult1.first->first);
   92   EXPECT_EQ(1u, VM.count(this->AddV.get()));
   94     VM.insert(std::make_pair(this->AddV.get(), 5));
   95   EXPECT_EQ(this->AddV.get(), InsertResult2.first->first);
  101   EXPECT_EQ(0U, VM.count(this->AddV.get()));
  109   Elems.push_back(std::make_pair(this->AddV.get(), 1));
  112   EXPECT_EQ(1, VM.lookup(this->AddV.get()));
  125   VM[this->AddV.get()] = 3;
  136       EXPECT_EQ(this->AddV.get(), I->first);
  144   EXPECT_EQ(6, VM[this->AddV.get()]);
  157       EXPECT_EQ(this->AddV.get(), I->first);
  169   VM[this->AddV.get()] = 9;
  170   this->BitcastV->replaceAllUsesWith(this->AddV.get());
  172   EXPECT_EQ(9, VM.lookup(this->AddV.get()));
  205   this->BitcastV->replaceAllUsesWith(this->AddV.get());
  206   this->AddV.reset();
  221   EXPECT_EQ(0u, VM.count(this->AddV.get()));
  222   this->BitcastV->replaceAllUsesWith(this->AddV.get());
  224   EXPECT_EQ(0, VM.lookup(this->AddV.get()));
  225   this->AddV.reset();
  227   EXPECT_EQ(0, VM.lookup(this->AddV.get()));
  230   EXPECT_EQ(0, VM.lookup(this->AddV.get()));
  254   this->BitcastV->replaceAllUsesWith(this->AddV.get());
  257   this->AddV.reset();
  286   this->BitcastV->replaceAllUsesWith(this->AddV.get());
  288   EXPECT_EQ(0u, VM.count(this->AddV.get()));
  289   VM[this->AddV.get()] = 7;
  290   this->AddV.reset();
  291   EXPECT_EQ(0u, VM.count(this->AddV.get()));