Home
last modified time | relevance | path

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

/external/llvm/unittests/Support/
DValueHandleTest.cpp25 std::auto_ptr<BitCastInst> BitcastV; member in __anon0b9defed0111::ValueHandle
29 BitcastV(new BitCastInst(ConstantV, Type::getInt32Ty(getGlobalContext()))) { in ValueHandle()
39 WeakVH WVH(BitcastV.get()); in TEST_F()
40 EXPECT_EQ(BitcastV.get(), WVH); in TEST_F()
51 WeakVH BitcastWVH(BitcastV.get()); in TEST_F()
55 EXPECT_TRUE(BitcastV.get() == BitcastWVH); in TEST_F()
56 EXPECT_TRUE(BitcastWVH == BitcastV.get()); in TEST_F()
60 EXPECT_TRUE(BitcastV.get() != ConstantWVH); in TEST_F()
65 Value *BV = BitcastV.get(); in TEST_F()
72 EXPECT_EQ(BV < CV, BitcastV.get() < ConstantWVH); in TEST_F()
[all …]
/external/llvm/unittests/IR/
DValueMapTest.cpp27 OwningPtr<BitCastInst> BitcastV; member in __anonc548d39d0111::ValueMapTest
32 BitcastV(new BitCastInst(ConstantV, Type::getInt32Ty(getGlobalContext()))), in ValueMapTest()
50 VM[this->BitcastV.get()] = 7; in TYPED_TEST()
51 EXPECT_EQ(7, VM.lookup(this->BitcastV.get())); in TYPED_TEST()
53 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
55 EXPECT_EQ(0, VM.count(this->BitcastV.get())); in TYPED_TEST()
58 EXPECT_EQ(0, VM.count(this->BitcastV.get())); in TYPED_TEST()
69 VM[this->BitcastV.get()] = 7; in TYPED_TEST()
73 VM.find(this->BitcastV.get()); in TYPED_TEST()
75 EXPECT_EQ(this->BitcastV.get(), I->first); in TYPED_TEST()
[all …]