Home
last modified time | relevance | path

Searched refs:GV0 (Results 1 – 2 of 2) sorted by relevance

/external/llvm/unittests/IR/
DMetadataTest.cpp2070 std::unique_ptr<GlobalVariable> GV0( in TEST_F() local
2072 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() local
2133 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()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DMetadataTest.cpp2302 std::unique_ptr<GlobalVariable> GV0( in TEST_F() local
2304 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() local
2365 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()