Module type

Module type 

Source

Structs§

AddressDisplacement
Additional components that adjust an address expression relative to its base.
AddressSizeDirective
Structured representation of the .address_size directive.
ArraySpecifier
Optional array specification attached to a global variable.
ClusterSizeDirective
Shared representation for cluster dimension directives that specify extents.
DwarfDirective
Raw dwarf directive emitted by the compiler (e.g. @@dwarf).
EntryFunction
A PTX kernel declared with the .entry directive.
FileDirective
Structured representation of the .file directive.
FuncFunction
A PTX device function declared with the .func directive.
FunctionAlias
Alias directive relating one function symbol to another.
FunctionBody
Statements contained within a PTX function body.
FunctionDim3
Dimension triplet used by several function header directives.
GenericFunctionDeclaration
Generic fallback for function declaration directives without dedicated parsing.
Instruction
A PTX instruction with optional predicate and modifiers.
InstructionOpcode
An opcode annotated with its parsed modifiers.
LinkingDirective
Linking directives that influence symbol visibility.
LocationDirective
Structured representation of a .loc directive inside a PTX function.
MemoryOperand
Structured representation of a memory operand.
Module
A full PTX module containing directives and function definitions.
ModuleDataDirective
Raw representation of the .b8/.b16/... module-level data directives.
Parameter
Parameter declaration inside a PTX function signature.
ParameterQualifiers
Qualifiers attached to a function parameter.
ParameterSpecifier
Raw specifier token captured while parsing a parameter.
PointerQualifier
Pointer specific qualifiers that can decorate parameters.
PragmaDirective
Structured representation of a .pragma directive.
RegisterDeclaration
Concretely parsed .reg directive inside a function body.
RegisterType
Normalised representation of the register type.
SectionDirective
Structured representation of the .section directive.
StatementSectionDirective
Structured representation of a .section directive inside a function body.
TargetDirective
Structured representation of the .target directive.
VariableDirective
Module-scoped variable declaration shared by .tex, .shared, .global, and .const.
VersionDirective
Structured representation of the .version directive.

Enums§

AddressBase
Base location referenced by an address expression.
AddressDisplacementKind
Specific adjustment applied within a displacement term.
AddressSign
Sign attached to a displacement term.
AsyncGroupModifier
Pipeline group modifiers for asynchronous copy instructions.
AtomicOperationModifier
Atomic operation selectors.
CacheModifier
Cache modifiers for memory operations.
CallModifier
Call instruction qualifiers.
ClusterDirective
Cluster dimension directives used for cooperative kernels.
ConditionModifier
Recognised condition codes.
DataDirectiveKind
FunctionDeclarationKind
Recognised declaration directive kinds.
FunctionEntryDirective
Entry directives that appear before executable statements in a function body.
FunctionHeaderDirective
Directive tokens that may decorate a PTX function header.
FunctionKernelDirective
All directives that describe kernel/function entities.
FunctionLinkage
Linkage modifiers for PTX functions.
FunctionStatement
Executable items that appear within a function body.
FunctionVisibility
Visibility markers usable on functions.
GlobalAddressSpace
Memory spaces addressable by global declarations.
GlobalInitializer
Structured representation of a global variable initialiser.
GlobalLinkage
Linkage specifiers for global variables.
GlobalMutability
Mutability qualifiers applicable to globals.
GlobalVisibility
Visibility markers for global variables.
InitializerValue
Values that can appear in global initialiser lists.
LinkingDirectiveKind
MathModeModifier
Precision modes for transcendental math instructions.
MemoryOrderModifier
Memory ordering qualifiers for atomics or reductions.
MemoryScopeModifier
Memory scope specifiers for barriers.
MiscDirective
Miscellaneous directives defined by the PTX ISA.
ModifierKind
Recognised modifiers encountered on instructions.
ModuleDebugDirective
Debugging directives defined by the PTX ISA.
ModuleDirective
Module-level directives recognised by the parser.
ModuleDirectiveKind
Directives that apply to the PTX module as a whole.
ModuleVariableDirective
Module-level declarations that reserve storage in a specific address space.
NumericLiteral
Numeric literal kinds allowed inside initialisers.
OpcodeKind
Categorisation of PTX opcodes.
Operand
Operand that appears in a PTX instruction.
ParameterStorage
Storage classes that can prefix a function parameter.
PointerAddressSpace
Address spaces that a pointer parameter can target.
PtxParseError
Errors that can occur while parsing PTX source text.
RegisterSpecifier
Individual register binding described by a .reg directive.
RoundingModifier
Rounding modes applied to arithmetic instructions.
ScalarType
Scalar data types encountered in global declarations.
ShuffleModifier
Shuffle operation modes for warp shuffle instructions.
StateSpaceModifier
Recognised address spaces for instruction modifiers.
StatementDirective
Directive that applies to individual statements.
SynchronizationModifier
Synchronisation style required by the instruction.
TypeModifier
Recognised type modifier tokens.
VariableQualifier
Qualifiers left on module variable declarations (e.g. .v4).