Home
last modified time | relevance | path

Searched refs:amdgpu (Results 1 – 25 of 738) sorted by relevance

12345678910>>...30

/external/llvm-project/clang/test/CodeGenOpenCL/
Damdgpu-attrs.cl152 // X86-NOT: "amdgpu-flat-work-group-size"
153 // X86-NOT: "amdgpu-waves-per-eu"
154 // X86-NOT: "amdgpu-num-vgpr"
155 // X86-NOT: "amdgpu-num-sgpr"
156 // X86-NOT: "amdgpu-implicitarg-num-bytes"
157 // NONAMDHSA-NOT: "amdgpu-implicitarg-num-bytes"
159 // CHECK-NOT: "amdgpu-flat-work-group-size"="0,0"
160 // CHECK-NOT: "amdgpu-waves-per-eu"="0"
161 // CHECK-NOT: "amdgpu-waves-per-eu"="0,0"
162 // CHECK-NOT: "amdgpu-num-sgpr"="0"
[all …]
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dattr-unparseable.ll3 ; CHECK: can't parse integer attribute amdgpu-num-sgpr
8 attributes #0 = {"amdgpu-num-sgpr"}
10 ; CHECK: can't parse integer attribute amdgpu-num-sgpr
15 attributes #1 = {"amdgpu-num-sgpr"="k"}
17 ; CHECK: can't parse integer attribute amdgpu-num-sgpr
22 attributes #2 = {"amdgpu-num-sgpr"="1,2"}
24 ; CHECK: can't parse first integer attribute amdgpu-flat-work-group-size
29 attributes #3 = {"amdgpu-flat-work-group-size"}
31 ; CHECK: can't parse first integer attribute amdgpu-flat-work-group-size
36 attributes #4 = {"amdgpu-flat-work-group-size"="k"}
[all …]
Dpropagate-attributes-flat-work-group-size.ll1 ; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -amdgpu-propagate-attributes-late %s | FileCheck %s
41 attributes #0 = { noinline "amdgpu-flat-work-group-size"="1,1024" }
42 attributes #1 = { noinline "amdgpu-flat-work-group-size"="1,256" }
43 attributes #2 = { noinline "amdgpu-flat-work-group-size"="64,64" }
46 ; CHECK: attributes #0 = { noinline "amdgpu-flat-work-group-size"="1,1024"
47 ; CHECK-NEXT: attributes #1 = { noinline "amdgpu-flat-work-group-size"="1,256"
48 ; CHECK-NEXT: attributes #2 = { noinline "amdgpu-flat-work-group-size"="1,256"
Dmachine-cse-commute-target-flags.mir70 …; CHECK: [[S_ADD_U32_:%[0-9]+]]:sreg_32 = S_ADD_U32 [[COPY]].sub0, target-flags(amdgpu-rel32-lo) @…
73 %1:sreg_32 = S_ADD_U32 %0.sub0, target-flags(amdgpu-rel32-lo) @func, implicit-def dead $scc
74 %2:sreg_32 = S_ADD_U32 target-flags(amdgpu-rel32-lo) @func, %0.sub0, implicit-def dead $scc
89 …; CHECK: [[S_ADD_U32_:%[0-9]+]]:sreg_32 = S_ADD_U32 [[COPY]].sub0, target-flags(amdgpu-rel32-lo) @…
92 %1:sreg_32 = S_ADD_U32 %0.sub0, target-flags(amdgpu-rel32-lo) @gv + 4, implicit-def dead $scc
93 %2:sreg_32 = S_ADD_U32 target-flags(amdgpu-rel32-lo) @gv + 4, %0.sub0, implicit-def dead $scc
108 …; CHECK: [[S_ADD_U32_:%[0-9]+]]:sreg_32 = S_ADD_U32 [[COPY]].sub0, target-flags(amdgpu-rel32-lo) @…
109 …; CHECK: [[S_ADD_U32_1:%[0-9]+]]:sreg_32 = S_ADD_U32 target-flags(amdgpu-rel32-lo) @gv + 8, [[COPY…
112 %1:sreg_32 = S_ADD_U32 %0.sub0, target-flags(amdgpu-rel32-lo) @gv + 4, implicit-def dead $scc
113 %2:sreg_32 = S_ADD_U32 target-flags(amdgpu-rel32-lo) @gv + 8, %0.sub0, implicit-def dead $scc
Dannotate-kernel-features.ll1 ; RUN: opt -S -mtriple=amdgcn-unknown-unknown -amdgpu-annotate-kernel-features < %s | FileCheck -ch…
179 ; HSA: attributes #2 = { nounwind "amdgpu-work-group-id-y" }
180 ; HSA: attributes #3 = { nounwind "amdgpu-work-group-id-z" }
181 ; HSA: attributes #4 = { nounwind "amdgpu-work-group-id-y" "amdgpu-work-group-id-z" }
182 ; HSA: attributes #5 = { nounwind "amdgpu-work-item-id-y" }
183 ; HSA: attributes #6 = { nounwind "amdgpu-work-item-id-z" }
184 ; HSA: attributes #7 = { nounwind "amdgpu-work-group-id-y" "amdgpu-work-item-id-y" }
185 ; HSA: attributes #8 = { nounwind "amdgpu-work-item-id-y" "amdgpu-work-item-id-z" }
186 ; HSA: attributes #9 = { nounwind "amdgpu-work-group-id-y" "amdgpu-work-group-id-z" "amdgpu-work-it…
187 ; HSA: attributes #10 = { nounwind "amdgpu-dispatch-ptr" }
Dannotate-kernel-features-hsa-call.ll1 ; RUN: opt -S -mtriple=amdgcn-unknown-amdhsa -amdgpu-annotate-kernel-features %s | FileCheck -check…
318 ; HSA: attributes #1 = { nounwind "amdgpu-work-item-id-x" "target-cpu"="fiji" "uniform-work-group-s…
319 ; HSA: attributes #2 = { nounwind "amdgpu-work-item-id-y" "target-cpu"="fiji" "uniform-work-group-s…
320 ; HSA: attributes #3 = { nounwind "amdgpu-work-item-id-z" "target-cpu"="fiji" "uniform-work-group-s…
321 ; HSA: attributes #4 = { nounwind "amdgpu-work-group-id-x" "target-cpu"="fiji" "uniform-work-group-…
322 ; HSA: attributes #5 = { nounwind "amdgpu-work-group-id-y" "target-cpu"="fiji" "uniform-work-group-…
323 ; HSA: attributes #6 = { nounwind "amdgpu-work-group-id-z" "target-cpu"="fiji" "uniform-work-group-…
324 ; HSA: attributes #7 = { nounwind "amdgpu-dispatch-ptr" "target-cpu"="fiji" "uniform-work-group-siz…
325 ; HSA: attributes #8 = { nounwind "amdgpu-queue-ptr" "target-cpu"="fiji" "uniform-work-group-size"=…
326 ; HSA: attributes #9 = { nounwind "amdgpu-dispatch-id" "target-cpu"="fiji" "uniform-work-group-size…
[all …]
Dattr-amdgpu-waves-per-eu.ll13 attributes #0 = {"amdgpu-waves-per-eu"="1,1"}
25 attributes #1 = {"amdgpu-waves-per-eu"="5,5"}
37 attributes #2 = {"amdgpu-waves-per-eu"="10,10"}
49 attributes #3 = {"amdgpu-waves-per-eu"="1"}
61 attributes #4 = {"amdgpu-waves-per-eu"="5"}
73 attributes #5 = {"amdgpu-waves-per-eu"="10"}
87 attributes #6 = {"amdgpu-waves-per-eu"="1,5"}
99 attributes #7 = {"amdgpu-waves-per-eu"="1,10"}
113 attributes #8 = {"amdgpu-waves-per-eu"="5,10"}
190 attributes #9 = {"amdgpu-waves-per-eu"="10,10"}
[all …]
Dvirtregrewrite-undef-identity-copy.mir33 …ble $sgpr6_sgpr7 = SI_PC_ADD_REL_OFFSET target-flags(amdgpu-rel32-lo) @foo + 4, target-flags(amdgp…
38 …ble $sgpr6_sgpr7 = SI_PC_ADD_REL_OFFSET target-flags(amdgpu-rel32-lo) @bar + 4, target-flags(amdgp…
50 …%2:sreg_64 = SI_PC_ADD_REL_OFFSET target-flags(amdgpu-rel32-lo) @foo + 4, target-flags(amdgpu-rel3…
55 …%3:sreg_64 = SI_PC_ADD_REL_OFFSET target-flags(amdgpu-rel32-lo) @bar + 4, target-flags(amdgpu-rel3…
Dannotate-kernel-features-hsa.ll1 ; RUN: opt -mtriple=amdgcn-unknown-amdhsa -S -amdgpu-annotate-kernel-features < %s | FileCheck -che…
285 ; HSA: attributes #2 = { nounwind "amdgpu-work-group-id-y" }
286 ; HSA: attributes #3 = { nounwind "amdgpu-work-group-id-z" }
287 ; HSA: attributes #4 = { nounwind "amdgpu-work-group-id-y" "amdgpu-work-group-id-z" }
288 ; HSA: attributes #5 = { nounwind "amdgpu-work-item-id-y" }
289 ; HSA: attributes #6 = { nounwind "amdgpu-work-item-id-z" }
290 ; HSA: attributes #7 = { nounwind "amdgpu-work-group-id-y" "amdgpu-work-item-id-y" }
291 ; HSA: attributes #8 = { nounwind "amdgpu-work-item-id-y" "amdgpu-work-item-id-z" }
292 ; HSA: attributes #9 = { nounwind "amdgpu-work-group-id-y" "amdgpu-work-group-id-z" "amdgpu-work-it…
293 ; HSA: attributes #10 = { nounwind "amdgpu-dispatch-ptr" }
[all …]
Dload-weird-sizes.ll1 ; RUN: llc -amdgpu-scalarize-global-loads=false -march=amdgcn -verify-machineinstrs < %s | FileCh…
2 ; RUN: llc -amdgpu-scalarize-global-loads=false -mtriple=amdgcn-amdhsa -mcpu=kaveri -verify-machi…
3 ; RUN: llc -amdgpu-scalarize-global-loads=false -march=amdgcn -mcpu=tonga -mattr=-flat-for-global…
4 ; RUN: llc -amdgpu-scalarize-global-loads=false -march=r600 -mcpu=redwood < %s | FileCheck -check…
5 ; RUN: llc -amdgpu-scalarize-global-loads=false -march=r600 -mcpu=cayman < %s | FileCheck -check-…
Dbranch-relaxation-debug-info.mir1 # RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -start-before=branch-relaxation -amdgpu-s-branch…
21 …4)* %arg.kernarg.offset to float addrspace(1)* addrspace(4)*, !amdgpu.uniform !2, !amdgpu.noclobbe…
24 …i8 addrspace(4)* %arg1.kernarg.offset to float addrspace(4)*, !amdgpu.uniform !2, !amdgpu.noclobbe…
32 br i1 %tmp3.inv, label %bb4, label %bb8, !amdgpu.uniform !2
37 br i1 %tmp6, label %bb7, label %Flow, !amdgpu.uniform !2
40 br label %Flow, !amdgpu.uniform !2
43 br label %bb8, !amdgpu.uniform !2
Dlower-mem-intrinsics-threshold.ll2 ; RUN: opt -S -amdgpu-lower-intrinsics -amdgpu-mem-intrinsic-expand-size=8 %s | FileCheck -check-pr…
3 ; RUN: opt -S -amdgpu-lower-intrinsics -amdgpu-mem-intrinsic-expand-size=4 %s | FileCheck -check-pr…
4 ; RUN: opt -S -amdgpu-lower-intrinsics -amdgpu-mem-intrinsic-expand-size=0 %s | FileCheck -check-pr…
5 ; RUN: opt -S -amdgpu-lower-intrinsics -amdgpu-mem-intrinsic-expand-size=-1 %s | FileCheck -check-p…
7 ; Test the -amdgpu-mem-intrinsic-expand-size flag works.
/external/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/
Dtarget-flags.mir25 …[0-9]+]]:sreg_64 = SI_PC_ADD_REL_OFFSET target-flags(amdgpu-rel32-lo) @foo + 4, target-flags(amdgp…
26 ; CHECK: [[S_MOV_B64_:%[0-9]+]]:sreg_64 = S_MOV_B64 target-flags(amdgpu-gotprel) @foo
28 …%0 = SI_PC_ADD_REL_OFFSET target-flags(amdgpu-rel32-lo) @foo + 4, target-flags(amdgpu-rel32-hi) @f…
29 %1 = S_MOV_B64 target-flags(amdgpu-gotprel) @foo
30 %2:sreg_32 = S_MOV_B32 target-flags(amdgpu-abs32-lo) @foo
31 %3:sreg_32 = S_MOV_B32 target-flags(amdgpu-abs32-hi) @foo
/external/mesa3d/src/amd/vulkan/
DMakefile.sources23 winsys/amdgpu/radv_amdgpu_bo.c \
24 winsys/amdgpu/radv_amdgpu_bo.h \
25 winsys/amdgpu/radv_amdgpu_cs.c \
26 winsys/amdgpu/radv_amdgpu_cs.h \
27 winsys/amdgpu/radv_amdgpu_surface.c \
28 winsys/amdgpu/radv_amdgpu_surface.h \
29 winsys/amdgpu/radv_amdgpu_winsys.c \
30 winsys/amdgpu/radv_amdgpu_winsys.h \
31 winsys/amdgpu/radv_amdgpu_winsys_public.h
Dmeson.build53 'winsys/amdgpu/radv_amdgpu_bo.c',
54 'winsys/amdgpu/radv_amdgpu_bo.h',
55 'winsys/amdgpu/radv_amdgpu_cs.c',
56 'winsys/amdgpu/radv_amdgpu_cs.h',
57 'winsys/amdgpu/radv_amdgpu_surface.c',
58 'winsys/amdgpu/radv_amdgpu_surface.h',
59 'winsys/amdgpu/radv_amdgpu_winsys.c',
60 'winsys/amdgpu/radv_amdgpu_winsys.h',
61 'winsys/amdgpu/radv_amdgpu_winsys_public.h',
/external/llvm-project/clang/test/Driver/
Dhip-toolchain-mllvm.hip3 // REQUIRES: amdgpu-registered-target
7 // RUN: -mllvm -amdgpu-function-calls=0 \
12 // RUN: -fgpu-rdc -mllvm -amdgpu-function-calls=0 \
18 // CHECK-SAME: {{.*}} "-mllvm" "-amdgpu-function-calls=0" {{.*}}
22 // RDC: [[LLD:".*lld.*"]] {{.*}} "-plugin-opt=-amdgpu-function-calls=0"
27 // CHECK-SAME: {{.*}} "-mllvm" "-amdgpu-function-calls=0" {{.*}}
31 // RDC: [[LLD:".*lld.*"]] {{.*}} "-plugin-opt=-amdgpu-function-calls=0"
/external/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/
Dglobal-value.ll21 …_64(p4) = SI_PC_ADD_REL_OFFSET target-flags(amdgpu-gotprel32-lo) @external_constant + 4, target-fl…
36 …g_64(p4) = SI_PC_ADD_REL_OFFSET target-flags(amdgpu-gotprel32-lo) @external_global + 4, target-fla…
51 …eg_64(p4) = SI_PC_ADD_REL_OFFSET target-flags(amdgpu-gotprel32-lo) @external_other + 4, target-fla…
66 …eg_64(p4) = SI_PC_ADD_REL_OFFSET target-flags(amdgpu-rel32-lo) @internal_constant + 4, target-flag…
80 …reg_64(p1) = SI_PC_ADD_REL_OFFSET target-flags(amdgpu-rel32-lo) @internal_global + 4, target-flags…
94 …eg_64(p999) = SI_PC_ADD_REL_OFFSET target-flags(amdgpu-rel32-lo) @internal_other + 4, target-flags…
108 …64(p4) = SI_PC_ADD_REL_OFFSET target-flags(amdgpu-gotprel32-lo) @external_constant32 + 4, target-f…
122 …g_64(p4) = SI_PC_ADD_REL_OFFSET target-flags(amdgpu-rel32-lo) @internal_constant32 + 4, target-fla…
/external/llvm-project/llvm/test/Transforms/LoopUnroll/AMDGPU/
Dunroll-threshold.ll3 ; Check the handling of amdgpu.loop.unroll.threshold metadata which can be used to
5 ; default, and any value specified by the amdgpu-unroll-threshold function attribute
35 ; unroll threshold is increased by use of the amdgpu.loop.unroll.threshold metadata
58 ; unroll threshold specified using the amdgpu-unroll-threshold function attribute
59 ; is overridden by a low threshold using the amdgpu.loop.unroll.threshold metadata
83 ; unroll threshold specified using the amdgpu-unroll-threshold function attribute
84 ; is overridden by a high threshold using the amdgpu.loop.unroll.threshold metadata
107 attributes #0 = { "amdgpu-unroll-threshold"="1000" }
108 attributes #1 = { "amdgpu-unroll-threshold"="100" }
111 !2 = !{!"amdgpu.loop.unroll.threshold", i32 1000}
[all …]
/external/llvm/test/CodeGen/AMDGPU/
Dannotate-kernel-features.ll1 ; RUN: opt -S -mtriple=amdgcn-unknown-unknown -amdgpu-annotate-kernel-features < %s | FileCheck -ch…
179 ; HSA: attributes #2 = { nounwind "amdgpu-work-group-id-y" }
180 ; HSA: attributes #3 = { nounwind "amdgpu-work-group-id-z" }
181 ; HSA: attributes #4 = { nounwind "amdgpu-work-group-id-y" "amdgpu-work-group-id-z" }
182 ; HSA: attributes #5 = { nounwind "amdgpu-work-item-id-y" }
183 ; HSA: attributes #6 = { nounwind "amdgpu-work-item-id-z" }
184 ; HSA: attributes #7 = { nounwind "amdgpu-work-group-id-y" "amdgpu-work-item-id-y" }
185 ; HSA: attributes #8 = { nounwind "amdgpu-work-item-id-y" "amdgpu-work-item-id-z" }
186 ; HSA: attributes #9 = { nounwind "amdgpu-work-group-id-y" "amdgpu-work-group-id-z" "amdgpu-work-it…
187 ; HSA: attributes #10 = { nounwind "amdgpu-dispatch-ptr" }
Dannotate-kernel-features-hsa.ll1 ; RUN: opt -mtriple=amdgcn-unknown-amdhsa -S -amdgpu-annotate-kernel-features < %s | FileCheck -che…
229 ; HSA: attributes #2 = { nounwind "amdgpu-work-group-id-y" }
230 ; HSA: attributes #3 = { nounwind "amdgpu-work-group-id-z" }
231 ; HSA: attributes #4 = { nounwind "amdgpu-work-group-id-y" "amdgpu-work-group-id-z" }
232 ; HSA: attributes #5 = { nounwind "amdgpu-work-item-id-y" }
233 ; HSA: attributes #6 = { nounwind "amdgpu-work-item-id-z" }
234 ; HSA: attributes #7 = { nounwind "amdgpu-work-group-id-y" "amdgpu-work-item-id-y" }
235 ; HSA: attributes #8 = { nounwind "amdgpu-work-item-id-y" "amdgpu-work-item-id-z" }
236 ; HSA: attributes #9 = { nounwind "amdgpu-work-group-id-y" "amdgpu-work-group-id-z" "amdgpu-work-it…
237 ; HSA: attributes #10 = { nounwind "amdgpu-dispatch-ptr" }
[all …]
/external/llvm-project/openmp/libomptarget/plugins/amdgpu/
DCMakeLists.txt38 libomptarget_say("Building amdgpu offloading plugin")
56 add_library(omptarget.rtl.amdgpu SHARED
69 install(TARGETS omptarget.rtl.amdgpu LIBRARY DESTINATION "lib${OPENMP_LIBDIR_SUFFIX}")
71 set_property(TARGET omptarget.rtl.amdgpu PROPERTY INSTALL_RPATH "$ORIGIN")
73 omptarget.rtl.amdgpu
81 # Report to the parent scope that we are building a plugin for amdgpu
/external/llvm-project/llvm/test/Transforms/Inline/AMDGPU/
Dinline-amdgpu-dx10-clamp.ll104 attributes #1 = { nounwind "amdgpu-dx10-clamp"="true" }
105 attributes #2 = { nounwind "amdgpu-dx10-clamp"="false" }
106 attributes #3 = { nounwind "amdgpu-dx10-clamp"="true" "amdgpu-ieee"="true" }
107 attributes #4 = { nounwind "amdgpu-dx10-clamp"="false" "amdgpu-ieee"="true" }
/external/llvm-project/lld/test/ELF/
Damdgpu-elf-flags-err.s1 # REQUIRES: amdgpu
2 …dhsa -mcpu=gfx802 --amdhsa-code-object-version=2 -filetype=obj %S/Inputs/amdgpu-kernel-0.s -o %t-0…
3 …dhsa -mcpu=gfx803 --amdhsa-code-object-version=2 -filetype=obj %S/Inputs/amdgpu-kernel-1.s -o %t-1…
Damdgpu-elf-flags.s1 # REQUIRES: amdgpu
2 …dhsa -mcpu=gfx803 --amdhsa-code-object-version=2 -filetype=obj %S/Inputs/amdgpu-kernel-0.s -o %t-0…
3 …dhsa -mcpu=gfx803 --amdhsa-code-object-version=2 -filetype=obj %S/Inputs/amdgpu-kernel-1.s -o %t-1…
/external/libdrm/amdgpu/
Dmeson.build35 '-DAMDGPU_ASIC_ID_TABLE="@0@"'.format(join_paths(datadir_amdgpu, 'amdgpu.ids')),
44 install_headers('amdgpu.h', subdir : 'libdrm')
52 description : 'Userspace interface to kernel DRM services for amdgpu',
61 'amdgpu-symbols-check',
65 '--symbols-file', files('amdgpu-symbols.txt'),

12345678910>>...30