class LLVM::Builder

Defined in:

llvm/builder.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : self)
==(other : JSON::Any)
==(other : YAML::Any)
==(other)
==
, dup dup, hash(hasher) hash, inspect(io : IO) : Nil inspect, object_id : UInt64 object_id, pretty_print(pp) : Nil pretty_print, same?(other : Reference)
same?(other : Nil)
same?
, to_s(io : IO) : Nil to_s

Constructor methods inherited from class Reference

new new

Instance methods inherited from class Object

! : Bool !, !=(other) !=, !~(other) !~, ==(other) ==, ===(other : JSON::Any)
===(other : YAML::Any)
===(other)
===
, =~(other) =~, as(type : Class) as, as?(type : Class) as?, class class, dup dup, hash
hash(hasher)
hash
, inspect(io : IO) : Nil
inspect : String
inspect
, is_a?(type : Class) : Bool is_a?, itself itself, nil? : Bool nil?, not_nil! not_nil!, pretty_inspect(width = 79, newline = "\n", indent = 0) : String pretty_inspect, pretty_print(pp : PrettyPrint) : Nil pretty_print, responds_to?(name : Symbol) : Bool responds_to?, tap(&) tap, to_json(io : IO)
to_json
to_json
, to_pretty_json(indent : String = " ")
to_pretty_json(io : IO, indent : String = " ")
to_pretty_json
, to_s : String
to_s(io : IO) : Nil
to_s
, to_yaml(io : IO)
to_yaml
to_yaml
, try(&) try, unsafe_as(type : T.class) forall T unsafe_as

Constructor methods inherited from class Object

from_json(string_or_io, root : String) : self
from_json(string_or_io) : self
from_json
, from_yaml(string_or_io : String | IO) : self from_yaml

Constructor Detail

def self.new(unwrap : LibLLVM::BuilderRef) #

[View source]

Instance Method Detail

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

[View source]
def add_handler(catch_switch_ref, handler) #

[View source]
def alloca(type, name = "") #

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

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

[View source]
def atomicrmw(op, ptr, val, ordering, singlethread) #

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

[View source]
def br(block) #

[View source]
def build_catch_ret(pad, basic_block) #

[View source]
def build_operand_bundle_def(name, values : Array(LLVM::Value)) #

[View source]
def call(func, arg : LLVM::Value, name : String = "") #

[View source]
def call(func, name : String = "") #

[View source]
def call(func, args : Array(LLVM::Value), name : String = "", bundle : LLVM::OperandBundleDef = LLVM::OperandBundleDef.null) #

[View source]
def catch_pad(parent_pad, args : Array(LLVM::Value), name = "") #

[View source]
def catch_switch(parent_pad, basic_block, num_handlers, name = "") #

[View source]
def cmpxchg(pointer, cmp, new, success_ordering, failure_ordering) #

[View source]
def cond(cond, then_block, else_block) #

[View source]
def current_debug_location #

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

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

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

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

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

[View source]
def fence(ordering, singlethread, name = "") #

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

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

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

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

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

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

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

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

[View source]
def gep(value, indices : Array(LLVM::ValueRef), name = "") #

[View source]
def global_string_pointer(string, name = "") #

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

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

[View source]
def inbounds_gep(value, indices : Array(LLVM::ValueRef), name = "") #

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

[View source]
def insert_block #

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

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

[View source]
def landing_pad(type, personality, clauses, name = "") #

[View source]
def load(ptr, name = "") #

[View source]
def load_volatile(ptr, name = "") #

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

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

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

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

[View source]
def phi(type, incoming_blocks : Array(LLVM::BasicBlock), incoming_values : Array(LLVM::Value), name = "") #

[View source]
def phi(type, table : LLVM::PhiTable, name = "") #

[View source]
def position_at_end(block) #

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

[View source]
def ret(value) #

[View source]
def ret #

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

[View source]
def select(cond, a_then, a_else, name = "") #

[View source]
def set_current_debug_location(line, column, scope, inlined_at = nil) #

[View source]
def set_metadata(value, kind, node) #

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

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

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

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

[View source]
def store(value, ptr) #

[View source]
def store_volatile(value, ptr) #

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

[View source]
def switch(value, otherwise, cases) #

[View source]
def to_unsafe : LibLLVM::BuilderRef #

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

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

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

[View source]
def unreachable #

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

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

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

[View source]