Searched refs:GV0 (Results 1 – 2 of 2) sorted by relevance
2070 std::unique_ptr<GlobalVariable> GV0( in TEST_F() local2072 auto *MD = ValueAsMetadata::get(GV0.get()); in TEST_F()2073 EXPECT_TRUE(MD->getValue() == GV0.get()); in TEST_F()2074 ASSERT_TRUE(GV0->use_empty()); in TEST_F()2078 GV0->replaceAllUsesWith(GV1.get()); in TEST_F()2131 std::unique_ptr<GlobalVariable> GV0( in TEST_F() local2133 TypedTrackingMDRef<ValueAsMetadata> MD(ValueAsMetadata::get(GV0.get())); in TEST_F()2134 EXPECT_TRUE(MD->getValue() == GV0.get()); in TEST_F()2135 ASSERT_TRUE(GV0->use_empty()); in TEST_F()2139 GV0->replaceAllUsesWith(GV1.get()); in TEST_F()
2302 std::unique_ptr<GlobalVariable> GV0( in TEST_F() local2304 auto *MD = ValueAsMetadata::get(GV0.get()); in TEST_F()2305 EXPECT_TRUE(MD->getValue() == GV0.get()); in TEST_F()2306 ASSERT_TRUE(GV0->use_empty()); in TEST_F()2310 GV0->replaceAllUsesWith(GV1.get()); in TEST_F()2363 std::unique_ptr<GlobalVariable> GV0( in TEST_F() local2365 TypedTrackingMDRef<ValueAsMetadata> MD(ValueAsMetadata::get(GV0.get())); in TEST_F()2366 EXPECT_TRUE(MD->getValue() == GV0.get()); in TEST_F()2367 ASSERT_TRUE(GV0->use_empty()); in TEST_F()2371 GV0->replaceAllUsesWith(GV1.get()); in TEST_F()