class LLVM::Builder
Defined in:
llvm/builder.crClass Method Summary
Instance Method Summary
- #add(lhs, rhs, name = "")
- #alloca(type, name = "")
- #and(lhs, rhs, name = "")
- #array_malloc(type, value, name = "")
- #ashr(lhs, rhs, name = "")
- #atomicrmw(op, ptr, val, ordering, singlethread)
- #bit_cast(value, type, name = "")
- #br(block)
- #call(func, args : Array(LLVM::Value), name : String = "")
- #call(func, arg : LLVM::Value, name : String = "")
- #call(func, name : String = "")
- #cmpxchg(pointer, cmp, new, success_ordering, failure_ordering)
- #cond(cond, then_block, else_block)
- #current_debug_location
- #exact_sdiv(lhs, rhs, name = "")
- #extract_value(value, index, name = "")
- #fadd(lhs, rhs, name = "")
- #fcmp(op, lhs, rhs, name = "")
- #fdiv(lhs, rhs, name = "")
- #fence(ordering, singlethread, name = "")
- #fmul(lhs, rhs, name = "")
- #fp2si(value, type, name = "")
- #fp2ui(value, type, name = "")
- #fpext(value, type, name = "")
- #fptrunc(value, type, name = "")
- #fsub(lhs, rhs, name = "")
- #gep(value, index1 : LLVM::Value, index2 : LLVM::Value, name = "")
- #gep(value, indices : Array(LLVM::ValueRef), name = "")
- #gep(value, index : LLVM::Value, name = "")
- #global_string_pointer(string, name = "")
- #icmp(op, lhs, rhs, name = "")
- #inbounds_gep(value, index1 : LLVM::Value, index2 : LLVM::Value, name = "")
- #inbounds_gep(value, indices : Array(LLVM::ValueRef), name = "")
- #inbounds_gep(value, index : LLVM::Value, name = "")
- #insert_block
- #int2ptr(value, type, name = "")
- #invoke(fn, args : Array(LLVM::Value), a_then, a_catch, name = "")
- #landing_pad(type, personality, clauses, name = "")
- #load(ptr, name = "")
- #lshr(lhs, rhs, name = "")
- #malloc(type, name = "")
- #mul(lhs, rhs, name = "")
- #not(value, name = "")
- #or(lhs, rhs, name = "")
- #phi(type, incoming_blocks : Array(LLVM::BasicBlock), incoming_values : Array(LLVM::Value), name = "")
- #phi(type, table : LLVM::PhiTable, name = "")
- #position_at_end(block)
- #ptr2int(value, type, name = "")
- #ret(value)
- #ret
- #sdiv(lhs, rhs, name = "")
- #select(cond, a_then, a_else, name = "")
- #set_current_debug_location(line, column, scope, inlined_at = nil)
- #set_metadata(value, kind, node)
- #sext(value, type, name = "")
- #shl(lhs, rhs, name = "")
- #si2fp(value, type, name = "")
- #srem(lhs, rhs, name = "")
- #store(value, ptr)
- #sub(lhs, rhs, name = "")
- #switch(value, otherwise, cases)
- #to_unsafe : LibLLVM::BuilderRef
- #trunc(value, type, name = "")
- #udiv(lhs, rhs, name = "")
- #ui2fp(value, type, name = "")
- #unreachable
- #urem(lhs, rhs, name = "")
- #xor(lhs, rhs, name = "")
- #zext(value, type, name = "")
Instance methods inherited from class Reference
==(other : self)==(other) ==, dup dup, hash 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
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, dup dup, hash hash, inspect(io : IO)
inspect inspect, itself itself, not_nil! not_nil!, pretty_inspect(width = 79, newline = "\n", indent = 0) : String pretty_inspect, pretty_print(pp : PrettyPrint) : Nil pretty_print, tap(&block) 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
to_s(io : IO) to_s, to_yaml(io : IO)
to_yaml to_yaml, try(&block) try
Class methods inherited from class Object
from_json(string_or_io, root : String) : selffrom_json(string_or_io) : self from_json, from_yaml(string_or_io) : self from_yaml
Class Method Detail
Instance Method Detail
def phi(type, incoming_blocks : Array(LLVM::BasicBlock), incoming_values : Array(LLVM::Value), name = "")
#