1 /*===-- Scalar.h - Scalar Transformation Library C Interface ----*- C++ -*-===*\
3 |* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
5 |* See https://llvm.org/LICENSE.txt for license information. *|
6 |* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
8 |*===----------------------------------------------------------------------===*|
10 |* This header declares the C interface to libLLVMInstCombine.a, which *|
11 |* combines instructions to form fewer, simple IR instructions. *|
13 \*===----------------------------------------------------------------------===*/
15 #ifndef LLVM_C_TRANSFORMS_INSTCOMBINE_H
16 #define LLVM_C_TRANSFORMS_INSTCOMBINE_H
18 #include "llvm-c/ExternC.h"
19 #include "llvm-c/Types.h"
24 * @defgroup LLVMCTransformsInstCombine Instruction Combining transformations
25 * @ingroup LLVMCTransforms
30 /** See llvm::createInstructionCombiningPass function. */
31 void LLVMAddInstructionCombiningPass(LLVMPassManagerRef PM
);