class LLVM::Builder

Defined in:

llvm/builder.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from class Reference

==(other : self)
==(other)
==
, dup dup, hash hash, inspect(io : IO) : Nil inspect, object_id : UInt64 object_id, same?(other : Reference)
same?(other : Nil)
same?
, to_s(io : IO) : Nil to_s

Class methods inherited from class Reference

new new

Instance methods inherited from class Object

!=(other) !=, !~(other) !~, ==(other) ==, ===(other : JSON::Any)
===(other : YAML::Any)
===(other)
===
, =~(other) =~, class class, crystal_type_id crystal_type_id, dup dup, hash hash, inspect(io : IO)
inspect
inspect
, itself itself, not_nil! not_nil!, tap(&block) tap, to_json to_json, to_pretty_json(indent : String = " ")
to_pretty_json(io : IO, indent : String = " ")
to_pretty_json
, to_s
to_s(io : IO)
to_s
, to_yaml(io : IO)
to_yaml
to_yaml
, try(&block) try

Class methods inherited from class Object

==(other : Class) ==, ===(other) ===, cast(other) : self cast, clone clone, dup dup, from_json(string_or_io, root : String) : self
from_json(string_or_io) : self
from_json
, from_yaml(string : String) : self from_yaml, hash hash, inspect(io) inspect, name : String name, nilable? nilable?, to_s(io) to_s, |(other : U.class) forall U |

Class Method Detail

def self.new #

[View source]

Instance Method Detail

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

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

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

[View source]
def array_malloc(type, value, 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 call(func, args : Array(LLVM::Value), name : String = "") #

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

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

[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 finalize #

[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, index1 : LLVM::Value, index2 : LLVM::Value, name = "") #

[View source]
def gep(value, index : 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, indices : Array(LLVM::ValueRef), name = "") #

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

[View source]
def inbounds_gep(value, index : 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, name = "") #

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

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

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

[View source]
def malloc(type, 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, table : LLVM::PhiTable, name = "") #

[View source]
def phi(type, incoming_blocks : Array(LLVM::BasicBlock), incoming_values : Array(LLVM::Value), 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 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]