[#llvm-AMDGPU-InfoKind] = xref:llvm.adoc[llvm]::xref:llvm/AMDGPU.adoc[AMDGPU]::InfoKind :relfileprefix: ../../ :mrdocs: Entry kind values for the `.amdgpu.info` section. == Synopsis Declared in `<llvm/Support/AMDGPUObjLinkingInfo.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum class InfoKind : uint8_t; ---- == Description Entries that appear between an INFO_FUNC and the next INFO_FUNC (or end of section) belong to the function scope opened by that INFO_FUNC. == Members [cols="1,4"] |=== | Name| Description | `INFO_FUNC` | Opens a new function scope. Payload is an 8‐byte symbol reference (relocated) identifying the function. All subsequent entries until the next INFO_FUNC belong to this function. | `INFO_FLAGS` | Bitfield of FuncInfoFlags properties for the function. [u32] | `INFO_NUM_SGPR` | Number of SGPRs explicitly used by the function. [u32] | `INFO_NUM_VGPR` | Number of architectural VGPRs used by the function. [u32] | `INFO_NUM_AGPR` | Number of accumulator VGPRs (AGPRs) used by the function. [u32] | `INFO_PRIVATE_SEGMENT_SIZE` | Private (scratch) memory size in bytes required by the function. [u32] | `INFO_USE` | Dependency edge: the function uses the resource identified by the 8‐byte relocated symbol (e.g. an LDS variable or named barrier). | `INFO_CALL` | Direct call edge: the function calls the callee identified by the 8‐byte relocated symbol. | `INFO_INDIRECT_CALL` | Indirect call edge: the function contains an indirect call whose callee is expected to match the type‐ID string at the given `.amdgpu.strtab` offset. [u32] | `INFO_TYPEID` | Function type ID: tags an address‐taken function with a type‐ID string (at the given `.amdgpu.strtab` offset) so the linker can match it against INFO_INDIRECT_CALL entries. [u32] |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#