Home
last modified time | relevance | path

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

/external/llvm/unittests/IR/
DValueHandleTest.cpp24 std::unique_ptr<BitCastInst> BitcastV; member in __anonbd7f0f210111::ValueHandle
28 BitcastV(new BitCastInst(ConstantV, Type::getInt32Ty(getGlobalContext()))) { in ValueHandle()
38 WeakVH WVH(BitcastV.get()); in TEST_F()
39 EXPECT_EQ(BitcastV.get(), WVH); in TEST_F()
50 WeakVH BitcastWVH(BitcastV.get()); in TEST_F()
54 EXPECT_TRUE(BitcastV.get() == BitcastWVH); in TEST_F()
55 EXPECT_TRUE(BitcastWVH == BitcastV.get()); in TEST_F()
59 EXPECT_TRUE(BitcastV.get() != ConstantWVH); in TEST_F()
64 Value *BV = BitcastV.get(); in TEST_F()
71 EXPECT_EQ(BV < CV, BitcastV.get() < ConstantWVH); in TEST_F()
[all …]
DValueMapTest.cpp26 std::unique_ptr<BitCastInst> BitcastV; member in __anonef3050930111::ValueMapTest
31 BitcastV(new BitCastInst(ConstantV, Type::getInt32Ty(getGlobalContext()))), in ValueMapTest()
49 VM[this->BitcastV.get()] = 7; in TYPED_TEST()
50 EXPECT_EQ(7, VM.lookup(this->BitcastV.get())); in TYPED_TEST()
52 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
54 EXPECT_EQ(0u, VM.count(this->BitcastV.get())); in TYPED_TEST()
57 EXPECT_EQ(0u, VM.count(this->BitcastV.get())); in TYPED_TEST()
68 VM[this->BitcastV.get()] = 7; in TYPED_TEST()
72 VM.find(this->BitcastV.get()); in TYPED_TEST()
74 EXPECT_EQ(this->BitcastV.get(), I->first); in TYPED_TEST()
[all …]