Home
last modified time | relevance | path

Searched refs:LDS (Results 1 – 25 of 81) sorted by relevance

1234

/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dpromote-kernel-arguments.ll79 @LDS = internal unnamed_addr addrspace(3) global [4 x float] undef, align 16
130 %arrayidx512 = getelementptr inbounds [4 x float], [4 x float] addrspace(3)* @LDS, i32 0, i32 %X
135 …%arrayidx512.1 = getelementptr inbounds [4 x float], [4 x float] addrspace(3)* @LDS, i32 0, i32 %a…
140 …%arrayidx512.2 = getelementptr inbounds [4 x float], [4 x float] addrspace(3)* @LDS, i32 0, i32 %a…
148 %arrayidx711 = getelementptr inbounds [4 x float], [4 x float] addrspace(3)* @LDS, i32 0, i32 %sub
202 %arrayidx512 = getelementptr inbounds [4 x float], [4 x float] addrspace(3)* @LDS, i32 0, i32 %X
220 %arrayidx711 = getelementptr inbounds [4 x float], [4 x float] addrspace(3)* @LDS, i32 0, i32 %sub
261 %arrayidx512 = getelementptr inbounds [4 x float], [4 x float] addrspace(3)* @LDS, i32 0, i32 %X
264 %arrayidx711 = getelementptr inbounds [4 x float], [4 x float] addrspace(3)* @LDS, i32 0, i32 %sub
306 %arrayidx512 = getelementptr inbounds [4 x float], [4 x float] addrspace(3)* @LDS, i32 0, i32 %X
[all …]
H A Dlds-oqap-crash.ll5 ; if an LDS instruction could fit in the current clause, but never finding
8 ; The LDS instruction should not have been defining OQAP in the first place,
9 ; because the LDS instructions are pseudo instructions and the OQAP
H A Dreplace-lds-by-ptr-call-to-declare-only-func.ll7 ; which uses LDS is not called from kernel 'kern', hence it is also ignored.
10 ; Original LDS should exist.
H A Dnoclobber-barrier.ll8 @LDS = linkonce_odr hidden local_unnamed_addr addrspace(3) global i32 undef
352 ; CHECK-NEXT: store i32 0, i32 addrspace(3)* @LDS, align 4
361 store i32 0, i32 addrspace(3)* @LDS, align 4
405 ; CHECK-NEXT: store volatile i32 0, i32 addrspace(3)* @LDS, align 4
414 store volatile i32 0, i32 addrspace(3)* @LDS, align 4
437 %unused = atomicrmw add i32 addrspace(3)* @LDS, i32 5 monotonic
460 %unused = cmpxchg i32 addrspace(3)* @LDS, i32 7, i32 %swap seq_cst monotonic
477 ; CHECK-NEXT: [[UNUSED:%.*]] = atomicrmw add i32 addrspace(3)* @LDS, i32 5 seq_cst, align 4
486 %unused = atomicrmw add i32 addrspace(3)* @LDS, i32 5 seq_cst
567 %unused = atomicrmw add i32 addrspace(3)* @LDS, i32 5 seq_cst
[all …]
H A Dresource-optimization-remarks.ll12 ; STDERR-NEXT: remark: foo.cl:27:0: LDS Size [bytes/block]: 512
92 ; REMARK-NEXT: - String: ' LDS Size [bytes/block]: '
114 ; STDERR-NOT: LDS Size
130 ; STDERR-NEXT: remark: foo.cl:8:0: LDS Size [bytes/block]: 0
H A Dpromote-alloca-padding-size-estimate.ll3 ; This shows that the amount LDS size estimate should try to not be
4 ; sensitive to the order of the LDS globals. This should try to
6 ; LDS.
8 ; These functions use the same amount of LDS, but the total, final
H A Dlower-module-lds-offsets.ll6 ; Check that module LDS is allocated at address 0 and kernel starts its
7 ; allocation past module LDS when a call is present.
H A Dreplace-lds-by-ptr-use-within-const-expr2.ll13 ; Original LDS should exist.
17 ; Non-LDS global should exist as it is.
H A Dgep-address-space.ll15 ; The LDS offset will be 65536 bytes, which is larger than the size of LDS on
H A Dlower-module-lds.ll40 ; This kernel calls a function that uses LDS so needs the block
51 ; This kernel does alloc the LDS block as it makes no calls
H A Dupdate-lds-alignment.ll13 ; All LDS are underaligned, requires to allocate on 8 byte boundary
16 ; All LDS are underaligned, requires to allocate on 16 byte boundary
19 ; All LDS are properly aligned on 16 byte boundary, but they are of different size.
118 ; All LDS are underaligned, requires to allocate on 8 byte boundary
144 ; All LDS are underaligned, requires to allocate on 16 byte boundary
H A Dlocal-memory.r600.ll5 ; Check that the LDS size emitted correctly
37 ; Check that the LDS size emitted correctly
H A Dreplace-lds-by-ptr-ignore-small-lds.ll5 ; LDS global @small_lds is used within non-kernel function @f0, and @f0 is reachable
/llvm-project-15.0.7/llvm/test/Transforms/SLPVectorizer/AMDGPU/
H A Daddress-space-ptr-sze-gep-index-assert.ll31 ; CHECK-NEXT: [[FLAT:%.*]] = addrspacecast i32 addrspace(3)* [[LDS:%.*]] to i32*
34 ; CHECK-NEXT: [[LDS_1:%.*]] = getelementptr inbounds i32, i32 addrspace(3)* [[LDS]], i32 [[ADD0]]
36 ; CHECK-NEXT: [[LOAD_LDS_0:%.*]] = load i32, i32 addrspace(3)* [[LDS]], align 4
114 ; CHECK-NEXT: [[FLAT:%.*]] = addrspacecast i32 addrspace(3)* [[LDS:%.*]] to i32*
117 ; CHECK-NEXT: [[LDS_1:%.*]] = getelementptr inbounds i32, i32 addrspace(3)* [[LDS]], i64 [[ADD0]]
119 ; CHECK-NEXT: [[LOAD_LDS_0:%.*]] = load i32, i32 addrspace(3)* [[LDS]], align 4
/llvm-project-15.0.7/mlir/include/mlir/Dialect/AMDGPU/
H A DAMDGPU.td168 let summary = "Barrier that includes a wait for LDS memory operations.";
172 operations that affect the Local Data Store (LDS) issued from that wrokgroup
173 to complete before the workgroup may continue. Since the LDS is per-workgroup
175 written data to LDS before any workitem attempts to read from it.
180 are used (for example, by writing them to LDS).
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DLDSDIRInstructions.td1 //===-- LDSDIRInstructions.td - LDS Direct Instruction Definitions --------===//
88 // LDS Direct Instructions
H A DSIMemoryLegalizer.cpp71 LDS = 1u << 1, enumerator
77 FLAT = GLOBAL | LDS | SCRATCH,
80 ATOMIC = GLOBAL | LDS | SCRATCH | GDS,
83 ALL = GLOBAL | LDS | SCRATCH | GDS | OTHER,
145 ~(SIAtomicAddrSpace::SCRATCH | SIAtomicAddrSpace::LDS)) == in SIMemOpInfo()
149 ~(SIAtomicAddrSpace::SCRATCH | SIAtomicAddrSpace::LDS | in SIMemOpInfo()
676 return SIAtomicAddrSpace::LDS; in toSIAtomicAddrSpace()
999 if ((AddrSpace & SIAtomicAddrSpace::LDS) != SIAtomicAddrSpace::NONE) { in insertWait()
1338 AddrSpace &= ~SIAtomicAddrSpace::LDS; in insertWait()
1907 if ((AddrSpace & SIAtomicAddrSpace::LDS) != SIAtomicAddrSpace::NONE) { in insertWait()
/llvm-project-15.0.7/llvm/docs/AMDGPU/
H A Dgfx8_vaddr_f20ee4.rst13 An offset from the start of GDS/LDS memory.
H A Dgfx1030_vaddr_f20ee4.rst13 An offset from the start of GDS/LDS memory.
H A Dgfx7_vaddr_f20ee4.rst13 An offset from the start of GDS/LDS memory.
H A Dgfx10_vaddr_f20ee4.rst13 An offset from the start of GDS/LDS memory.
H A Dgfx940_vaddr_f20ee4.rst13 An offset from the start of GDS/LDS memory.
H A Dgfx9_vaddr_f20ee4.rst13 An offset from the start of GDS/LDS memory.
H A Dgfx90a_vaddr_f20ee4.rst13 An offset from the start of GDS/LDS memory.
/llvm-project-15.0.7/clang/test/Frontend/
H A Damdgcn-machine-analysis-remarks.cl12 // expected-remark@+1 {{ LDS Size [bytes/block]: 0}}

1234