Skip to main content

Module types

Module types 

Source
Expand description

LLVM type and constant string generation.

Provides functions for converting Svod types to LLVM IR text. Shared between CPU and GPU backends.

Functionsยง

addr_space_num
Get LLVM address space number.
lcast
Get LLVM cast instruction name for a type conversion.
lconst
Convert a constant value to LLVM literal string.
ldt
Convert a DType to LLVM type string.