1 //===- LibCallsShrinkWrap.h - Shrink Wrap Library Calls -------------------===//
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 //===----------------------------------------------------------------------===//
11 #ifndef LLVM_TRANSFORMS_UTILS_LIBCALLSSHRINKWRAP_H
12 #define LLVM_TRANSFORMS_UTILS_LIBCALLSSHRINKWRAP_H
14 #include "llvm/IR/PassManager.h"
18 class LibCallsShrinkWrapPass
: public PassInfoMixin
<LibCallsShrinkWrapPass
> {
20 static StringRef
name() { return "LibCallsShrinkWrapPass"; }
22 PreservedAnalyses
run(Function
&F
, FunctionAnalysisManager
&FAM
);
24 } // end namespace llvm
26 #endif // LLVM_TRANSFORMS_UTILS_LIBCALLSSHRINKWRAP_H