InstrOrderFile.h 1013 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #pragma once
  2. #ifdef __GNUC__
  3. #pragma GCC diagnostic push
  4. #pragma GCC diagnostic ignored "-Wunused-parameter"
  5. #endif
  6. //===- InstrOrderFile.h ---- Late IR instrumentation for order file ----===//
  7. //
  8. // The LLVM Compiler Infrastructure
  9. //
  10. // This file is distributed under the University of Illinois Open Source
  11. // License. See LICENSE.TXT for details.
  12. //
  13. //===----------------------------------------------------------------------===//
  14. //
  15. //===----------------------------------------------------------------------===//
  16. #ifndef LLVM_TRANSFORMS_INSTRORDERFILE_H
  17. #define LLVM_TRANSFORMS_INSTRORDERFILE_H
  18. #include "llvm/IR/PassManager.h"
  19. namespace llvm {
  20. class Module;
  21. /// The instrumentation pass for recording function order.
  22. class InstrOrderFilePass : public PassInfoMixin<InstrOrderFilePass> {
  23. public:
  24. PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
  25. };
  26. } // end namespace llvm
  27. #endif // LLVM_TRANSFORMS_INSTRORDERFILE_H
  28. #ifdef __GNUC__
  29. #pragma GCC diagnostic pop
  30. #endif