1 (*===-- llvm_vectorize.mli - LLVM OCaml Interface -------------*- OCaml -*-===*
3 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 * See https://llvm.org/LICENSE.txt for license information.
5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 *===----------------------------------------------------------------------===*)
9 (** Vectorize Transforms.
11 This interface provides an OCaml API for LLVM vectorize transforms, the
12 classes in the [LLVMVectorize] library. *)
14 (** See the [llvm::createLoopVectorizePass] function. *)
15 external add_loop_vectorize
16 : [<Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
17 = "llvm_add_loop_vectorize"
19 (** See the [llvm::createSLPVectorizerPass] function. *)
20 external add_slp_vectorize
21 : [<Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
22 = "llvm_add_slp_vectorize"