package rune

  1. Overview
  2. Docs
Automatic differentiation and JIT compilation for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

raven-1.0.0.alpha2.tbz
sha256=93abc49d075a1754442ccf495645bc4fdc83e4c66391ec8aca8fa15d2b4f44d2
sha512=5eb958c51f30ae46abded4c96f48d1825f79c7ce03f975f9a6237cdfed0d62c0b4a0774296694def391573d849d1f869919c49008acffca95946b818ad325f6f

doc/llvm_target/Llvm_target/DataLayout/index.html

Module Llvm_target.DataLayoutSource

Sourcetype t
Sourceval of_string : string -> t

of_string rep parses the data layout string representation rep. See the constructor llvm::DataLayout::DataLayout.

Sourceval as_string : t -> string

as_string dl is the string representation of the data layout dl. See the method llvm::DataLayout::getStringRepresentation.

Sourceval byte_order : t -> Endian.t

Returns the byte order of a target, either Endian.Big or Endian.Little. See the method llvm::DataLayout::isLittleEndian.

Sourceval pointer_size : t -> int

Returns the pointer size in bytes for a target. See the method llvm::DataLayout::getPointerSize.

Sourceval intptr_type : Llvm.llcontext -> t -> Llvm.lltype

Returns the integer type that is the same size as a pointer on a target. See the method llvm::DataLayout::getIntPtrType.

Sourceval qualified_pointer_size : int -> t -> int

Returns the pointer size in bytes for a target in a given address space. See the method llvm::DataLayout::getPointerSize.

Sourceval qualified_intptr_type : Llvm.llcontext -> int -> t -> Llvm.lltype

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.

Sourceval size_in_bits : Llvm.lltype -> t -> Stdlib.Int64.t

Computes the size of a type in bits for a target. See the method llvm::DataLayout::getTypeSizeInBits.

Sourceval store_size : Llvm.lltype -> t -> Stdlib.Int64.t

Computes the storage size of a type in bytes for a target. See the method llvm::DataLayout::getTypeStoreSize.

Sourceval abi_size : Llvm.lltype -> t -> Stdlib.Int64.t

Computes the ABI size of a type in bytes for a target. See the method llvm::DataLayout::getTypeAllocSize.

Sourceval abi_align : Llvm.lltype -> t -> int

Computes the ABI alignment of a type in bytes for a target. See the method llvm::DataLayout::getTypeABISize.

Sourceval stack_align : Llvm.lltype -> t -> int

Computes the call frame alignment of a type in bytes for a target. See the method llvm::DataLayout::getTypeABISize.

Sourceval preferred_align : Llvm.lltype -> t -> int

Computes the preferred alignment of a type in bytes for a target. See the method llvm::DataLayout::getTypeABISize.

Sourceval preferred_align_of_global : Llvm.llvalue -> t -> int

Computes the preferred alignment of a global variable in bytes for a target. See the method llvm::DataLayout::getPreferredAlignment.

Sourceval element_at_offset : Llvm.lltype -> Stdlib.Int64.t -> t -> int

Computes the structure element that contains the byte offset for a target. See the method llvm::StructLayout::getElementContainingOffset.

Sourceval offset_of_element : Llvm.lltype -> int -> t -> Stdlib.Int64.t

Computes the byte offset of the indexed struct element for a target. See the method llvm::StructLayout::getElementContainingOffset.