package rune

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

raven-1.0.0.alpha1.tbz
sha256=8e277ed56615d388bc69c4333e43d1acd112b5f2d5d352e2453aef223ff59867
sha512=369eda6df6b84b08f92c8957954d107058fb8d3d8374082e074b56f3a139351b3ae6e3a99f2d4a4a2930dd950fd609593467e502368a13ad6217b571382da28c

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.