Home
last modified time | relevance | path

Searched refs:pos2 (Results 1 – 25 of 28) sorted by relevance

12

/llvm-project-15.0.7/llvm/test/Instrumentation/SanitizerCoverage/
H A Dchains.ll9 br label %pos2
13 pos2:
15 ; CHECK-LABEL: pos2:
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Ddiscriminate-mem-ops-missing-info.ll4 ; int sum(int* arr, int pos1, int pos2) {
5 ; return arr[pos1] + arr[pos2];
15 define i32 @sum(ptr %arr, i32 %pos1, i32 %pos2) !dbg !7 {
20 %idxprom1 = sext i32 %pos2 to i64
H A Ddiscriminate-mem-ops.ll4 ; int sum(int* arr, int pos1, int pos2) {
5 ; return arr[pos1] + arr[pos2];
14 define i32 @sum(ptr %arr, i32 %pos1, i32 %pos2) !dbg !7 {
19 %idxprom1 = sext i32 %pos2 to i64, !dbg !14
H A Ddiscriminate-mem-ops-skip-pfetch.ll5 ; int sum(int* arr, int pos1, int pos2) {
6 ; return arr[pos1] + arr[pos2];
16 define i32 @sum(ptr %arr, i32 %pos1, i32 %pos2) !dbg !7 {
21 %idxprom1 = sext i32 %pos2 to i64, !dbg !14
H A Dinsert-prefetch.ll5 ; int sum(int* arr, int pos1, int pos2) {
6 ; return arr[pos1] + arr[pos2];
19 define i32 @sum(ptr %arr, i32 %pos1, i32 %pos2) !dbg !35 !prof !37 {
24 %idxprom1 = sext i32 %pos2 to i64, !dbg !43
H A Dinsert-prefetch-inline.ll12 define dso_local i32 @sum(ptr nocapture readonly %arr, i32 %pos1, i32 %pos2) local_unnamed_addr #0 …
17 %idxprom1 = sext i32 %pos2 to i64, !dbg !15
/llvm-project-15.0.7/polly/lib/External/isl/include/isl/
H A Dmap.h503 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2);
505 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2);
507 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2);
509 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2);
511 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2);
513 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2);
515 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2);
517 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2);
519 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2);
H A Dlist.h57 unsigned pos2); \
H A Dset.h188 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2);
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DRangeMap.h150 auto pos2 = vec2.begin(); in GetOverlaps() local
152 while (pos1 != end1 && pos2 != end2) { in GetOverlaps()
153 Entry entry = pos1->Intersect(*pos2); in GetOverlaps()
156 if (pos1->GetRangeEnd() < pos2->GetRangeEnd()) in GetOverlaps()
159 ++pos2; in GetOverlaps()
/llvm-project-15.0.7/polly/lib/External/isl/
H A Disl_list_templ.c352 unsigned pos1, unsigned pos2) in LIST()
356 if (pos1 == pos2) in LIST()
359 el2 = FN(FN(LIST(EL),take),EL_BASE)(list, pos2); in LIST()
361 list = FN(FN(LIST(EL),restore),EL_BASE)(list, pos2, el1); in LIST()
H A Disl_map.c1080 int pos2; in isl_basic_set_eq_is_stride() local
1101 if (pos2 == -1) in isl_basic_set_eq_is_stride()
1104 n_div - pos2 - 1) != -1) in isl_basic_set_eq_is_stride()
13269 if (type1 == type2 && pos1 == pos2) in equator()
13280 isl_int_set_si(bmap->eq[i][pos2], 1); in equator()
13360 enum isl_dim_type type2, int pos2) in constraint_order_ge() argument
13372 if (type1 == type2 && pos1 == pos2) in constraint_order_ge()
13390 if (type1 == type2 && pos1 == pos2) in isl_basic_map_order_ge()
13408 if (type1 == type2 && pos1 == pos2) in isl_map_order_ge()
13440 if (type1 == type2 && pos1 == pos2) in greator()
[all …]
H A Disl_map_private.h590 int pos1, __isl_keep isl_basic_map *bmap2, int pos2,
594 __isl_keep isl_basic_map *bmap2, int pos2);
H A Disl_flow.c2979 isl_size pos1, pos2; in before_node() local
2983 pos2 = isl_schedule_node_get_ancestor_child_position(node2, in before_node()
2985 if (pos1 < 0 || pos2 < 0) { in before_node()
2989 before = pos1 < pos2; in before_node()
/llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/
H A Dsize_string_size_size.pass.cpp25 test(S s, typename S::size_type pos1, S str, typename S::size_type pos2, in test() argument
30 if (pos1 <= old_size && pos2 <= str.size()) in test()
32 s.insert(pos1, str, pos2, n); in test()
41 s.insert(pos1, str, pos2, n); in test()
46 assert(pos1 > old_size || pos2 > str.size()); in test()
55 test_npos(S s, typename S::size_type pos1, S str, typename S::size_type pos2, S expected) in test_npos() argument
59 if (pos1 <= old_size && pos2 <= str.size()) in test_npos()
61 s.insert(pos1, str, pos2); in test_npos()
70 s.insert(pos1, str, pos2); in test_npos()
75 assert(pos1 > old_size || pos2 > str.size()); in test_npos()
H A Dsize_T_size_size.pass.cpp25 test(S s, typename S::size_type pos1, SV sv, typename S::size_type pos2, in test() argument
31 if (pos1 <= old_size && pos2 <= sv.size()) in test()
33 s.insert(pos1, sv, pos2, n); in test()
42 s.insert(pos1, sv, pos2, n); in test()
47 assert(pos1 > old_size || pos2 > sv.size()); in test()
56 test_npos(S s, typename S::size_type pos1, SV sv, typename S::size_type pos2, S expected) in test_npos() argument
61 if (pos1 <= old_size && pos2 <= sv.size()) in test_npos()
63 s.insert(pos1, sv, pos2); in test_npos()
72 s.insert(pos1, sv, pos2); in test_npos()
77 assert(pos1 > old_size || pos2 > sv.size()); in test_npos()
/llvm-project-15.0.7/libcxx/test/std/strings/string.view/string.view.ops/
H A Dcompare.size_size_sv_size_size.pass.cpp27 std::basic_string_view<CharT> sv2, size_t pos2, size_t n2, in test1() argument
30 if (pos1 <= sv1.size() && pos2 <= sv2.size()) in test1()
31 assert (sign( sv1.compare(pos1, n1, sv2, pos2, n2)) == sign(expected)); in test1()
34 assert (sign( sv1.compare(pos1, n1, sv2, pos2, n2)) == sign(expected)); in test1()
35 assert(pos1 <= sv1.size() && pos2 <= sv2.size()); in test1()
38 assert(pos1 > sv1.size() || pos2 > sv2.size()); in test1()
46 const CharT *s2, size_t pos2, size_t n2, in test() argument
52 test1(sv1, pos1, n1, sv2, pos2, n2, expected); in test()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dcharacteristics.cpp1183 int pos2{FindFirstToDistinguishByPosition(args2, args1)}; in Distinguishable() local
1185 if (pos2 >= 0 && pos2 <= name2) { in Distinguishable()
/llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.ops/string_compare/
H A Dsize_size_T_size_size.pass.cpp37 SV sv, typename S::size_type pos2, typename S::size_type n2, int x) in test() argument
40 if (pos1 <= s.size() && pos2 <= sv.size()) in test()
41 assert(sign(s.compare(pos1, n1, sv, pos2, n2)) == sign(x)); in test()
47 TEST_IGNORE_NODISCARD s.compare(pos1, n1, sv, pos2, n2); in test()
52 assert(pos1 > s.size() || pos2 > sv.size()); in test()
61 SV sv, typename S::size_type pos2, int x) in test_npos() argument
64 if (pos1 <= s.size() && pos2 <= sv.size()) in test_npos()
65 assert(sign(s.compare(pos1, n1, sv, pos2)) == sign(x)); in test_npos()
71 TEST_IGNORE_NODISCARD s.compare(pos1, n1, sv, pos2); in test_npos()
76 assert(pos1 > s.size() || pos2 > sv.size()); in test_npos()
H A Dsize_size_string_size_size.pass.cpp35 const S& str, typename S::size_type pos2, typename S::size_type n2, int x) in test() argument
37 if (pos1 <= s.size() && pos2 <= str.size()) in test()
38 assert(sign(s.compare(pos1, n1, str, pos2, n2)) == sign(x)); in test()
44 TEST_IGNORE_NODISCARD s.compare(pos1, n1, str, pos2, n2); in test()
49 assert(pos1 > s.size() || pos2 > str.size()); in test()
58 const S& str, typename S::size_type pos2, int x) in test_npos() argument
60 if (pos1 <= s.size() && pos2 <= str.size()) in test_npos()
61 assert(sign(s.compare(pos1, n1, str, pos2)) == sign(x)); in test_npos()
67 TEST_IGNORE_NODISCARD s.compare(pos1, n1, str, pos2); in test_npos()
72 assert(pos1 > s.size() || pos2 > str.size()); in test_npos()
/llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/
H A Dsize_size_string_size_size.pass.cpp27 S str, typename S::size_type pos2, typename S::size_type n2, in test() argument
32 if (pos1 <= old_size && pos2 <= str.size()) in test()
34 s.replace(pos1, n1, str, pos2, n2); in test()
38 typename S::size_type rlen = std::min(n2, str.size() - pos2); in test()
46 s.replace(pos1, n1, str, pos2, n2); in test()
51 assert(pos1 > old_size || pos2 > str.size()); in test()
61 S str, typename S::size_type pos2, in test_npos() argument
66 if (pos1 <= old_size && pos2 <= str.size()) in test_npos()
68 s.replace(pos1, n1, str, pos2); in test_npos()
80 s.replace(pos1, n1, str, pos2); in test_npos()
[all …]
H A Dsize_size_T_size_size.pass.cpp28 SV sv, typename S::size_type pos2, typename S::size_type n2, in test() argument
40 if (pos1 <= old_size && pos2 <= sv.size()) in test()
42 s.replace(pos1, n1, sv, pos2, n2); in test()
46 SizeT rlen = std::min<SizeT>(n2, sv.size() - pos2); in test()
54 s.replace(pos1, n1, sv, pos2, n2); in test()
59 assert(pos1 > old_size || pos2 > sv.size()); in test()
69 SV sv, typename S::size_type pos2, in test_npos() argument
76 if (pos1 <= old_size && pos2 <= sv.size()) in test_npos()
78 s.replace(pos1, n1, sv, pos2); in test_npos()
90 s.replace(pos1, n1, sv, pos2); in test_npos()
[all …]
/llvm-project-15.0.7/libcxx/include/
H A Dstring221 … size_type pos2, size_type n); // constexpr since C++20
223 …basic_string& insert(size_type pos1, const T& t, size_type pos2, size_type n); // C++17, …
241 …size_type pos2, size_type n2=npos); // C++14, constexpr since C+…
244 … size_type pos2, size_type n); // C++17, constexpr since C++20
320 …size_type pos2, size_type n2=npos) const; // C++14, constexp…
323 …size_type pos2, size_type n2=npos) const; // C++17, constexpr si…
/llvm-project-15.0.7/llvm/docs/
H A DCommandLine.rst1276 "eating" positional arguments, "``pos1``" and "``pos2``", the string "``-pos1
1277 -foo -bar baz -pos2 -bork``" would cause the "``-foo -bar -baz``" strings to
1279 to the "``-pos2``" option.
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dllvm.amdgcn.exp.ll593 ; PREGFX11: exp pos2

12