Lines Matching refs:get
31 ConstantV(ConstantInt::get(Type::getInt32Ty(getGlobalContext()), 0)),
42 WeakVH WVH(BitcastV.get());
43 EXPECT_EQ(BitcastV.get(), WVH);
54 WeakVH BitcastWVH(BitcastV.get());
58 EXPECT_TRUE(BitcastV.get() == BitcastWVH);
59 EXPECT_TRUE(BitcastWVH == BitcastV.get());
63 EXPECT_TRUE(BitcastV.get() != ConstantWVH);
68 Value *BV = BitcastV.get();
75 EXPECT_EQ(BV < CV, BitcastV.get() < ConstantWVH);
76 EXPECT_EQ(BV <= CV, BitcastV.get() <= ConstantWVH);
77 EXPECT_EQ(BV > CV, BitcastV.get() > ConstantWVH);
78 EXPECT_EQ(BV >= CV, BitcastV.get() >= ConstantWVH);
87 WeakVH WVH(BitcastV.get());
89 WeakVH WVH_Recreated(BitcastV.get());
97 WeakVH WVH(BitcastV.get());
99 WeakVH WVH_Recreated(BitcastV.get());
109 AssertingVH<CastInst> AVH(BitcastV.get());
113 AssertingVH<Value> GenericAVH(BitcastV.get());
114 EXPECT_EQ(BitcastV.get(), GenericAVH);
125 const CastInst *ConstBitcast = BitcastV.get();
132 AssertingVH<Value> BitcastAVH(BitcastV.get());
136 EXPECT_TRUE(BitcastV.get() == BitcastAVH);
137 EXPECT_TRUE(BitcastAVH == BitcastV.get());
141 EXPECT_TRUE(BitcastV.get() != ConstantAVH);
146 Value *BV = BitcastV.get();
153 EXPECT_EQ(BV < CV, BitcastV.get() < ConstantAVH);
154 EXPECT_EQ(BV <= CV, BitcastV.get() <= ConstantAVH);
155 EXPECT_EQ(BV > CV, BitcastV.get() > ConstantAVH);
156 EXPECT_EQ(BV >= CV, BitcastV.get() >= ConstantAVH);
165 AssertingVH<Value> AVH(BitcastV.get());
167 EXPECT_EQ(BitcastV.get(), AVH);
181 AssertingVH<Value> AVH(BitcastV.get());
197 ConcreteCallbackVH CVH(BitcastV.get());
198 EXPECT_EQ(BitcastV.get(), CVH);
209 ConcreteCallbackVH BitcastCVH(BitcastV.get());
213 EXPECT_TRUE(BitcastV.get() == BitcastCVH);
214 EXPECT_TRUE(BitcastCVH == BitcastV.get());
218 EXPECT_TRUE(BitcastV.get() != ConstantCVH);
223 Value *BV = BitcastV.get();
230 EXPECT_EQ(BV < CV, BitcastV.get() < ConstantCVH);
231 EXPECT_EQ(BV <= CV, BitcastV.get() <= ConstantCVH);
232 EXPECT_EQ(BV > CV, BitcastV.get() > ConstantCVH);
233 EXPECT_EQ(BV >= CV, BitcastV.get() >= ConstantCVH);
256 RVH = BitcastV.get();
283 RVH = BitcastV.get();
320 RVH = BitcastV.get();
324 EXPECT_EQ(BitcastV.get(), BitcastUser->getOperand(0));
360 WeakVH ShouldBeVisited1(BitcastV.get());
361 DestroyingVH C(BitcastV.get());
362 WeakVH ShouldBeVisited2(BitcastV.get());
370 WeakVH ShouldBeVisited1(BitcastV.get());
371 DestroyingVH C(BitcastV.get());
372 WeakVH ShouldBeVisited2(BitcastV.get());
382 // Value deletion, the CallbackVH should get a chance to do so
403 A1 = BitcastV.get();
404 ClearingVH C(BitcastV.get(), A1, A2);
405 A2 = BitcastV.get();