Structs§
- Address
Displacement - Additional components that adjust an address expression relative to its base.
- Address
Size Directive - Structured representation of the
.address_sizedirective. - Array
Specifier - Optional array specification attached to a global variable.
- Cluster
Size Directive - Shared representation for cluster dimension directives that specify extents.
- Dwarf
Directive - Raw dwarf directive emitted by the compiler (e.g. @@dwarf).
- Entry
Function - A PTX kernel declared with the
.entrydirective. - File
Directive - Structured representation of the
.filedirective. - Func
Function - A PTX device function declared with the
.funcdirective. - Function
Alias - Alias directive relating one function symbol to another.
- Function
Body - Statements contained within a PTX function body.
- Function
Dim3 - Dimension triplet used by several function header directives.
- Generic
Function Declaration - Generic fallback for function declaration directives without dedicated parsing.
- Instruction
- A PTX instruction with optional predicate and modifiers.
- Instruction
Opcode - An opcode annotated with its parsed modifiers.
- Linking
Directive - Linking directives that influence symbol visibility.
- Location
Directive - Structured representation of a
.locdirective inside a PTX function. - Memory
Operand - Structured representation of a memory operand.
- Module
- A full PTX module containing directives and function definitions.
- Module
Data Directive - Raw representation of the
.b8/.b16/...module-level data directives. - Parameter
- Parameter declaration inside a PTX function signature.
- Parameter
Qualifiers - Qualifiers attached to a function parameter.
- Parameter
Specifier - Raw specifier token captured while parsing a parameter.
- Pointer
Qualifier - Pointer specific qualifiers that can decorate parameters.
- Pragma
Directive - Structured representation of a
.pragmadirective. - Register
Declaration - Concretely parsed
.regdirective inside a function body. - Register
Type - Normalised representation of the register type.
- Section
Directive - Structured representation of the
.sectiondirective. - Statement
Section Directive - Structured representation of a
.sectiondirective inside a function body. - Target
Directive - Structured representation of the
.targetdirective. - Variable
Directive - Module-scoped variable declaration shared by
.tex,.shared,.global, and.const. - Version
Directive - Structured representation of the
.versiondirective.
Enums§
- Address
Base - Base location referenced by an address expression.
- Address
Displacement Kind - Specific adjustment applied within a displacement term.
- Address
Sign - Sign attached to a displacement term.
- Async
Group Modifier - Pipeline group modifiers for asynchronous copy instructions.
- Atomic
Operation Modifier - Atomic operation selectors.
- Cache
Modifier - Cache modifiers for memory operations.
- Call
Modifier - Call instruction qualifiers.
- Cluster
Directive - Cluster dimension directives used for cooperative kernels.
- Condition
Modifier - Recognised condition codes.
- Data
Directive Kind - Function
Declaration Kind - Recognised declaration directive kinds.
- Function
Entry Directive - Entry directives that appear before executable statements in a function body.
- Function
Header Directive - Directive tokens that may decorate a PTX function header.
- Function
Kernel Directive - All directives that describe kernel/function entities.
- Function
Linkage - Linkage modifiers for PTX functions.
- Function
Statement - Executable items that appear within a function body.
- Function
Visibility - Visibility markers usable on functions.
- Global
Address Space - Memory spaces addressable by global declarations.
- Global
Initializer - Structured representation of a global variable initialiser.
- Global
Linkage - Linkage specifiers for global variables.
- Global
Mutability - Mutability qualifiers applicable to globals.
- Global
Visibility - Visibility markers for global variables.
- Initializer
Value - Values that can appear in global initialiser lists.
- Linking
Directive Kind - Math
Mode Modifier - Precision modes for transcendental math instructions.
- Memory
Order Modifier - Memory ordering qualifiers for atomics or reductions.
- Memory
Scope Modifier - Memory scope specifiers for barriers.
- Misc
Directive - Miscellaneous directives defined by the PTX ISA.
- Modifier
Kind - Recognised modifiers encountered on instructions.
- Module
Debug Directive - Debugging directives defined by the PTX ISA.
- Module
Directive - Module-level directives recognised by the parser.
- Module
Directive Kind - Directives that apply to the PTX module as a whole.
- Module
Variable Directive - Module-level declarations that reserve storage in a specific address space.
- Numeric
Literal - Numeric literal kinds allowed inside initialisers.
- Opcode
Kind - Categorisation of PTX opcodes.
- Operand
- Operand that appears in a PTX instruction.
- Parameter
Storage - Storage classes that can prefix a function parameter.
- Pointer
Address Space - Address spaces that a pointer parameter can target.
- PtxParse
Error - Errors that can occur while parsing PTX source text.
- Register
Specifier - Individual register binding described by a
.regdirective. - Rounding
Modifier - Rounding modes applied to arithmetic instructions.
- Scalar
Type - Scalar data types encountered in global declarations.
- Shuffle
Modifier - Shuffle operation modes for warp shuffle instructions.
- State
Space Modifier - Recognised address spaces for instruction modifiers.
- Statement
Directive - Directive that applies to individual statements.
- Synchronization
Modifier - Synchronisation style required by the instruction.
- Type
Modifier - Recognised type modifier tokens.
- Variable
Qualifier - Qualifiers left on module variable declarations (e.g.
.v4).