Home
last modified time | relevance | path

Searched refs:WVH (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/IR/
H A DValueHandleTest.cpp37 WeakVH WVH(BitcastV.get()); in TEST_F() local
38 EXPECT_EQ(BitcastV.get(), WVH); in TEST_F()
39 WVH = ConstantV; in TEST_F()
40 EXPECT_EQ(ConstantV, WVH); in TEST_F()
47 WVH = BitcastV.get(); in TEST_F()
51 EXPECT_EQ(WVH, nullptr); in TEST_F()
57 WVH = ConstantV; in TEST_F()
58 EXPECT_EQ(ConstantV, WVH); in TEST_F()
101 WeakTrackingVH WVH_Copy(WVH); in TEST_F()
104 EXPECT_EQ(ConstantV, WVH); in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DValueHandle.h170 static SimpleType getSimplifiedValue(WeakVH &WVH) { return WVH; }
175 static SimpleType getSimplifiedValue(const WeakVH &WVH) { return WVH; }
234 static SimpleType getSimplifiedValue(WeakTrackingVH &WVH) { return WVH; }
239 static SimpleType getSimplifiedValue(const WeakTrackingVH &WVH) {
240 return WVH;
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp1151 for (const WeakTrackingVH &WVH : Postorder) { in rewriteWithNewAddressSpaces() local
1152 assert(WVH && "value was unexpectedly deleted"); in rewriteWithNewAddressSpaces()
1153 Value *V = WVH; in rewriteWithNewAddressSpaces()