comparison bindings/ocaml/target/llvm_target.mli @ 120:1172e4bd9c6f

update 4.0.0
author mir3636
date Fri, 25 Nov 2016 19:14:25 +0900
parents 60c9769439b8
children
comparison
equal deleted inserted replaced
101:34baf5011add 120:1172e4bd9c6f
65 65
66 (** [as_string dl] is the string representation of the data layout [dl]. 66 (** [as_string dl] is the string representation of the data layout [dl].
67 See the method [llvm::DataLayout::getStringRepresentation]. *) 67 See the method [llvm::DataLayout::getStringRepresentation]. *)
68 val as_string : t -> string 68 val as_string : t -> string
69 69
70 (** [add_to_pass_manager pm dl] adds the data layout [dl] to
71 the pass manager [pm].
72 See the method [llvm::PassManagerBase::add]. *)
73 val add_to_pass_manager : [<Llvm.PassManager.any] Llvm.PassManager.t ->
74 t -> unit
75
76 (** Returns the byte order of a target, either [Endian.Big] or 70 (** Returns the byte order of a target, either [Endian.Big] or
77 [Endian.Little]. 71 [Endian.Little].
78 See the method [llvm::DataLayout::isLittleEndian]. *) 72 See the method [llvm::DataLayout::isLittleEndian]. *)
79 val byte_order : t -> Endian.t 73 val byte_order : t -> Endian.t
80 74
198 192
199 (** Returns the CPU used while creating this target machine. See 193 (** Returns the CPU used while creating this target machine. See
200 [llvm::TargetMachine::getCPU]. *) 194 [llvm::TargetMachine::getCPU]. *)
201 val cpu : t -> string 195 val cpu : t -> string
202 196
197 (** Returns the data layout of this target machine. *)
198 val data_layout : t -> DataLayout.t
199
203 (** Returns the feature string used while creating this target machine. See 200 (** Returns the feature string used while creating this target machine. See
204 [llvm::TargetMachine::getFeatureString]. *) 201 [llvm::TargetMachine::getFeatureString]. *)
205 val features : t -> string 202 val features : t -> string
206
207 (** Returns the data layout of this target machine. *)
208 val data_layout : t -> DataLayout.t
209 203
210 (** Adds the target-specific analysis passes to the pass manager. 204 (** Adds the target-specific analysis passes to the pass manager.
211 See [llvm::TargetMachine::addAnalysisPasses]. *) 205 See [llvm::TargetMachine::addAnalysisPasses]. *)
212 val add_analysis_passes : [< Llvm.PassManager.any ] Llvm.PassManager.t -> t -> unit 206 val add_analysis_passes : [< Llvm.PassManager.any ] Llvm.PassManager.t -> t -> unit
213 207