Struct llvm_ir::module::DataLayout [−][src]
pub struct DataLayout { pub layout_str: String, pub endianness: Endianness, pub stack_alignment: Option<u32>, pub program_address_space: AddrSpace, pub alloca_address_space: AddrSpace, pub alignments: Alignments, pub mangling: Option<Mangling>, pub native_int_widths: Option<HashSet<u32>>, pub non_integral_ptr_types: HashSet<AddrSpace>, }
Expand description
Fields
layout_str: String
The data layout in string form, as described in the Data Layout docs linked above
endianness: Endianness
Little-endian or big-endian?
stack_alignment: Option<u32>
Natural alignment of the stack, in bits. For more, see the Data Layout docs linked above
program_address_space: AddrSpace
Address space for program memory
alloca_address_space: AddrSpace
Address space for objects created by alloca
alignments: Alignments
Alignment for various types in memory
mangling: Option<Mangling>
What mangling will be applied when the LLVM module is compiled to machine code
native_int_widths: Option<HashSet<u32>>
Native integer width(s) for the target CPU
non_integral_ptr_types: HashSet<AddrSpace>
Address spaces with non-integral pointer types
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DataLayout
impl Send for DataLayout
impl Sync for DataLayout
impl Unpin for DataLayout
impl UnwindSafe for DataLayout
Blanket Implementations
Mutably borrows from an owned value. Read more