1(*===-- llvm_vectorize.mli - LLVM OCaml Interface -------------*- OCaml -*-===* 2 * 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 6 * 7 *===----------------------------------------------------------------------===*) 8 9(** Vectorize Transforms. 10 11 This interface provides an OCaml API for LLVM vectorize transforms, the 12 classes in the [LLVMVectorize] library. *) 13 14(** See the [llvm::createLoopVectorizePass] function. *) 15external add_loop_vectorize 16 : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit 17 = "llvm_add_loop_vectorize" 18 19(** See the [llvm::createSLPVectorizerPass] function. *) 20external add_slp_vectorize 21 : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit 22 = "llvm_add_slp_vectorize" 23