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
17namespace llvm {
18class Module;
19
20/// The instrumentation pass for recording function order.
21class InstrOrderFilePass : public PassInfoMixin<InstrOrderFilePass> {
22public:
23 PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
24};
25
26} // end namespace llvm
27
28#endif // LLVM_TRANSFORMS_INSTRUMENTATION_INSTRORDERFILE_H
29