W3cubDocs

/Crystal

struct LLVM::TargetData

Defined in:

llvm/target_data.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(unwrap : LibLLVM::TargetDataRef)Source

Instance Method Detail

def abi_alignment(type)Source

def abi_size(type)Source

def offset_of_element(struct_type, element)Source

def size_in_bits(type)Source

def size_in_bytes(type)Source

def to_data_layout_stringSource

def to_unsafe : LibLLVM::TargetDataRefSource

© 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/LLVM/TargetData.html