[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / bindings / ocaml / analysis / llvm_analysis.ml
bloba8e5f4ef06ecf576c1696a5005991b0a27c9596c
1 (*===-- llvm_analysis.ml - 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 *===----------------------------------------------------------------------===*)
10 external verify_module : Llvm.llmodule -> string option = "llvm_verify_module"
12 external verify_function : Llvm.llvalue -> bool = "llvm_verify_function"
14 external assert_valid_module : Llvm.llmodule -> unit
15 = "llvm_assert_valid_module"
17 external assert_valid_function : Llvm.llvalue -> unit
18 = "llvm_assert_valid_function"
19 external view_function_cfg : Llvm.llvalue -> unit = "llvm_view_function_cfg"
20 external view_function_cfg_only : Llvm.llvalue -> unit
21 = "llvm_view_function_cfg_only"