mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
360c7ed497
Also, rearrange the functions in a way that allows to quickly compare C headers and .mli/glue files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220842 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
996 B
OCaml
29 lines
996 B
OCaml
(*===-- llvm_vectorize.mli - LLVM OCaml Interface -------------*- OCaml -*-===*
|
|
*
|
|
* The LLVM Compiler Infrastructure
|
|
*
|
|
* This file is distributed under the University of Illinois Open Source
|
|
* License. See LICENSE.TXT for details.
|
|
*
|
|
*===----------------------------------------------------------------------===*)
|
|
|
|
(** Vectorize Transforms.
|
|
|
|
This interface provides an OCaml API for LLVM vectorize transforms, the
|
|
classes in the [LLVMVectorize] library. *)
|
|
|
|
(** See the [llvm::createBBVectorizePass] function. *)
|
|
external add_bb_vectorize
|
|
: [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
|
|
= "llvm_add_bb_vectorize"
|
|
|
|
(** See the [llvm::createLoopVectorizePass] function. *)
|
|
external add_loop_vectorize
|
|
: [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
|
|
= "llvm_add_loop_vectorize"
|
|
|
|
(** See the [llvm::createSLPVectorizerPass] function. *)
|
|
external add_slp_vectorize
|
|
: [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
|
|
= "llvm_add_slp_vectorize"
|