Home
last modified time | relevance | path

Searched refs:ov (Results 1 – 25 of 51) sorted by relevance

123

/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/
H A Dbegin_end.pass.cpp62 OwningView ov; in test() local
93 OwningView ov; in test() local
95 ASSERT_SAME_TYPE(decltype(ov.end()), int*); in test()
101 assert(ov.begin() == a); in test()
102 assert(std::as_const(ov).begin() == a); in test()
103 assert(ov.end() == a); in test()
104 assert(std::as_const(ov).end() == a); in test()
110 assert(ov.begin() == a); in test()
111 assert(std::as_const(ov).begin() == a); in test()
112 assert(ov.end() == a+1); in test()
[all …]
H A Dbase.pass.cpp32 OwningView ov; in test() local
33 decltype(auto) b1 = static_cast<OwningView&>(ov).base(); in test()
34 decltype(auto) b2 = static_cast<OwningView&&>(ov).base(); in test()
35 decltype(auto) b3 = static_cast<const OwningView&>(ov).base(); in test()
36 decltype(auto) b4 = static_cast<const OwningView&&>(ov).base(); in test()
47 ASSERT_NOEXCEPT(static_cast<OwningView&>(ov).base()); in test()
48 ASSERT_NOEXCEPT(static_cast<OwningView&&>(ov).base()); in test()
49 ASSERT_NOEXCEPT(static_cast<const OwningView&>(ov).base()); in test()
50 ASSERT_NOEXCEPT(static_cast<const OwningView&&>(ov).base()); in test()
H A Dsize.pass.cpp72 auto ov = std::ranges::owning_view(std::ranges::subrange(a, a)); in test() local
73 assert(ov.size() == 0); in test()
74 assert(std::as_const(ov).size() == 0); in test()
79 auto ov = std::ranges::owning_view(std::ranges::subrange(a, a+1)); in test() local
80 assert(ov.size() == 1); in test()
81 assert(std::as_const(ov).size() == 1); in test()
86 auto ov = std::ranges::owning_view(std::move(a)); in test() local
87 assert(ov.size() == 2); in test()
88 assert(std::as_const(ov).size() == 2); in test()
H A Dempty.pass.cpp78 auto ov = std::ranges::owning_view(std::ranges::subrange(a, a)); in test() local
79 assert(ov.empty()); in test()
80 assert(std::as_const(ov).empty()); in test()
85 auto ov = std::ranges::owning_view(std::ranges::subrange(a, a+1)); in test() local
86 assert(!ov.empty()); in test()
87 assert(!std::as_const(ov).empty()); in test()
92 auto ov = std::ranges::owning_view(std::move(a)); in test() local
93 assert(!ov.empty()); in test()
94 assert(!std::as_const(ov).empty()); in test()
H A Ddata.pass.cpp58 auto ov = std::ranges::owning_view(std::ranges::subrange(a, a+1)); in test() local
59 assert(ov.data() == a); in test()
60 assert(std::as_const(ov).data() == a); in test()
65 auto ov = std::ranges::owning_view(std::move(a)); in test() local
66 assert(ov.data() != a.data()); // because it points into the copy in test()
67 assert(std::as_const(ov).data() != a.data()); in test()
H A Dconstructor.pass.cpp69 OwningView ov; in test() local
70 assert(ov.base().i == 42); in test()
73 OwningView ov = OwningView(DefaultConstructible(1)); in test() local
74 assert(ov.base().i == 1); in test()
92 OwningView ov = OwningView(NotDefaultConstructible(1)); in test() local
93 assert(ov.base().i == 1); in test()
113 OwningView ov = OwningView(std::move(m)); in test() local
114 assert(ov.base().i == 42); in test()
/llvm-project-15.0.7/llvm/test/CodeGen/SPARC/
H A Doverflow-intrinsic-optimizations.ll11 %mul.ov = extractvalue { i128, i1 } %mul4, 1
12 %mul.not.ov = xor i1 %mul.ov, true
14 %conv = zext i1 %mul.not.ov to i32
23 %mul.ov = extractvalue { i64, i1 } %mul4, 1
24 %mul.not.ov = xor i1 %mul.ov, true
26 %conv = zext i1 %mul.not.ov to i32
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dcgp-usubo.ll15 %ov = icmp ult i64 %x, %y
16 ret i1 %ov
28 %ov = icmp ugt i32 %y, %x
31 ret i1 %ov
50 ret i1 %ov
69 ret i1 %ov
87 ret i1 %ov
103 ret i1 %ov
120 ret i1 %ov
151 ret i1 %ov
[all …]
H A Duaddo.ll17 %ov = icmp eq i64 %x, -1
18 ret i1 %ov
30 %ov = icmp eq i64 %x, -1
33 ret i1 %ov
47 %ov = icmp ne i64 %x, 0
48 ret i1 %ov
60 %ov = icmp ne i64 %x, 0
63 ret i1 %ov
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dcgp-usubo.ll15 %ov = icmp ult i64 %x, %y
16 ret i1 %ov
31 ret i1 %ov
47 ret i1 %ov
63 ret i1 %ov
78 ret i1 %ov
91 ret i1 %ov
106 ret i1 %ov
121 ret i1 %ov
159 ret i1 %ov
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/
H A Ddiv-by-0-guard-before-umul_ov.ll14 %umul.ov = extractvalue { i4, i1 } %umul, 1
15 %and = and i1 %umul.ov, %cmp
27 %umul.ov = extractvalue { i4, i1 } %umul, 1
28 %and = and i1 %cmp, %umul.ov ; swapped
42 %umul.ov = extractvalue { i4, i1 } %umul, 1
43 %and = and i1 %umul.ov, %cmp
57 %umul.ov = extractvalue { i4, i1 } %umul, 1
58 %and = and i1 %umul.ov, %cmp
72 %umul.ov = extractvalue { i4, i1 } %umul, 1
73 %and = or i1 %umul.ov, %cmp ; not 'and'
[all …]
H A Ddiv-by-0-guard-before-smul_ov.ll14 %smul.ov = extractvalue { i4, i1 } %smul, 1
15 %and = and i1 %smul.ov, %cmp
27 %smul.ov = extractvalue { i4, i1 } %smul, 1
28 %and = and i1 %cmp, %smul.ov ; swapped
42 %smul.ov = extractvalue { i4, i1 } %smul, 1
43 %and = and i1 %smul.ov, %cmp
57 %smul.ov = extractvalue { i4, i1 } %smul, 1
58 %and = and i1 %smul.ov, %cmp
72 %smul.ov = extractvalue { i4, i1 } %smul, 1
73 %and = or i1 %smul.ov, %cmp ; not 'and'
[all …]
H A Ddiv-by-0-guard-before-smul_ov-not.ll15 %smul.ov = extractvalue { i4, i1 } %smul, 1
16 %phitmp = xor i1 %smul.ov, true
30 %smul.ov = extractvalue { i4, i1 } %smul, 1
31 %phitmp = xor i1 %smul.ov, true
47 %smul.ov = extractvalue { i4, i1 } %smul, 1
48 %phitmp = xor i1 %smul.ov, true
64 %smul.ov = extractvalue { i4, i1 } %smul, 1
65 %phitmp = xor i1 %smul.ov, true
81 %smul.ov = extractvalue { i4, i1 } %smul, 1
82 %phitmp = xor i1 %smul.ov, true
[all …]
H A Ddiv-by-0-guard-before-umul_ov-not.ll15 %umul.ov = extractvalue { i4, i1 } %umul, 1
16 %phitmp = xor i1 %umul.ov, true
30 %umul.ov = extractvalue { i4, i1 } %umul, 1
31 %phitmp = xor i1 %umul.ov, true
47 %umul.ov = extractvalue { i4, i1 } %umul, 1
48 %phitmp = xor i1 %umul.ov, true
64 %umul.ov = extractvalue { i4, i1 } %umul, 1
65 %phitmp = xor i1 %umul.ov, true
81 %umul.ov = extractvalue { i4, i1 } %umul, 1
82 %phitmp = xor i1 %umul.ov, true
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Ddiv-by-0-guard-before-smul_ov.ll14 %smul.ov = extractvalue { i4, i1 } %smul, 1
15 %and = select i1 %smul.ov, i1 %cmp, i1 false
28 %smul.ov = extractvalue { i4, i1 } %smul, 1
29 %and = select i1 %cmp, i1 %smul.ov, i1 false ; swapped
43 %smul.ov = extractvalue { i4, i1 } %smul, 1
44 %and = select i1 %smul.ov, i1 %cmp, i1 false
58 %smul.ov = extractvalue { i4, i1 } %smul, 1
59 %and = select i1 %smul.ov, i1 %cmp, i1 false
73 %smul.ov = extractvalue { i4, i1 } %smul, 1
88 %smul.ov = extractvalue { i4, i1 } %smul, 1
[all …]
H A Ddiv-by-0-guard-before-umul_ov.ll14 %umul.ov = extractvalue { i4, i1 } %umul, 1
15 %and = select i1 %umul.ov, i1 %cmp, i1 false
28 %umul.ov = extractvalue { i4, i1 } %umul, 1
29 %and = select i1 %cmp, i1 %umul.ov, i1 false ; swapped
43 %umul.ov = extractvalue { i4, i1 } %umul, 1
44 %and = select i1 %umul.ov, i1 %cmp, i1 false
58 %umul.ov = extractvalue { i4, i1 } %umul, 1
59 %and = select i1 %umul.ov, i1 %cmp, i1 false
73 %umul.ov = extractvalue { i4, i1 } %umul, 1
88 %umul.ov = extractvalue { i4, i1 } %umul, 1
[all …]
H A Ddiv-by-0-guard-before-smul_ov-not.ll16 %smul.ov = extractvalue { i4, i1 } %smul, 1
17 %phitmp = xor i1 %smul.ov, true
31 %smul.ov = extractvalue { i4, i1 } %smul, 1
32 %phitmp = xor i1 %smul.ov, true
48 %smul.ov = extractvalue { i4, i1 } %smul, 1
49 %phitmp = xor i1 %smul.ov, true
65 %smul.ov = extractvalue { i4, i1 } %smul, 1
66 %phitmp = xor i1 %smul.ov, true
82 %smul.ov = extractvalue { i4, i1 } %smul, 1
83 %phitmp = xor i1 %smul.ov, true
[all …]
H A Ddiv-by-0-guard-before-umul_ov-not.ll16 %umul.ov = extractvalue { i4, i1 } %umul, 1
17 %phitmp = xor i1 %umul.ov, true
31 %umul.ov = extractvalue { i4, i1 } %umul, 1
32 %phitmp = xor i1 %umul.ov, true
48 %umul.ov = extractvalue { i4, i1 } %umul, 1
49 %phitmp = xor i1 %umul.ov, true
65 %umul.ov = extractvalue { i4, i1 } %umul, 1
66 %phitmp = xor i1 %umul.ov, true
82 %umul.ov = extractvalue { i4, i1 } %umul, 1
83 %phitmp = xor i1 %umul.ov, true
[all …]
/llvm-project-15.0.7/clang/test/CXX/expr/expr.mptr.oper/
H A Dp5.cpp20 volatile X0 &ov, in test_object_cvquals() argument
52 …(ov.*pm)(); // expected-error-re{{call to pointer to member function of type 'void (){{( __attribu… in test_object_cvquals()
53 …(ov.*pmc)(); // expected-error-re{{call to pointer to member function of type 'void (){{( __attrib… in test_object_cvquals()
54 (ov.*pmv)(); in test_object_cvquals()
55 (ov.*pmcv)(); in test_object_cvquals()
/llvm-project-15.0.7/compiler-rt/test/builtins/Unit/
H A Dmulosi4_test.c15 int ov; in test__mulosi4() local
16 si_int x = __mulosi4(a, b, &ov); in test__mulosi4()
17 if (ov != expected_overflow) in test__mulosi4()
19 ov, expected_overflow); in test__mulosi4()
23 a, b, x, ov, expected, expected_overflow); in test__mulosi4()
H A Dmulodi4_test.c11 int ov; in test__mulodi4() local
12 di_int x = __mulodi4(a, b, &ov); in test__mulodi4()
13 if (ov != expected_overflow) in test__mulodi4()
15 ov, expected_overflow); in test__mulodi4()
19 a, b, x, ov, expected, expected_overflow); in test__mulodi4()
/llvm-project-15.0.7/llvm/test/Transforms/CodeGenPrepare/X86/
H A Doverflow-intrinsics.ll211 ret i1 %ov
228 ret i1 %ov
242 ret i1 %ov
256 ret i1 %ov
270 ret i1 %ov
286 ret i1 %ov
302 ret i1 %ov
318 ret i1 %ov
334 ret i1 %ov
349 ret i1 %ov
[all …]
/llvm-project-15.0.7/llvm/test/Analysis/ScalarEvolution/
H A Doverflow-intrinsics-trip-count.ll30 %ov = extractvalue { i16, i1 } %0, 1
56 %ov = extractvalue { i16, i1 } %0, 1
82 %ov = extractvalue { i16, i1 } %0, 1
108 %ov = extractvalue { i16, i1 } %0, 1
134 %ov = extractvalue { i16, i1 } %0, 1
160 %ov = extractvalue { i16, i1 } %0, 1
186 %ov = extractvalue { i16, i1 } %0, 1
212 %ov = extractvalue { i16, i1 } %0, 1
236 %ov = extractvalue { i16, i1 } %0, 1
237 %not = xor i1 true, %ov
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/CorrelatedValuePropagation/
H A Doverflow_predicate.ll30 %ov = extractvalue {i8, i1} %val_ov, 1
31 br i1 %ov, label %trap, label %no_overflow
62 %ov = extractvalue {i8, i1} %val_ov, 1
63 br i1 %ov, label %overflow, label %trap
94 %ov = extractvalue {i8, i1} %val_ov, 1
126 %ov = extractvalue {i8, i1} %val_ov, 1
127 br i1 %ov, label %overflow, label %trap
158 %ov = extractvalue {i8, i1} %val_ov, 1
190 %ov = extractvalue {i8, i1} %val_ov, 1
222 %ov = extractvalue {i8, i1} %val_ov, 1
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Ddeleted-function.cpp14 void ov(int) {} // expected-note {{candidate function}} in ov() function
15 void ov(double) = delete; // expected-note {{candidate function has been explicitly deleted}}
28 ov(1); in test()
29 ov(1.0); // expected-error {{call to deleted function 'ov'}} in test()

123