module

LLVM

Constants

DEBUG_METADATA_VERSION = 3

Class methods

default_target_triple
Source
host_cpu_name
Source
init_aarch64
Source
init_all_targets
Source
init_amdgpu
Source
init_arc
Source
init_arm
Source
init_avr
Source
init_bpf
Source
init_csky
Source
init_directx
Source
init_hexagon
Source
init_lanai
Source
init_loongarch
Source
init_m68k
Source
init_mips
Source
init_msp430
Source
init_native_target
Source
init_nvptx
Source
init_powerpc
Source
init_riscv
Source
init_sparc
Source
init_spirv
Source
init_systemz
Source
init_ve
Source
init_webassembly
Source
init_x86
Source
init_xcore
Source
init_xtensa
Source
multithreaded?
Source
normalize_triple(triple : String) : String
Source
parse_command_line_options(options : Enumerable(String), overview : String = "") : Nil
Source
run_passes(module mod : Module, passes : String, target_machine : TargetMachine, options : PassBuilderOptions)
Source
start_multithreaded

DEPRECATED This method has no effect

Source
stop_multithreaded

DEPRECATED This method has no effect

Source
string_and_dispose(chars) : String
Source
to_io(chars, io) : Nil
Source
version

Returns the runtime version of LLVM.

Starting with LLVM 16, this method returns the version as reported by LLVMGetVersion at runtime. Older versions of LLVM do not expose this information, so the value falls back to LibLLVM::VERSION which is determined at compile time and might slightly be out of sync to the dynamic library loaded at runtime.

Source

Nested types