struct LLVM::Function

Included Modules

Defined in:

savi/ext/llvm/function.cr

Instance Method Summary

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 add_attribute(attribute : Attribute, index = AttributeIndex::FunctionIndex, value = 0_u64) #

[View source]
def entry_block #

[View source]
def function_type #

Override the Crystal implementation of this method because the old one doesn't work with opaque pointers (beginning in LLVM 15).


[View source]
def remove_attribute(attribute : Attribute, index = AttributeIndex::FunctionIndex) #

[View source]
def ret_type #

[View source]