llvm/llvm/include/llvm/Transforms/Scalar/LowerConstantIntrinsics.h

//===- LowerConstantIntrinsics.h - Lower constant int. pass -*- C++ -*-========//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
/// \file
///
/// The header file for the LowerConstantIntrinsics pass as used by the new pass
/// manager.
///
//===----------------------------------------------------------------------===//

#ifndef LLVM_TRANSFORMS_SCALAR_LOWERCONSTANTINTRINSICS_H
#define LLVM_TRANSFORMS_SCALAR_LOWERCONSTANTINTRINSICS_H

#include "llvm/IR/PassManager.h"

namespace llvm {

class DominatorTree;
class Function;
class TargetLibraryInfo;

bool lowerConstantIntrinsics(Function &F, const TargetLibraryInfo &TLI,
                             DominatorTree *DT);

struct LowerConstantIntrinsicsPass :
    PassInfoMixin<LowerConstantIntrinsicsPass> {};

}

#endif