Home | History | Annotate | Download | only in Utils
      1 //===- LibCallsShrinkWrap.h - Shrink Wrap Library Calls -------------------===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 //
     10 //===----------------------------------------------------------------------===//
     11 
     12 #ifndef LLVM_TRANSFORMS_UTILS_LIBCALLSSHRINKWRAP_H
     13 #define LLVM_TRANSFORMS_UTILS_LIBCALLSSHRINKWRAP_H
     14 
     15 #include "llvm/IR/PassManager.h"
     16 
     17 namespace llvm {
     18 
     19 class LibCallsShrinkWrapPass : public PassInfoMixin<LibCallsShrinkWrapPass> {
     20 public:
     21   static StringRef name() { return "LibCallsShrinkWrapPass"; }
     22 
     23   PreservedAnalyses run(Function &F, FunctionAnalysisManager &FAM);
     24 };
     25 } // end namespace llvm
     26 
     27 #endif // LLVM_TRANSFORMS_UTILS_LIBCALLSSHRINKWRAP_H
     28