class LLVM::Builder

Defined in:

savi/ext/llvm/builder.cr

Instance Method Summary

Instance Method Detail

def call(func_type : LLVM::Type, func, args : Array(LLVM::Value), name : String = "", bundle : LLVM::OperandBundleDef = LLVM::OperandBundleDef.null) #

[View source]
def clear_insertion_position #

[View source]
def extract_value(aggregate, index, name = "") #

[View source]
def frem(lhs, rhs, name = "") #

[View source]
def inbounds_gep(type : LLVM::Type, value : LLVM::Value, index1 : LLVM::Value, index2 : LLVM::Value, name = "") #

[View source]
def inbounds_gep(type : LLVM::Type, value : LLVM::Value, index : LLVM::Value, name = "") #

[View source]
def insert_block #

[View source]
def insert_value(aggregate, element, index, name = "") #

[View source]
def int_to_ptr(value, to_type, name = "") #

[View source]
def invoke(type : LLVM::Type, fn : LLVM::Function, args : Array(LLVM::Value), a_then, a_catch, bundle : LLVM::OperandBundleDef = LLVM::OperandBundleDef.null, name = "") #

[View source]
def is_not_null(value, name = "") #

[View source]
def is_null(value, name = "") #

[View source]
def load(type : LLVM::Type, value : LLVM::Value, name = "") #

[View source]
def position_before(instruction) #

[View source]
def ptr_to_int(value, to_type, name = "") #

[View source]
def struct_gep(type : LLVM::Type, value : LLVM::Value, index, name = "") #

[View source]