module DataLayout: sig .. end
type t
val create : string -> t
DataLayout.create rep parses the target data string representation rep.
See the constructor llvm::DataLayout::DataLayout.
val add : t ->
[< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
add_target_data td pm adds the target data td to the pass manager pm.
Does not take ownership of the target data.
See the method llvm::PassManagerBase::add.
val as_string : t -> string
as_string td is the string representation of the target data td.
See the constructor llvm::DataLayout::DataLayout.
val dispose : t -> unit
Deallocates a DataLayout.
See the destructor llvm::DataLayout::~DataLayout.