struct LLVM::Type
Defined in:
llvm/enums.crllvm/type.cr
Class Method Summary
- .array(element_type, count) : self
- .double : self
- .float : self
- .function(arg_types : Array(LLVM::Type), return_type, varargs = false) : self
- .int(bits) : self
- .new(unwrap : LibLLVM::TypeRef)
- .pointer(element_type) : self
- .struct(element_types : Array(LLVM::Type), name = nil, packed = false) : self
- .struct(name : String, packed = false, &block) : self
- .vector(element_type, count) : self
- .void : self
Instance Method Summary
- #array(count)
- #array_size
- #element_type
- #inspect(io)
- #int_width
- #kind
- #null
- #null_pointer
- #packed_struct?
- #pointer
- #size
- #struct_element_types
- #to_unsafe : LibLLVM::TypeRef
- #undef
- #unwrap : LibLLVM::TypeRef
- #void?
Instance methods inherited from struct Struct
==(other : self) : Bool
==,
hash : Int32
hash,
inspect(io : IO) : Nil
inspect,
to_s(io)
to_s
Instance methods inherited from struct Value
==(other)
==,
dup
dup
Instance methods inherited from class Object
!=(other)
!=,
!~(other)
!~,
==(other)
==,
===(other)===(other : YAML::Any)
===(other : JSON::Any) ===, =~(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
to_yaml(io : IO) 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) : selffrom_json(string_or_io, root : String) : 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 |