Searched refs:BitcastV (Results 1 – 4 of 4) sorted by relevance
/external/swiftshader/third_party/LLVM/unittests/Support/ |
D | ValueHandleTest.cpp | 28 std::auto_ptr<BitCastInst> BitcastV; member in __anona78ec58f0111::ValueHandle 32 BitcastV(new BitCastInst(ConstantV, Type::getInt32Ty(getGlobalContext()))) { in ValueHandle() 42 WeakVH WVH(BitcastV.get()); in TEST_F() 43 EXPECT_EQ(BitcastV.get(), WVH); in TEST_F() 54 WeakVH BitcastWVH(BitcastV.get()); in TEST_F() 58 EXPECT_TRUE(BitcastV.get() == BitcastWVH); in TEST_F() 59 EXPECT_TRUE(BitcastWVH == BitcastV.get()); in TEST_F() 63 EXPECT_TRUE(BitcastV.get() != ConstantWVH); in TEST_F() 68 Value *BV = BitcastV.get(); in TEST_F() 75 EXPECT_EQ(BV < CV, BitcastV.get() < ConstantWVH); in TEST_F() [all …]
|
/external/llvm/unittests/IR/ |
D | ValueHandleTest.cpp | 25 std::unique_ptr<BitCastInst> BitcastV; member in __anonbd7f0f210111::ValueHandle 29 BitcastV(new BitCastInst(ConstantV, Type::getInt32Ty(Context))) {} 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 …]
|
D | ValueMapTest.cpp | 27 std::unique_ptr<BitCastInst> BitcastV; member in __anonef3050930111::ValueMapTest 32 BitcastV(new BitCastInst(ConstantV, Type::getInt32Ty(Context))), 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 …]
|
/external/swiftshader/third_party/LLVM/unittests/VMCore/ |
D | ValueMapTest.cpp | 28 OwningPtr<BitCastInst> BitcastV; member in __anon3f058fb00111::ValueMapTest 33 BitcastV(new BitCastInst(ConstantV, Type::getInt32Ty(getGlobalContext()))), in ValueMapTest() 51 VM[this->BitcastV.get()] = 7; in TYPED_TEST() 52 EXPECT_EQ(7, VM.lookup(this->BitcastV.get())); in TYPED_TEST() 54 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST() 56 EXPECT_EQ(0, VM.count(this->BitcastV.get())); in TYPED_TEST() 59 EXPECT_EQ(0, VM.count(this->BitcastV.get())); in TYPED_TEST() 70 VM[this->BitcastV.get()] = 7; in TYPED_TEST() 74 VM.find(this->BitcastV.get()); in TYPED_TEST() 76 EXPECT_EQ(this->BitcastV.get(), I->first); in TYPED_TEST() [all …]
|