| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | promote-kernel-arguments.ll | 79 @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 D | lds-oqap-crash.ll | 5 ; 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 D | replace-lds-by-ptr-call-to-declare-only-func.ll | 7 ; which uses LDS is not called from kernel 'kern', hence it is also ignored. 10 ; Original LDS should exist.
|
| H A D | noclobber-barrier.ll | 8 @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 D | resource-optimization-remarks.ll | 12 ; 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 D | promote-alloca-padding-size-estimate.ll | 3 ; 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 D | lower-module-lds-offsets.ll | 6 ; 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 D | replace-lds-by-ptr-use-within-const-expr2.ll | 13 ; Original LDS should exist. 17 ; Non-LDS global should exist as it is.
|
| H A D | gep-address-space.ll | 15 ; The LDS offset will be 65536 bytes, which is larger than the size of LDS on
|
| H A D | lower-module-lds.ll | 40 ; 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 D | update-lds-alignment.ll | 13 ; 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 D | local-memory.r600.ll | 5 ; Check that the LDS size emitted correctly 37 ; Check that the LDS size emitted correctly
|
| H A D | replace-lds-by-ptr-ignore-small-lds.ll | 5 ; 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 D | address-space-ptr-sze-gep-index-assert.ll | 31 ; 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 D | AMDGPU.td | 168 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 D | LDSDIRInstructions.td | 1 //===-- LDSDIRInstructions.td - LDS Direct Instruction Definitions --------===// 88 // LDS Direct Instructions
|
| H A D | SIMemoryLegalizer.cpp | 71 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 D | gfx8_vaddr_f20ee4.rst | 13 An offset from the start of GDS/LDS memory.
|
| H A D | gfx1030_vaddr_f20ee4.rst | 13 An offset from the start of GDS/LDS memory.
|
| H A D | gfx7_vaddr_f20ee4.rst | 13 An offset from the start of GDS/LDS memory.
|
| H A D | gfx10_vaddr_f20ee4.rst | 13 An offset from the start of GDS/LDS memory.
|
| H A D | gfx940_vaddr_f20ee4.rst | 13 An offset from the start of GDS/LDS memory.
|
| H A D | gfx9_vaddr_f20ee4.rst | 13 An offset from the start of GDS/LDS memory.
|
| H A D | gfx90a_vaddr_f20ee4.rst | 13 An offset from the start of GDS/LDS memory.
|
| /llvm-project-15.0.7/clang/test/Frontend/ |
| H A D | amdgcn-machine-analysis-remarks.cl | 12 // expected-remark@+1 {{ LDS Size [bytes/block]: 0}}
|