| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | flat-scratch.ll | 72 ; GFX9-PAL: ; %bb.0: 96 ; GFX9-PAL-NEXT: s_endpgm 113 ; GFX1010-PAL: ; %bb.0: 145 ; GFX1030-PAL: ; %bb.0: 170 ; GFX11-PAL: ; %bb.0: 249 ; GFX9-PAL: ; %bb.0: 283 ; GFX10-PAL: ; %bb.0: 302 ; GFX11-PAL: ; %bb.0: 925 ; GFX9-PAL: ; %bb.0: 1037 ; GFX9-PAL: ; %bb.0: [all …]
|
| H A D | elf-notes.ll | 57 ; OSABI-PAL: .hsa_code_object_isa 63 ; OSABI-PAL-ELF: AMD HSA ISA Name: 67 ; OSABI-PAL-ELF: AMDGPU Metadata: 68 ; OSABI-PAL-ELF: amdpal.pipelines: 69 ; OSABI-PAL-ELF: - .hardware_stages: 70 ; OSABI-PAL-ELF: .cs: 75 ; OSABI-PAL-ELF: .registers: 78 ; OSABI-PAL: amdpal.pipelines: 79 ; OSABI-PAL: - .hardware_stages: 80 ; OSABI-PAL: .cs: [all …]
|
| H A D | amdpal.ll | 4 ; PAL-NOT: .AMDGPU.config 5 ; PAL-LABEL: {{^}}simple: 15 ; PAL-LABEL: {{^}}scratch: 16 ; PAL: s_getpc_b64 s[[[GITPTR:[0-9]+]]: 17 ; PAL: s_mov_b32 s[[GITPTR]], s0 39 ; PAL-LABEL: {{^}}scratch2: 61 ; PAL-LABEL: {{^}}scratch2_cs: 90 ; PAL-NEXT: --- 91 ; PAL-NEXT: amdpal.pipelines: 92 ; PAL-NEXT: - .hardware_stages: [all …]
|
| H A D | scratch-simple.ll | 31 ; GFX9-FLATSCR-PAL-DAG: s_mov_b32 s2, s0 42 ; GFX10-FLATSCR-PAL: s_getpc_b64 s[2:3] 43 ; GFX10-FLATSCR-PAL: s_mov_b32 s2, s0 45 ; GFX10-FLATSCR-PAL: s_waitcnt lgkmcnt(0) 47 ; GFX10-FLATSCR-PAL: s_add_u32 s2, s2, s0 107 ; GFX10-FLATSCR-PAL: s_getpc_b64 s[2:3] 108 ; GFX10-FLATSCR-PAL: s_mov_b32 s2, s0 159 ; GFX10-FLATSCR-PAL: s_mov_b32 s2, s0 234 ; GFX10-FLATSCR-PAL: s_mov_b32 s0, s8 287 ; GFX10-FLATSCR-PAL: s_mov_b32 s0, s8 [all …]
|
| H A D | extra-lds-size.ll | 1 ; RUN: llc -mtriple=amdgcn-amd-amdpal -mcpu=gfx1010 < %s | FileCheck -check-prefix=GFX10-PAL %s 3 ; RUN: llc -mtriple=amdgcn-amd-amdpal -mcpu=gfx1100 < %s | FileCheck -check-prefix=GFX11-PAL %s 8 ; GFX10-PAL: 0x2c0b (SPI_SHADER_PGM_RSRC2_PS): 0x800 13 ; GFX11-PAL: 0x2c0b (SPI_SHADER_PGM_RSRC2_PS): 0x400
|
| H A D | elf-header-osabi.ll | 7 …mdgcn--amdpal -mcpu=gfx801 < %s | llvm-readobj --file-headers - | FileCheck --check-prefixes=PAL %s 8 …cn-amd-amdpal -mcpu=gfx801 < %s | llvm-readobj --file-headers - | FileCheck --check-prefixes=PAL %s 9 …nknown-amdpal -mcpu=gfx801 < %s | llvm-readobj --file-headers - | FileCheck --check-prefixes=PAL %s 17 ; PAL: OS/ABI: AMDGPU_PAL (0x41) 18 ; PAL: ABIVersion: 0
|
| H A D | SRSRC-GIT-clobber-check.mir | 3 # On PAL, we need to ensure SRSRC do not clobber GIT pointer, passed
|
| H A D | amdpal_scratch_mergedshader.ll | 4 ; hardware, so the PAL puts the GIT (global information table) in s8 rather
|
| H A D | pal-userdata-regs.ll | 3 ; Test that the mnemonic names for PAL metadata user data registers work in a
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/GlobalISel/ |
| H A D | flat-scratch-init.gfx.ll | 23 ; PAL-LABEL: amdgpu_ps: 24 ; PAL: ; %bb.0: 25 ; PAL-NEXT: s_getpc_b64 s[2:3] 26 ; PAL-NEXT: s_mov_b32 s2, s0 28 ; PAL-NEXT: v_mov_b32_e32 v0, 4 29 ; PAL-NEXT: v_mov_b32_e32 v2, 0 30 ; PAL-NEXT: s_waitcnt lgkmcnt(0) 35 ; PAL-NEXT: s_lshl_b32 s0, s0, 16 36 ; PAL-NEXT: v_mov_b32_e32 v1, s0 38 ; PAL-NEXT: s_waitcnt vmcnt(0) [all …]
|
| /llvm-project-15.0.7/llvm/test/Object/AMDGPU/ |
| H A D | elf-header-osabi.yaml | 5 # RUN: llvm-readobj -S --file-headers %t.o.2 | FileCheck --check-prefixes=ELF-PAL %s 6 # RUN: obj2yaml %t.o.2 | FileCheck --check-prefixes=YAML-PAL %s 12 # ELF-PAL: OS/ABI: AMDGPU_PAL (0x41) 16 # YAML-PAL: OSABI: ELFOSABI_AMDGPU_PAL
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | DeadArgumentElimination.cpp | 185 AttributeList PAL = CB->getAttributes(); in deleteDeadVarargs() local 186 if (!PAL.isEmpty()) { in deleteDeadVarargs() 189 ArgAttrs.push_back(PAL.getParamAttrs(ArgNo)); in deleteDeadVarargs() 190 PAL = AttributeList::get(F.getContext(), PAL.getFnAttrs(), in deleteDeadVarargs() 191 PAL.getRetAttrs(), ArgAttrs); in deleteDeadVarargs() 207 NewCB->setAttributes(PAL); in deleteDeadVarargs() 737 const AttributeList &PAL = F->getAttributes(); in removeDeadStuffFromFunction() local 751 ArgAttrVec.push_back(PAL.getParamAttrs(ArgI)); in removeDeadStuffFromFunction() 752 HasLiveReturnedArg |= PAL.hasParamAttr(ArgI, Attribute::Returned); in removeDeadStuffFromFunction() 827 AttrBuilder RAttrs(F->getContext(), PAL.getRetAttrs()); in removeDeadStuffFromFunction() [all …]
|
| H A D | ArgumentPromotion.cpp | 161 AttributeList PAL = F->getAttributes(); in doPromotion() local 170 ArgAttrVec.push_back(PAL.getParamAttrs(ArgNo)); in doPromotion() 211 NF->setAttributes(AttributeList::get(F->getContext(), PAL.getFnAttrs(), in doPromotion() 212 PAL.getRetAttrs(), ArgAttrVec)); in doPromotion()
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILValueEnumerator.h | 174 unsigned getAttributeListID(AttributeList PAL) const { in getAttributeListID() argument 175 if (PAL.isEmpty()) in getAttributeListID() 177 AttributeListMapType::const_iterator I = AttributeListMap.find(PAL); in getAttributeListID() 299 void EnumerateAttributes(AttributeList PAL);
|
| H A D | DXILValueEnumerator.cpp | 996 void ValueEnumerator::EnumerateAttributes(AttributeList PAL) { in EnumerateAttributes() argument 997 if (PAL.isEmpty()) in EnumerateAttributes() 1001 unsigned &Entry = AttributeListMap[PAL]; in EnumerateAttributes() 1004 AttributeLists.push_back(PAL); in EnumerateAttributes() 1009 for (unsigned i : PAL.indexes()) { in EnumerateAttributes() 1010 AttributeSet AS = PAL.getAttributes(i); in EnumerateAttributes()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Writer/ |
| H A D | ValueEnumerator.h | 175 unsigned getAttributeListID(AttributeList PAL) const { in getAttributeListID() argument 176 if (PAL.isEmpty()) return 0; // Null maps to zero. in getAttributeListID() 177 AttributeListMapType::const_iterator I = AttributeListMap.find(PAL); in getAttributeListID() 297 void EnumerateAttributes(AttributeList PAL);
|
| H A D | ValueEnumerator.cpp | 992 void ValueEnumerator::EnumerateAttributes(AttributeList PAL) { in EnumerateAttributes() argument 993 if (PAL.isEmpty()) return; // null is always 0. in EnumerateAttributes() 996 unsigned &Entry = AttributeListMap[PAL]; in EnumerateAttributes() 999 AttributeLists.push_back(PAL); in EnumerateAttributes() 1004 for (unsigned i : PAL.indexes()) { in EnumerateAttributes() 1005 AttributeSet AS = PAL.getAttributes(i); in EnumerateAttributes()
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/ |
| H A D | note-amd-invalid-v2.test | 104 # LLVM-NEXT: Type: NT_AMD_PAL_METADATA (AMD PAL Metadata) 105 # LLVM-NEXT: AMD PAL Metadata: Invalid AMD PAL Metadata 160 # GNU-NEXT: AMD 0x00000004 NT_AMD_PAL_METADATA (AMD PAL Metadata) 161 # GNU-NEXT: AMD PAL Metadata: 162 # GNU-NEXT: Invalid AMD PAL Metadata
|
| H A D | note-amd-valid-v2.test | 96 # LLVM-NEXT: Type: NT_AMD_PAL_METADATA (AMD PAL Metadata) 97 # LLVM-NEXT: AMD PAL Metadata: [2: 1][4: 2][8: 4] 146 # GNU-NEXT: AMD 0x00000018 NT_AMD_PAL_METADATA (AMD PAL Metadata) 147 # GNU-NEXT: AMD PAL Metadata:
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | Lint.cpp | 230 AttributeList PAL = I.getAttributes(); in visitCallBase() local 235 if (PAL.hasParamAttr(ArgNo, Attribute::ByVal)) in visitCallBase() 263 const AttributeList &PAL = CI->getAttributes(); in visitCallBase() local 268 if (PAL.hasParamAttr(ArgNo++, Attribute::ByVal)) in visitCallBase()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | AsmWriter.cpp | 4119 const AttributeList &PAL = CI->getAttributes(); in printInstruction() local 4121 if (PAL.hasRetAttrs()) in printInstruction() 4122 Out << ' ' << PAL.getAsString(AttributeList::ReturnIndex); in printInstruction() 4150 if (PAL.hasFnAttrs()) in printInstruction() 4158 const AttributeList &PAL = II->getAttributes(); in printInstruction() local 4166 if (PAL.hasRetAttrs()) in printInstruction() 4167 Out << ' ' << PAL.getAsString(AttributeList::ReturnIndex); in printInstruction() 4188 if (PAL.hasFnAttrs()) in printInstruction() 4201 const AttributeList &PAL = CBI->getAttributes(); in printInstruction() local 4209 if (PAL.hasRetAttrs()) in printInstruction() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1450 const AttributeList &PAL = F->getAttributes(); in emitFunctionParamList() local 1510 auto getOptimalAlignForParam = [TLI, &DL, &PAL, F, in emitFunctionParamList() 1513 MaybeAlign ParamAlign = PAL.getParamAlignment(paramIndex); in emitFunctionParamList() 1517 if (!PAL.hasParamAttr(paramIndex, Attribute::ByVal)) { in emitFunctionParamList() 1597 Type *ETy = PAL.getParamByValType(paramIndex); in emitFunctionParamList()
|
| /llvm-project-15.0.7/llvm/lib/Target/XCore/ |
| H A D | XCoreFrameLowering.cpp | 240 const AttributeList &PAL = MF.getFunction().getAttributes(); in emitPrologue() local 241 if (PAL.hasAttrSomewhere(Attribute::Nest)) in emitPrologue()
|
| /llvm-project-15.0.7/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 5694 AttributeList PAL = in parseFunctionHeader() local 5698 if (PAL.hasParamAttr(0, Attribute::StructRet) && !RetType->isVoidTy()) in parseFunctionHeader() 5764 Fn->setAttributes(PAL); in parseFunctionHeader() 6446 AttributeList PAL = in parseInvoke() local 6453 II->setAttributes(PAL); in parseInvoke() 6771 AttributeList PAL = in parseCallBr() local 6779 CBI->setAttributes(PAL); in parseCallBr() 7178 AttributeList PAL = in parseCall() local 7193 CI->setAttributes(PAL); in parseCall()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 5347 AttributeList PAL = getAttributes(Record[OpNum++]); in parseFunctionBody() local 5418 cast<InvokeInst>(I)->setAttributes(PAL); in parseFunctionBody() 5439 AttributeList PAL = getAttributes(Record[OpNum++]); in parseFunctionBody() local 5575 cast<CallBrInst>(I)->setAttributes(PAL); in parseFunctionBody() 6148 AttributeList PAL = getAttributes(Record[OpNum++]); in parseFunctionBody() local 6235 cast<CallInst>(I)->setAttributes(PAL); in parseFunctionBody()
|