Skip to content

class LLVM::Builder
inherits Reference

Class methods

.new(unwrap : LibLLVM::BuilderRef)

View source

Methods

#add(lhs, rhs, name = "")

View source

#add_handler(catch_switch_ref, handler)

View source

#alloca(type, name = "")

View source

#and(lhs, rhs, name = "")

View source

#ashr(lhs, rhs, name = "")

View source

#atomicrmw(op, ptr, val, ordering, singlethread)

View source

#bit_cast(value, type, name = "")

View source

#br(block)

View source

#build_catch_ret(pad, basic_block)

View source

#build_operand_bundle_def(name, values : Array(LLVM::Value))

View source

#call(func, arg : LLVM::Value, name : String = "")

View source

#call(func, name : String = "")

View source

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

View source

#catch_pad(parent_pad, args : Array(LLVM::Value), name = "")

View source

#catch_switch(parent_pad, basic_block, num_handlers, name = "")

View source

#cmpxchg(pointer, cmp, new, success_ordering, failure_ordering)

View source

#cond(cond, then_block, else_block)

View source

#current_debug_location

View source

#exact_sdiv(lhs, rhs, name = "")

View source

#extract_value(value, index, name = "")

View source

#fadd(lhs, rhs, name = "")

View source

#fcmp(op, lhs, rhs, name = "")

View source

#fdiv(lhs, rhs, name = "")

View source

#fence(ordering, singlethread, name = "")

View source

#fmul(lhs, rhs, name = "")

View source

#fp2si(value, type, name = "")

View source

#fp2ui(value, type, name = "")

View source

#fpext(value, type, name = "")

View source

#fptrunc(value, type, name = "")

View source

#fsub(lhs, rhs, name = "")

View source

#gep(value, index : LLVM::Value, name = "")

View source

#gep(value, index1 : LLVM::Value, index2 : LLVM::Value, name = "")

View source

#gep(value, indices : Array(LLVM::ValueRef), name = "")

View source

#global_string_pointer(string, name = "")

View source

#icmp(op, lhs, rhs, name = "")

View source

#inbounds_gep(value, index : LLVM::Value, name = "")

View source

#inbounds_gep(value, indices : Array(LLVM::ValueRef), name = "")

View source

#inbounds_gep(value, index1 : LLVM::Value, index2 : LLVM::Value, name = "")

View source

#insert_block

View source

#int2ptr(value, type, name = "")

View source

#invoke(fn : LLVM::Function, args : Array(LLVM::Value), a_then, a_catch, bundle : LLVM::OperandBundleDef = LLVM::OperandBundleDef.null, name = "")

View source

#landing_pad(type, personality, clauses, name = "")

View source

#load(ptr, name = "")

View source

#load_volatile(ptr, name = "")

View source

#lshr(lhs, rhs, name = "")

View source

#mul(lhs, rhs, name = "")

View source

#not(value, name = "")

View source

#or(lhs, rhs, name = "")

View source

#phi(type, incoming_blocks : Array(LLVM::BasicBlock), incoming_values : Array(LLVM::Value), name = "")

View source

#phi(type, table : LLVM::PhiTable, name = "")

View source

#position_at_end(block)

View source

#ptr2int(value, type, name = "")

View source

#ret(value)

View source

#sdiv(lhs, rhs, name = "")

View source

#select(cond, a_then, a_else, name = "")

View source

#set_current_debug_location(line, column, scope, inlined_at = nil)

View source

#set_metadata(value, kind, node)

View source

#sext(value, type, name = "")

View source

#shl(lhs, rhs, name = "")

View source

#si2fp(value, type, name = "")

View source

#srem(lhs, rhs, name = "")

View source

#store(value, ptr)

View source

#store_volatile(value, ptr)

View source

#sub(lhs, rhs, name = "")

View source

#switch(value, otherwise, cases)

View source

#to_unsafe : LibLLVM::BuilderRef

View source

#trunc(value, type, name = "")

View source

#udiv(lhs, rhs, name = "")

View source

#ui2fp(value, type, name = "")

View source

#unreachable

View source

#urem(lhs, rhs, name = "")

View source

#va_arg(list, type, name = "")

View source

#xor(lhs, rhs, name = "")

View source

#zext(value, type, name = "")

View source