1//===- InstrOrderFile.h ---- Late IR instrumentation for order file ----===//
2//
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
6//
7//===----------------------------------------------------------------------===//
8//
9//===----------------------------------------------------------------------===//
10
11#ifndef LLVM_TRANSFORMS_INSTRUMENTATION_INSTRORDERFILE_H
12#define LLVM_TRANSFORMS_INSTRUMENTATION_INSTRORDERFILE_H
13
14#include "llvm/IR/PassManager.h"
15
16namespace llvm {
17class Module;
18
19/// The instrumentation pass for recording function order.
20class InstrOrderFilePass : public PassInfoMixin<InstrOrderFilePass> {
21public:
22 PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
23};
24
25} // end namespace llvm
26
27#endif // LLVM_TRANSFORMS_INSTRUMENTATION_INSTRORDERFILE_H
28

source code of llvm/include/llvm/Transforms/Instrumentation/InstrOrderFile.h