struct LLVM::Function
- LLVM::Function
- Struct
- Value
- Object
Included Modules
Defined in:
savi/ext/llvm/function.crInstance Method Summary
- #add_attribute(attribute : Attribute, index = AttributeIndex::FunctionIndex, value = 0_u64)
- #entry_block
-
#function_type
Override the Crystal implementation of this method because the old one doesn't work with opaque pointers (beginning in LLVM 15).
- #remove_attribute(attribute : Attribute, index = AttributeIndex::FunctionIndex)
- #ret_type
Instance methods inherited from module LLVM::ValueMethods
allocated_type
allocated_type,
dll_storage_class : LLVM::DLLStorageClass
dll_storage_class,
dll_storage_class=(cls : LLVM::DLLStorageClass)
dll_storage_class=,
externally_initialized=(externally_initialized)
externally_initialized=,
externally_initialized?
externally_initialized?,
to_value
to_value,
unnamed_addr=(unnamed_addr)
unnamed_addr=,
unnamed_addr?
unnamed_addr?
Instance Method Detail
def function_type
#
Override the Crystal implementation of this method because the old one doesn't work with opaque pointers (beginning in LLVM 15).