Home | History | Annotate | Line # | Download | only in Instrumentation
      1 //===- InstrOrderFile.h ---- Late IR instrumentation for order file ----===//
      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_INSTRUMENTATION_INSTRORDERFILE_H
     13 #define LLVM_TRANSFORMS_INSTRUMENTATION_INSTRORDERFILE_H
     14 
     15 #include "llvm/IR/PassManager.h"
     16 
     17 namespace llvm {
     18 class Module;
     19 
     20 /// The instrumentation pass for recording function order.
     21 class InstrOrderFilePass : public PassInfoMixin<InstrOrderFilePass> {
     22 public:
     23   PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
     24 };
     25 
     26 } // end namespace llvm
     27 
     28 #endif // LLVM_TRANSFORMS_INSTRUMENTATION_INSTRORDERFILE_H
     29