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
- .pointer(element_type) : self
- .struct(name : String, packed = false, &block) : self
- .struct(element_types : Array(LLVM::Type), name = nil, packed = false) : self
- .vector(element_type, count) : self
- .void : self
- .new(unwrap : LibLLVM::TypeRef)
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)
==
Instance methods inherited from class Object
!=(other)
!=,
!~(other)
!~,
==(other)
==,
===(other)===(other : YAML::Any)
===(other : JSON::Any) ===, =~(other) =~, class class, clone clone, crystal_type_id crystal_type_id, dup dup, hash hash, inspect
inspect(io : IO) inspect, itself itself, not_nil! not_nil!, tap(&block) tap, to_json to_json, to_pretty_json(io : IO)
to_pretty_json to_pretty_json, to_s
to_s(io : IO) to_s, to_yaml(io : IO)
to_yaml to_yaml, try(&block) try