Lines Matching refs:ConstantV
23 Constant *ConstantV; member in __anonbd7f0f210111::ValueHandle
27 ConstantV(ConstantInt::get(Type::getInt32Ty(getGlobalContext()), 0)), in ValueHandle()
28 BitcastV(new BitCastInst(ConstantV, Type::getInt32Ty(getGlobalContext()))) { in ValueHandle()
40 WVH = ConstantV; in TEST_F()
41 EXPECT_EQ(ConstantV, WVH); in TEST_F()
51 WeakVH ConstantWVH(ConstantV); in TEST_F()
60 EXPECT_TRUE(BitcastWVH != ConstantV); in TEST_F()
65 Value *CV = ConstantV; in TEST_F()
76 EXPECT_EQ(BV < CV, BitcastWVH < ConstantV); in TEST_F()
77 EXPECT_EQ(BV <= CV, BitcastWVH <= ConstantV); in TEST_F()
78 EXPECT_EQ(BV > CV, BitcastWVH > ConstantV); in TEST_F()
79 EXPECT_EQ(BV >= CV, BitcastWVH >= ConstantV); in TEST_F()
86 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
87 EXPECT_EQ(ConstantV, WVH); in TEST_F()
88 EXPECT_EQ(ConstantV, WVH_Copy); in TEST_F()
89 EXPECT_EQ(ConstantV, WVH_Recreated); in TEST_F()
111 GenericAVH = ConstantV; in TEST_F()
112 EXPECT_EQ(ConstantV, GenericAVH); in TEST_F()
129 AssertingVH<Value> ConstantAVH(ConstantV); in TEST_F()
138 EXPECT_TRUE(BitcastAVH != ConstantV); in TEST_F()
143 Value *CV = ConstantV; in TEST_F()
154 EXPECT_EQ(BV < CV, BitcastAVH < ConstantV); in TEST_F()
155 EXPECT_EQ(BV <= CV, BitcastAVH <= ConstantV); in TEST_F()
156 EXPECT_EQ(BV > CV, BitcastAVH > ConstantV); in TEST_F()
157 EXPECT_EQ(BV >= CV, BitcastAVH >= ConstantV); in TEST_F()
162 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
195 CVH = ConstantV; in TEST_F()
196 EXPECT_EQ(ConstantV, CVH); in TEST_F()
206 ConcreteCallbackVH ConstantCVH(ConstantV); in TEST_F()
215 EXPECT_TRUE(BitcastCVH != ConstantV); in TEST_F()
220 Value *CV = ConstantV; in TEST_F()
231 EXPECT_EQ(BV < CV, BitcastCVH < ConstantV); in TEST_F()
232 EXPECT_EQ(BV <= CV, BitcastCVH <= ConstantV); in TEST_F()
233 EXPECT_EQ(BV > CV, BitcastCVH > ConstantV); in TEST_F()
234 EXPECT_EQ(BV >= CV, BitcastCVH >= ConstantV); in TEST_F()
288 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
290 EXPECT_EQ(ConstantV, RVH.AURWArgument); in TEST_F()
366 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
367 EXPECT_EQ(ConstantV, static_cast<Value*>(ShouldBeVisited1)); in TEST_F()
368 EXPECT_EQ(ConstantV, static_cast<Value*>(ShouldBeVisited2)); in TEST_F()