class LLVM::Builder
- LLVM::Builder
- Reference
- Object
Defined in:
savi/ext/llvm/builder.crInstance Method Summary
- #call(func_type : LLVM::Type, func, args : Array(LLVM::Value), name : String = "", bundle : LLVM::OperandBundleDef = LLVM::OperandBundleDef.null)
- #clear_insertion_position
- #extract_value(aggregate, index, name = "")
- #frem(lhs, rhs, name = "")
- #inbounds_gep(type : LLVM::Type, value : LLVM::Value, index1 : LLVM::Value, index2 : LLVM::Value, name = "")
- #inbounds_gep(type : LLVM::Type, value : LLVM::Value, index : LLVM::Value, name = "")
- #insert_block
- #insert_value(aggregate, element, index, name = "")
- #int_to_ptr(value, to_type, name = "")
- #invoke(type : LLVM::Type, fn : LLVM::Function, args : Array(LLVM::Value), a_then, a_catch, bundle : LLVM::OperandBundleDef = LLVM::OperandBundleDef.null, name = "")
- #is_not_null(value, name = "")
- #is_null(value, name = "")
- #load(type : LLVM::Type, value : LLVM::Value, name = "")
- #position_before(instruction)
- #ptr_to_int(value, to_type, name = "")
- #struct_gep(type : LLVM::Type, value : LLVM::Value, index, name = "")
Instance Method Detail
def call(func_type : LLVM::Type, func, args : Array(LLVM::Value), name : String = "", bundle : LLVM::OperandBundleDef = LLVM::OperandBundleDef.null)
#
def inbounds_gep(type : LLVM::Type, value : LLVM::Value, index1 : LLVM::Value, index2 : LLVM::Value, name = "")
#
def invoke(type : LLVM::Type, fn : LLVM::Function, args : Array(LLVM::Value), a_then, a_catch, bundle : LLVM::OperandBundleDef = LLVM::OperandBundleDef.null, name = "")
#