diff options
Diffstat (limited to 'bindings/ocaml/target/llvm_target.mli')
-rw-r--r-- | bindings/ocaml/target/llvm_target.mli | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/bindings/ocaml/target/llvm_target.mli b/bindings/ocaml/target/llvm_target.mli index 676bc613c649..c59308c34e54 100644 --- a/bindings/ocaml/target/llvm_target.mli +++ b/bindings/ocaml/target/llvm_target.mli @@ -67,12 +67,6 @@ module DataLayout : sig See the method [llvm::DataLayout::getStringRepresentation]. *) val as_string : t -> string - (** [add_to_pass_manager pm dl] adds the data layout [dl] to - the pass manager [pm]. - See the method [llvm::PassManagerBase::add]. *) - val add_to_pass_manager : [<Llvm.PassManager.any] Llvm.PassManager.t -> - t -> unit - (** Returns the byte order of a target, either [Endian.Big] or [Endian.Little]. See the method [llvm::DataLayout::isLittleEndian]. *) @@ -200,13 +194,13 @@ module TargetMachine : sig [llvm::TargetMachine::getCPU]. *) val cpu : t -> string + (** Returns the data layout of this target machine. *) + val data_layout : t -> DataLayout.t + (** Returns the feature string used while creating this target machine. See [llvm::TargetMachine::getFeatureString]. *) val features : t -> string - (** Returns the data layout of this target machine. *) - val data_layout : t -> DataLayout.t - (** Adds the target-specific analysis passes to the pass manager. See [llvm::TargetMachine::addAnalysisPasses]. *) val add_analysis_passes : [< Llvm.PassManager.any ] Llvm.PassManager.t -> t -> unit |