Home
last modified time | relevance | path

Searched +full:r +full:- +full:- +full:p (Results 1 – 25 of 1069) sorted by relevance

12345678910>>...43

/llvm-project/llvm/test/Analysis/CostModel/PowerPC/
H A Dunal-vec-ldst.ll1 ; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output | FileCheck %s
2 target datalayout = "E-m:e-i64:64-n32:64"
3 target triple = "powerpc64-unknown-linux-gnu"
5 define <16 x i8> @test_l_v16i8(ptr %p) #0 {
7 %r = load <16 x i8>, ptr %p, align 1
8 ret <16 x i8> %r
10 ; CHECK-LABEL: test_l_v16i8
11 ; CHECK: cost of 2 for instruction: %r = load <16 x i8>, ptr %p, align 1
14 define <32 x i8> @test_l_v32i8(ptr %p) #0 {
16 %r = load <32 x i8>, ptr %p, align 1
[all …]
/llvm-project/polly/lib/External/isl/test_inputs/codegen/cloog/
H A Dswim.st1P, Q, R] -> { S40[i0, i1, i2] : M = 1 and i0 >= 2 and i0 <= P and i1 >= 1 and i1 <= Q and i2 >= 1 …
3 context: "[M, N, O, P, Q, R] -> { [] }"
6 - filter: "[M, N, O, P, Q, R] -> { S1[] }"
7 - filter: "[M, N, O, P, Q, R] -> { S2[] }"
8 - filter: "[M, N, O, P, Q, R] -> { S3[] }"
9 - filter: "[M, N, O, P, Q, R] -> { S4[] }"
10 - filter: "[M, N, O, P, Q, R] -> { S5[] }"
11 - filter: "[M, N, O, P, Q, R] -> { S6[] }"
12 - filter: "[M, N, O, P, Q, R] -> { S7[] }"
13 - filter: "[M, N, O, P, Q, R] -> { S8[] }"
[all …]
H A Dreservoir-mg-interp.st1P, Q, R, S, T, U] -> { S8[i0, i1, i2] : i0 >= 1 and i0 <= -1 + O and i1 >= 1 and i1 <= -1 + N and …
3 context: "[M, N, O, P, Q, R, S, T, U] -> { [] }"
6- filter: "[M, N, O, P, Q, R, S, T, U] -> { S10[i0, i1, i2]; S6[i0, i1, i2]; S3[i0, i1, i2]; S1[i0…
8P, Q, R, S, T, U] -> [{ S11[i0, i1, i2] -> [(i0)]; S1[i0, i1, i2] -> [(i0)]; S6[i0, i1, i2] -> [(i…
9 options: "[M, N, O, P, Q, R, S, T, U] -> { separate[i0] }"
11P, Q, R, S, T, U] -> [{ S11[i0, i1, i2] -> [(2i1)]; S1[i0, i1, i2] -> [(-3 + 2i1)]; S6[i0, i1, i2]…
12 options: "[M, N, O, P, Q, R, S, T, U] -> { separate[i0] }"
15 - filter: "[M, N, O, P, Q, R, S, T, U] -> { S10[i0, i1, i2] }"
17 schedule: "[M, N, O, P, Q, R, S, T, U] -> [{ S10[i0, i1, i2] -> [(i2)] }]"
18 options: "[M, N, O, P, Q, R, S, T, U] -> { separate[i0] }"
[all …]
/llvm-project/clang/test/SemaCXX/
H A Dwarn-unsafe-buffer-usage-multi-decl-warnings.cpp1 // RUN: %clang_cc1 -std=c++20 -Wunsafe-buffer-usage -fsafe-buffer-usage-suggestions -verify %s
9 …int* p = new int[10]; // expected-warning{{'p' is an unsafe pointer used for buffer access}} expec… in local_assign_both_span() local
10 tmp = p[4]; // expected-note{{used in buffer access here}} in local_assign_both_span()
12-warning{{'q' is an unsafe pointer used for buffer access}} expected-note{{change type of 'q' to '… in local_assign_both_span()
13 tmp = q[4]; // expected-note{{used in buffer access here}} in local_assign_both_span()
15 q = p; in local_assign_both_span()
20 int* p = new int[10]; in local_assign_rhs_span() local
21 int* q = new int[10]; // expected-warning{{'q' is an unsafe pointer used for buffer access}} in local_assign_rhs_span()
22 tmp = q[4]; // expected-note{{used in buffer access here}} in local_assign_rhs_span()
23 p = q; // FIXME: we do not fix `p = q` here as the `.data()` fix-it is not generally correct in local_assign_rhs_span()
[all …]
H A Dwarn-unsafe-buffer-usage-multi-decl-uuc.cpp1 // RUN: %clang_cc1 -std=c++20 -Wunsafe-buffer-usage -fsafe-buffer-usage-suggestions -verify %s
5 int *r = new int[7]; in foo1a() local
6 int *p = new int[4]; // expected-warning{{'p' is an unsafe pointer used for buffer access}} in foo1a() local
7 p = r; in foo1a()
8 int tmp = p[9]; // expected-note{{used in buffer access here}} in foo1a()
10 …q = r; // FIXME: we do not fix `q = r` here as the `.data()` fix-it is not generally cor… in foo1a()
14 int *r = new int[7]; in uuc_if_body() local
15p = new int[4]; // expected-warning{{'p' is an unsafe pointer used for buffer access}} // expecte… in uuc_if_body() local
17 p = r; in uuc_if_body()
18 p[5] = 4; // expected-note{{used in buffer access here}} in uuc_if_body()
[all …]
/llvm-project/llvm/test/Transforms/InstCombine/
H A Dload-bitcast-vec.ll2 ; RUN: opt -passes=instcombine -S < %s | FileCheck %s
4 define float @matching_scalar(ptr dereferenceable(16) %p) {
5 ; CHECK-LABEL: @matching_scalar(
6 ; CHECK-NEXT: [[R:%.*]] = load float, ptr [[P:%.*]], align 16
7 ; CHECK-NEXT: ret float [[R]]
9 %r = load float, ptr %p, align 16
10 ret float %r
13 define i32 @nonmatching_scalar(ptr dereferenceable(16) %p) {
14 ; CHECK-LABEL: @nonmatching_scalar(
15 ; CHECK-NEXT: [[R:%.*]] = load i32, ptr [[P:%.*]], align 16
[all …]
H A Dload-cmp.ll2 ; RUN: opt -passes=instcombine -S -data-layout="p:32:32:32-p1:16:16:16-p2:128:128:128:32-n8:16:32:64" < %s | FileCheck %s
14 [double -10.0, double 1.0, double 4.0, double 2.0, double -20.
[all...]
/llvm-project/llvm/test/Transforms/RewriteStatepointsForGC/
H A DmeetBDVState-hangs.ll1 ; RUN: opt -S -passes=rewrite-statepoints-for-gc < %s | FileCheck %s
5 target triple = "x86_64-unknown-linux-gnu"
10 …space(1) @test(i1 %c, i1 %c1, i1 %c2, i1 %c3, i1 %c4, i1 %c5, i1 %c.exit) gc "statepoint-example" {
12 br i1 %c, label %ph.L, label %ph.R
14 %ph.L.p.b = call noalias nonnull ptr addrspace(1) @foo()
15 %ph.L.p = getelementptr i8, ptr addrspace(1) %ph.L.p.b, i64 8
17 ph.R:
18 %ph.R.p = call noalias nonnull ptr addrspace(1) @foo()
21 %ph.M.p = phi ptr addrspace(1) [ %ph.L.p, %ph.L ], [ %ph.R.p, %ph.R ]
25 %header.p = phi ptr addrspace(1) [ %ph.M.p, %ph.M ], [ %backedge.p, %backedge]
[all …]
/llvm-project/llvm/test/Transforms/VectorCombine/X86/
H A Dload.ll2 ; RUN: opt < %s -passes=vector-combine -S -mtriple=x86_64-- -mattr=sse2 | FileCheck %s --check-prefixe
[all...]
H A Dload-widening.ll2 ; RUN: opt < %s -passes=vector-combine -S -mtriple=x86_64-- -mattr=sse2 --data-layou
[all...]
H A Dload-inseltpoison.ll2 ; RUN: opt < %s -passes=vector-combine -S -mtriple=x86_64-- -mattr=sse2 | FileCheck %s
3 ; RUN: opt < %s -passes=vector-combine -
[all...]
/llvm-project/llvm/utils/UpdateTestChecks/
H A Dasm.py19 # The set of per-arch regular expressions define several groups.
25 r'^_?(?P<func>[^:]+):[ \t]*#+[ \t]*(@"?(?P=func)"?| -- Begin function (?P=func))\n(?:\s*\.?Lfunc_begin[^:\n]*:\n)?'
26 r"(?:\.L(?P=func)\$local:\n)?" # drop .L<func>$local:
27 r"(
[all...]
/llvm-project/llvm/test/Transforms/SLPVectorizer/X86/
H A Dload-bitcast-vec.ll2 ; RUN: opt < %s -passes=slp-vectorizer -S -mtriple=x86_64-- -mattr=+avx | FileCheck %s
3 ; RUN: opt < %s -passes=slp-vectorizer -S -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s
5 define float @matching_scalar(ptr dereferenceable(16) %p) {
6 ; CHECK-LABEL: @matching_scalar(
7 ; CHECK-NEXT: [[R:%.*]] = load float, ptr [[P:%.*]], align 16
8 ; CHECK-NEXT: ret float [[R]]
10 %r = load float, ptr %p, align 16
11 ret float %r
14 define i32 @nonmatching_scalar(ptr dereferenceable(16) %p) {
15 ; CHECK-LABEL: @nonmatching_scalar(
[all …]
/llvm-project/clang/unittests/Format/
H A DFormatTestRawStrings.cpp1 //===- unittest/Format/FormatTestRawStrings.cpp - Formatting unit tests ---===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
18 #define DEBUG_TYPE "format-test"
30 LLVM_DEBUG(llvm::errs() << "---\n"); in format()
114 expect_eq(R"test(int *i = R"cpp(int *p = nullptr;)cpp")test", in TEST_F()
115 format(R"test(int * i = R"cpp(int * p = nullptr;)cpp")test", in TEST_F()
119 expect_eq(R"test(int *i = R"cpp(int* p = nullptr;)cpp")test", in TEST_F()
120 format(R"test(int * i = R"cpp(int * p = nullptr;)cpp")test", in TEST_F()
124 expect_eq(R"test(int* i = R"cpp(int *p = nullptr;)cpp")test", in TEST_F()
[all …]
/llvm-project/llvm/test/CodeGen/ARM/
H A Dfp16-fullfp16.ll2 ; RUN: llc -mtriple armv8a-none-none-eabihf -mattr=fullfp16 -asm-verbose=false < %s | FileCheck %s
4 define void @test_fadd(ptr %p, ptr %q) {
5 ; CHECK-LABEL: test_fadd:
7 ; CHECK-NEXT: vldr.16 s2, [r0]
8 ; CHECK-NEXT: vadd.f16 s0, s2, s0
9 ; CHECK-NEXT: vstr.16 s0, [r0]
10 ; CHECK-NEXT: bx lr
11 %a = load half, ptr %p, align 2
13 %r = fadd half %a, %b
14 store half %r, ptr %p
[all …]
H A Dfp16-promote.ll1-asm-verbose=false < %s -mattr=+vfp3,+fp16 | FileCheck -allow-deprecated-dag-overlap %s -check-pre…
2-asm-verbose=false < %s | FileCheck -allow-deprecated-dag-overlap %s -check-prefix=CHECK-LIBCALL -…
3-asm-verbose=false < %s -mattr=-fpregs | FileCheck -allow-deprecated-dag-overlap %s --check-prefix…
5 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v…
6 target triple = "armv7---eabihf"
8 ; CHECK-ALL-LABEL: test_fadd:
9 ; CHECK-FP16: vcvtb.f32.f16
10 ; CHECK-FP16: vcvtb.f32.f16
11 ; CHECK-LIBCALL: bl __aeabi_h2f
12 ; CHECK-LIBCALL: bl __aeabi_h2f
[all …]
/llvm-project/llvm/test/CodeGen/Hexagon/
H A Dmemops.ll1 ; RUN: llc -mtriple=hexagon -mcpu=hexagonv5 < %s | FileCheck %s
4 define void @memop_unsigned_char_add5(ptr nocapture %p) nounwind {
6 ; CHECK-LABEL: memop_unsigned_char_add5:
7 ; CHECK: memb(r{{[0-9]+}}+#0) += #5
8 %0 = load i8, ptr %p, align 1
12 store i8 %conv1, ptr %p, align 1
16 define void @memop_unsigned_char_add(ptr nocapture %p, i8 zeroext %x) nounwind {
18 ; CHECK-LABE
[all...]
/llvm-project/llvm/test/Transforms/InstSimplify/
H A Dptrmask.ll1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 2
2 ; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
12 define ptr @ptrmask_simplify_poison_mask(ptr %p) {
13 ; CHECK-LABEL: define ptr @ptrmask_simplify_poison_mask
14 ; CHECK-SAME: (ptr [[P:%.*]]) {
15 ; CHECK-NEXT: ret ptr poison
17 %r
[all...]
/llvm-project/libcxx/test/std/containers/unord/unord.multiset/
H A Dequal_range_non_const.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
28 typedef int P; in main() typedef
29 P a[] = in main()
31 P(10), in main()
32 P(20), in main()
33 P(30), in main()
34 P(40), in main()
35 P(50), in main()
[all …]
H A Dequal_range_const.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
28 typedef int P; in main() typedef
29 P a[] = in main()
31 P(10), in main()
32 P(20), in main()
33 P(30), in main()
34 P(40), in main()
35 P(50), in main()
[all …]
/llvm-project/llvm/test/CodeGen/X86/
H A Dvector-intrinsics.ll2 ; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
4 declare <4 x double> @llvm.sin.v4f64(<4 x double> %p)
5 declare <4 x double> @llvm.cos.v4f64(<4 x double> %p)
6 declare <4 x double> @llvm.pow.v4f64(<4 x double> %p, <4 x double> %q)
7 declare <4 x double> @llvm.powi.v4f64.i32(<4 x double> %p, i32)
9 define <4 x double> @foo(<4 x double> %p)
10 ; CHECK-LABEL: foo:
12 ; CHECK-NEXT: subq $56, %rsp
13 ; CHECK-NEXT: .cfi_def_cfa_offset 64
14 ; CHECK-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
[all …]
H A Davx512-intel-ocl.ll2 ; RUN: llc < %s -mtriple=i686-apple-darwin -mcpu=knl | FileCheck %s -check-prefix=X32
3 ; RUN: llc < %s -mtriple=i686-apple-darwin -mcp
[all...]
/llvm-project/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
H A Dinsert_hint_rvalue.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
17 // template <class P,
18 // class = typename enable_if<is_convertible<P, value_type>::value>::type>
19 // iterator insert(const_iterator p, P&& x);
32 typedef C::iterator R; in main() typedef
33 typedef std::pair<double, short> P; in main() typedef
36 R r = c.insert(e, P(3.5, static_cast<short>(3))); in main() local
38 assert(r->first == 3.5); in main()
[all …]
H A Dinsert_rvalue.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
17 // template <class P,
18 // class = typename enable_if<is_convertible<P, value_type>::value>::type>
19 // iterator insert(P&& x);
32 typedef C::iterator R; in main() typedef
33 typedef std::pair<double, short> P; in main() typedef
35 R r = c.insert(P(3.5, static_cast<short>(3))); in main() local
37 assert(r->first == 3.5); in main()
[all …]
/llvm-project/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
H A Dinsert_hint_rvalue.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
17 // template <class P,
18 // class = typename enable_if<is_convertible<P, value_type>::value>::type>
19 // iterator insert(const_iterator p, P&& x);
32 typedef C::iterator R; in main() typedef
33 typedef std::pair<double, short> P; in main() typedef
36 R r = c.insert(e, P(3.5, static_cast<short>(3))); in main() local
38 assert(r->first == 3.5); in main()
[all …]

12345678910>>...43