| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | mismatched-iterator.cpp | 14 void good_insert3(std::vector<int> &V1, std::vector<int> &V2) { in good_insert3() argument 15 V1.insert(V1.cbegin(), V2.cbegin(), V2.cend()); // no-warning in good_insert3() 48 std::find_first_of(V1.cbegin(), V1.cend(), V2.cbegin(), V2.cend()); // no-warning in good_find_first_of() 52 std::copy(V1.cbegin(), V1.cend(), V2.begin()); // no-warning in good_copy() 65 …V1.insert(V1.cbegin(), V1.cbegin(), V2.cend()); // expected-warning{{Iterators of different contai… in bad_insert3() 66 …V1.insert(V1.cbegin(), V2.cbegin(), V1.cend()); // expected-warning{{Iterators of different contai… in bad_insert3() 80 …V2.erase(V1.cbegin(), V1.cend()); // expected-warning{{Container accessed using foreign iterator a… in bad_erase2() 95 void bad_ctor(std::vector<int> &V1, std::vector<int> &V2) { in bad_ctor() argument 105 …std::find_first_of(V1.cbegin(), V1.cend(), V2.cbegin(), V1.cend()); // expected-warning{{Iterators… in bad_find_first_of() 113 V2.erase(V1.cbegin()); // no-warning in ignore_conjured1() [all …]
|
| H A D | ptr-sort.cpp | 11 std::vector<int> V1 = {a, b}; in PointerSorting() local 14 std::is_sorted(V1.begin(), V1.end()); // no-warning in PointerSorting() 15 std::nth_element(V1.begin(), V1.begin() + 1, V1.end()); // no-warning in PointerSorting() 16 std::partial_sort(V1.begin(), V1.begin() + 1, V1.end()); // no-warning in PointerSorting() 17 std::sort(V1.begin(), V1.end()); // no-warning in PointerSorting() 18 std::stable_sort(V1.begin(), V1.end()); // no-warning in PointerSorting() 19 std::partition(V1.begin(), V1.end(), f); // no-warning in PointerSorting() 20 std::stable_partition(V1.begin(), V1.end(), g); // no-warning in PointerSorting()
|
| H A D | container-modeling.cpp | 43 void move_assignment(std::vector<int> &V1, std::vector<int> &V2) { in move_assignment() argument 44 V1.cbegin(); in move_assignment() 45 V1.cend(); in move_assignment() 48 long B1 = clang_analyzer_container_begin(V1); in move_assignment() 49 long E1 = clang_analyzer_container_end(V1); in move_assignment() 52 V1 = std::move(V2); in move_assignment() 210 void push_back1(std::vector<int> &V1, std::vector<int> &V2, int n) { in push_back1() argument 211 V1.cbegin(); in push_back1() 212 V1.cend(); in push_back1() 225 V1.cbegin(); in push_back2() [all …]
|
| H A D | stl-algorithm-modeling-aggressive-std-find-modeling.cpp | 146 const auto i1 = return_any_iterator(V1.begin()); in test_find_first_of1() 147 const auto i2 = return_any_iterator(V1.begin()); in test_find_first_of1() 169 const auto i1 = return_any_iterator(V1.begin()); in test_find_first_of2() 170 const auto i2 = return_any_iterator(V1.begin()); in test_find_first_of2() 193 const auto i1 = return_any_iterator(V1.begin()); in test_find_first_of3() 194 const auto i2 = return_any_iterator(V1.begin()); in test_find_first_of3() 216 const auto i1 = return_any_iterator(V1.begin()); in test_find_first_of4() 217 const auto i2 = return_any_iterator(V1.begin()); in test_find_first_of4() 240 const auto i1 = return_any_iterator(V1.begin()); in test_find_end1() 241 const auto i2 = return_any_iterator(V1.begin()); in test_find_end1() [all …]
|
| H A D | stl-algorithm-modeling.cpp | 133 const auto i1 = return_any_iterator(V1.begin()); in test_find_first_of1() 134 const auto i2 = return_any_iterator(V1.begin()); in test_find_first_of1() 154 const auto i1 = return_any_iterator(V1.begin()); in test_find_first_of2() 155 const auto i2 = return_any_iterator(V1.begin()); in test_find_first_of2() 176 const auto i1 = return_any_iterator(V1.begin()); in test_find_first_of3() 177 const auto i2 = return_any_iterator(V1.begin()); in test_find_first_of3() 197 const auto i1 = return_any_iterator(V1.begin()); in test_find_first_of4() 198 const auto i2 = return_any_iterator(V1.begin()); in test_find_first_of4() 219 const auto i1 = return_any_iterator(V1.begin()); in test_find_end1() 220 const auto i2 = return_any_iterator(V1.begin()); in test_find_end1() [all …]
|
| /llvm-project-15.0.7/clang/test/Preprocessor/ |
| H A D | macro_vaopt_check.cpp | 7 #undef V1 10 #undef V1 30 #undef V1 34 #undef V1 38 #undef V1 42 #undef V1 49 #undef V1 53 #undef V1 57 #undef V1 60 #undef V1 [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | BasicValueFactory.cpp | 257 return &getValue( V1 * V2 ); in evalAPSInt() 262 return &getValue( V1 / V2 ); in evalAPSInt() 267 return &getValue( V1 % V2 ); in evalAPSInt() 270 return &getValue( V1 + V2 ); in evalAPSInt() 273 return &getValue( V1 - V2 ); in evalAPSInt() 284 if (Amt >= V1.getBitWidth()) in evalAPSInt() 288 if (V1.isSigned() && V1.isNegative()) in evalAPSInt() 291 if (V1.isSigned() && Amt > V1.countLeadingZeros()) in evalAPSInt() 307 if (Amt >= V1.getBitWidth()) in evalAPSInt() 334 return &getValue( V1 & V2 ); in evalAPSInt() [all …]
|
| /llvm-project-15.0.7/mlir/test/Target/Cpp/ |
| H A D | if.mlir | 10 // CPP-DEFAULT: void test_if(bool [[V0:[^ ]*]], float [[V1:[^ ]*]]) { 12 // CPP-DEFAULT-NEXT: int32_t [[V2:[^ ]*]] = func_const([[V1]]); 20 // CPP-DECLTOP-NEXT: [[V2]] = func_const([[V1]]); 36 // CPP-DEFAULT-NEXT: int32_t [[V2:[^ ]*]] = func_true([[V1]]); 39 // CPP-DEFAULT-NEXT: int32_t [[V3:[^ ]*]] = func_false([[V1]]); 48 // CPP-DECLTOP-NEXT: [[V2]] = func_true([[V1]]); 51 // CPP-DECLTOP-NEXT: [[V3]] = func_false([[V1]]); 97 // CPP-DECLTOP-NEXT: [[V5]] = func_true_1([[V1]]); 98 // CPP-DECLTOP-NEXT: [[V6]] = func_true_2([[V1]]); 102 // CPP-DECLTOP-NEXT: [[V7]] = func_false_1([[V1]]); [all …]
|
| H A D | stdops.mlir | 15 // CPP-DEFAULT-NEXT: size_t [[V1:[^ ]*]] = 2; 23 // CPP-DECLTOP-NEXT: size_t [[V1:[^ ]*]]; 29 // CPP-DECLTOP-NEXT: [[V1]] = 2; 46 // CPP-DECLTOP-NEXT: int32_t [[V1:[^ ]*]]; 48 // CPP-DECLTOP-NEXT: [[V1]] = one_result(); 59 // CPP-DEFAULT-NEXT: int32_t [[V1:[^ ]*]]; 68 // CPP-DECLTOP-NEXT: int32_t [[V1:[^ ]*]]; 99 // CPP-DEFAULT: return std::make_tuple([[V0]], [[V1]]); 103 // CPP-DECLTOP: float [[V1:[^ ]*]]; 105 // CPP-DECLTOP: [[V1]] = (float)1.000000000e+00; [all …]
|
| H A D | common-cpp.mlir | 10 // CHECK: [[V1:[^ ]*]] = foo::constant({0, 1}); 12 // CHECK: [[V2:[^ ]*]] = foo::op_and_attr({0, 1}, [[V1]]); 53 // CHECK: int64_t test_plus_int(int64_t [[V1]]) 55 // CHECK: mhlo::add([[V1]], [[V1]]) 60 // CHECK: Tensor<float, 2> mixed_types(Tensor<double, 2> [[V1]]) 62 // CHECK: foo::mixed_types([[V1]]); 67 // CHECK: Tensor<uint64_t> mhlo_convert(Tensor<uint32_t> [[V1]]) 69 // CHECK: mhlo::convert([[V1]]); 74 // CHECK: status_t opaque_types(bool [[V1:[^ ]*]], char [[V2:[^ ]*]]) { 76 // CHECK: int [[V3:[^ ]*]] = a([[V1]], [[V2]]); [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/NewGVN/ |
| H A D | metadata-nonnull.ll | 9 ; CHECK-NEXT: store i8* [[V2]], i8** [[V1:%.*]] 42 ; CHECK-NEXT: call void @use1(i8* [[V1]]) 45 ; CHECK-NEXT: ret i8* [[V1]] 47 ; CHECK-NEXT: ret i8* [[V1]] 68 ; CHECK-NEXT: call void @use1(i8* [[V1]]) 71 ; CHECK-NEXT: ret i8* [[V1]] 73 ; CHECK-NEXT: ret i8* [[V1]] 93 ; CHECK-NEXT: call void @use1(i8* [[V1]]) 96 ; CHECK-NEXT: ret i8* [[V1]] 98 ; CHECK-NEXT: ret i8* [[V1]] [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/EarlyCSE/ |
| H A D | basic.ll | 46 %V1 = load i32, ptr %P 48 %Diff = sub i32 %V1, %V2 58 %V1 = load i32, ptr %P 76 %V1 = load i32, ptr %P 98 %V1 = load i32, ptr %P 122 %V1 = load i32, ptr %P 127 ; Clobbers V1 157 ret i32 %V1 169 ret i32 %V1 209 ret i32 %V1 [all …]
|
| H A D | invariant-loads.ll | 152 ; NO_ASSUME-NEXT: call void @clobber_and_use(i32 [[V1]]) 157 ; USE_ASSUME-NEXT: call void @clobber_and_use(i32 [[V1]]) 171 ; CHECK-NEXT: call void @clobber_and_use(i32 [[V1]]) 186 ; NO_ASSUME-NEXT: [[ADD:%.*]] = add i32 [[V1]], [[V1]] 188 ; NO_ASSUME-NEXT: call void @clobber_and_use(i32 [[V1]]) 194 ; USE_ASSUME-NEXT: [[ADD:%.*]] = add i32 [[V1]], [[V1]] 196 ; USE_ASSUME-NEXT: call void @clobber_and_use(i32 [[V1]]) 214 ; NO_ASSUME-NEXT: call void @clobber_and_use(i32 [[V1]]) 215 ; NO_ASSUME-NEXT: [[ADD:%.*]] = add i32 [[V1]], [[V1]] 217 ; NO_ASSUME-NEXT: call void @clobber_and_use(i32 [[V1]]) [all …]
|
| H A D | memoryssa.ll | 21 ; CHECK-NEXT: [[V1:%.*]] = load i32, ptr @G1, align 4 25 %V1 = load i32, ptr @G1 28 %Diff = sub i32 %V1, %V2 43 ; CHECK-NEXT: [[V1:%.*]] = load i32, ptr @G1, align 4 48 %V1 = load i32, ptr @G1 50 store i32 %V1, ptr @G1 72 ; CHECK-NEXT: [[V1:%.*]] = load i32, ptr @G1, align 4 78 ; CHECK-NEXT: [[SUM:%.*]] = add i32 [[V1]], [[V1]] 117 ; CHECK-NEXT: [[V1:%.*]] = load i32, ptr @G1, align 4 118 ; CHECK-NEXT: store i32 [[V1]], ptr @G2, align 4 [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | vec_perf_shuffle.ll | 6 %V1 = load <4 x float>, <4 x float>* %P1 ; <<4 x float>> [#uses=1] 8 …%V3 = shufflevector <4 x float> %V1, <4 x float> %V2, <4 x i32> < i32 undef, i32 undef, i32 7, i32… 13 %V1 = load <4 x float>, <4 x float>* %P1 ; <<4 x float>> [#uses=1] 15 …%V3 = shufflevector <4 x float> %V1, <4 x float> %V2, <4 x i32> < i32 3, i32 0, i32 undef, i32 5 >… 20 %V1 = load <4 x float>, <4 x float>* %P1 ; <<4 x float>> [#uses=1] 22 …%V3 = shufflevector <4 x float> %V1, <4 x float> %V2, <4 x i32> < i32 3, i32 undef, i32 7, i32 3 >… 27 %V1 = load <4 x float>, <4 x float>* %P1 ; <<4 x float>> [#uses=1] 29 …%V3 = shufflevector <4 x float> %V1, <4 x float> %V2, <4 x i32> < i32 3, i32 7, i32 7, i32 4 > ; … 34 %V1 = load <4 x float>, <4 x float>* %P1 ; <<4 x float>> [#uses=1] 36 …%V3 = shufflevector <4 x float> %V1, <4 x float> %V2, <4 x i32> < i32 4, i32 4, i32 5, i32 0 > ; …
|
| /llvm-project-15.0.7/llvm/test/CodeGen/BPF/ |
| H A D | setcc.ll | 11 ; CHECK-V1: if r1 == 0 21 ; CHECK-V1: if r1 != 0 30 ; CHECK-V1: if r1 != r2 39 ; CHECK-V1: if r1 == r2 48 ; CHECK-V1: if r1 > r2 57 ; CHECK-V1: if r1 >= r2 66 ; CHECK-V1: if r2 > r1 75 ; CHECK-V1: if r2 >= r1 84 ; CHECK-V1: if r1 s> r2 93 ; CHECK-V1: if r1 s>= r2 [all …]
|
| /llvm-project-15.0.7/llvm/test/MC/AArch64/ |
| H A D | armv8a-fpmul.s | 13 FMLAL V0.2S, V1.2H, V2.2H 14 FMLSL V0.2S, V1.2H, V2.2H 15 FMLAL V0.4S, V1.4H, V2.4H 16 FMLSL V0.4S, V1.4H, V2.4H 17 FMLAL2 V0.2S, V1.2H, V2.2H 18 FMLSL2 V0.2S, V1.2H, V2.2H 19 FMLAL2 V0.4S, V1.4H, V2.4H 20 FMLSL2 V0.4S, V1.4H, V2.4H
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | specialization-diagnose-crash.cpp | 5 struct V1 {}; struct 6 struct V2 : V1 { 22 Variant<V1, V1>(); in f() 23 Variant<V1, V2>(); // expected-error {{call to deleted constructor}} in f()
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | call-guard.ll | 45 ; CHECK-NEXT: [[AND:%.*]] = and i32 [[V1]], 255 51 %A = icmp slt i32 %V1, 0 55 %and = and i32 %V1, 255 63 define void @negative_load(i32 %V1, i32* %P) { 65 ; CHECK-NEXT: [[A:%.*]] = icmp slt i32 [[V1:%.*]], 0 72 %A = icmp slt i32 %V1, 0 88 %A = icmp slt i32 %V1, 0 97 define void @negative_div(i32 %V1, i32 %D) { 106 %A = icmp slt i32 %V1, 0 108 %V2 = udiv i32 %V1, %D [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.req/range.view/ |
| H A D | enable_view.compile.pass.cpp | 72 struct V1 : std::ranges::view_interface<V1> {}; struct 73 static_assert(std::ranges::enable_view<V1>); 74 static_assert(!std::ranges::enable_view<V1&>); 75 static_assert(!std::ranges::enable_view<V1&&>); 76 static_assert(std::ranges::enable_view<const V1>); 77 static_assert(!std::ranges::enable_view<const V1&>); 78 static_assert(!std::ranges::enable_view<const V1&&>); 80 struct V2 : std::ranges::view_interface<V1>, std::ranges::view_interface<V2> {}; 88 struct V3 : std::ranges::view_interface<V1> {};
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/autohvx/ |
| H A D | widen-trunc.ll | 9 ; CHECK: v[[V1:[0-9]+]].b = vdeal(v[[V0]].b) 11 ; CHECK: if (q[[Q0]]) vmem(r1+#0) = v[[V1]] 25 ; CHECK: if (q[[Q0]]) vmem(r1+#0) = v[[V1]] 37 ; CHECK: v[[V1:[0-9]+]].b = vdeal(v[[V0]].b) 39 ; CHECK: if (q[[Q0]]) vmem(r1+#0) = v[[V1]] 50 ; CHECK-DAG: v[[V1:[0-9]+]] = vmem(r0+#1) 66 ; CHECK: v[[V1:[0-9]+]].h = vdeal(v[[V0]].h) 68 ; CHECK: if (q[[Q0]]) vmem(r1+#0) = v[[V1]] 80 ; CHECK: v[[V1:[0-9]+]].h = vdeal(v[[V0]].h) 82 ; CHECK: if (q[[Q0]]) vmem(r1+#0) = v[[V1]] [all …]
|
| /llvm-project-15.0.7/lldb/unittests/Utility/ |
| H A D | RangeMapTest.cpp | 44 RangeVector V1; in TEST() local 48 V1.Append(0, 1); in TEST() 53 V1.Append(2, 2); in TEST() 57 V1.Append(10, 5); in TEST() 62 V1.Append(27, 1); in TEST() 67 V1.Append(33, 4); in TEST() 72 V1.Append(46, 3); in TEST() 77 V1.Append(50, 9); in TEST() 82 V1.Append(60, 9); in TEST() 88 V1.Sort(); in TEST() [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | vtt-layout.cpp | 28 class V1 : public A1, public A2 { int i; }; class 31 class V2 : public B1, public B2, public virtual V1 { int i; }; 33 class C1 : public virtual V1 { int i; }; 47 class V1 : public A1, public virtual A2 { int i; }; class 50 class V2 : public B1, public B2, public virtual V1 { int i; }; 52 class C1 : public virtual V1 { int i; };
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | weak-in-c-struct.m | 23 // ARM64: call void @__destructor_8_w8(i8** %[[V1]]) 30 // ARM64: %[[V1]] = bitcast i8** %[[V0]] to i8* 40 // ARM64: %[[V1:.*]] = bitcast i8** %[[V0]] to i8* 65 // ARM64: %[[V3:.*]] = bitcast i8** %[[V1]] to i32* 71 // ARM64: %[[V8:.*]] = bitcast i8** %[[V1]] to i8* 91 // ARM64: %[[V3:.*]] = bitcast i8** %[[V1]] to i32* 97 // ARM64: %[[V8:.*]] = bitcast i8** %[[V1]] to i8* 119 // ARM64: %[[V3:.*]] = bitcast i8** %[[V1]] to i32* 125 // ARM64: %[[V8:.*]] = bitcast i8** %[[V1]] to i8* 146 // ARM64: %[[V3:.*]] = bitcast i8** %[[V1]] to i32* [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGen/X86/ |
| H A D | sse41-builtins.c | 11 __m128i test_mm_blend_epi16(__m128i V1, __m128i V2) { in test_mm_blend_epi16() argument 14 return _mm_blend_epi16(V1, V2, 42); in test_mm_blend_epi16() 17 __m128d test_mm_blend_pd(__m128d V1, __m128d V2) { in test_mm_blend_pd() argument 20 return _mm_blend_pd(V1, V2, 2); in test_mm_blend_pd() 23 __m128 test_mm_blend_ps(__m128 V1, __m128 V2) { in test_mm_blend_ps() argument 26 return _mm_blend_ps(V1, V2, 6); in test_mm_blend_ps() 32 return _mm_blendv_epi8(V1, V2, V3); in test_mm_blendv_epi8() 35 __m128d test_mm_blendv_pd(__m128d V1, __m128d V2, __m128d V3) { in test_mm_blendv_pd() argument 38 return _mm_blendv_pd(V1, V2, V3); in test_mm_blendv_pd() 41 __m128 test_mm_blendv_ps(__m128 V1, __m128 V2, __m128 V3) { in test_mm_blendv_ps() argument [all …]
|