module LLVM

Defined in:

llvm/abi.cr
llvm/enums.cr
llvm.cr

Constant Summary

Double = Type.new(LibLLVM.double_type)
Float = Type.new(LibLLVM.float_type)
Int1 = Type.new(LibLLVM.int1_type)
Int16 = Type.new(LibLLVM.int16_type)
Int32 = Type.new(LibLLVM.int32_type)
Int64 = Type.new(LibLLVM.int64_type)
Int8 = Type.new(LibLLVM.int8_type)
SizeT = Int64
Void = Type.new(LibLLVM.void_type)
VoidPointer = Int8.pointer

Class Method Summary

Class Method Detail

def self.array(type, values : Array(LLVM::Value)) : Value #

[View source]
def self.const_inline_asm(type, asm_string, constraints, has_side_effects = false, is_align_stack = false) #

[View source]
def self.default_target_triple : String #

[View source]
def self.double(string : String) : Value #

[View source]
def self.double(value : Float64) : Value #

[View source]
def self.float(value : Float32) : Value #

[View source]
def self.float(string : String) : Value #

[View source]
def self.init_x86 #

[View source]
def self.int(type, value) : Value #

[View source]
def self.multithreaded? : Bool #

[View source]
def self.start_multithreaded : Bool #

[View source]
def self.stop_multithreaded #

[View source]
def self.string(string) : Value #

[View source]
def self.string_and_dispose(chars) : String #

[View source]
def self.struct(values : Array(LLVM::Value), packed = false) : Value #

[View source]
def self.to_io(chars, io) #

[View source]