package llvm
Install
Dune Dependency
Authors
Maintainers
Sources
md5=d2bf13c08c943c69f1a29ec5b830c143
sha512=6abc12221eeea6bb26f457dee5f8a077d945583a48891bef7249e6129b8125a5151b92dec0cefc09b124fe988cea8c521123c95d74dd4cd9d87a282c17865fe2
doc/llvm_target_static/Llvm_target/DataLayout/index.html
Module Llvm_target.DataLayout
Source
of_string rep
parses the data layout string representation rep
. See the constructor llvm::DataLayout::DataLayout
.
as_string dl
is the string representation of the data layout dl
. See the method llvm::DataLayout::getStringRepresentation
.
Returns the byte order of a target, either Endian.Big
or Endian.Little
. See the method llvm::DataLayout::isLittleEndian
.
Returns the pointer size in bytes for a target. See the method llvm::DataLayout::getPointerSize
.
Returns the integer type that is the same size as a pointer on a target. See the method llvm::DataLayout::getIntPtrType
.
Returns the pointer size in bytes for a target in a given address space. See the method llvm::DataLayout::getPointerSize
.
Returns the integer type that is the same size as a pointer on a target in a given address space. See the method llvm::DataLayout::getIntPtrType
.
Computes the size of a type in bits for a target. See the method llvm::DataLayout::getTypeSizeInBits
.
Computes the storage size of a type in bytes for a target. See the method llvm::DataLayout::getTypeStoreSize
.
Computes the ABI size of a type in bytes for a target. See the method llvm::DataLayout::getTypeAllocSize
.
Computes the ABI alignment of a type in bytes for a target. See the method llvm::DataLayout::getTypeABISize
.
Computes the call frame alignment of a type in bytes for a target. See the method llvm::DataLayout::getTypeABISize
.
Computes the preferred alignment of a type in bytes for a target. See the method llvm::DataLayout::getTypeABISize
.
Computes the preferred alignment of a global variable in bytes for a target. See the method llvm::DataLayout::getPreferredAlignment
.
Computes the structure element that contains the byte offset for a target. See the method llvm::StructLayout::getElementContainingOffset
.
Computes the byte offset of the indexed struct element for a target. See the method llvm::StructLayout::getElementContainingOffset
.