LLVM  13.0.0git
WarnMissedTransforms.h
Go to the documentation of this file.
1 //===- WarnMissedTransforms.h -----------------------------------*- C++ -*-===//
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 // Emit warnings if forced code transformations have not been performed.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef LLVM_TRANSFORMS_SCALAR_WARNMISSEDTRANSFORMS_H
14 #define LLVM_TRANSFORMS_SCALAR_WARNMISSEDTRANSFORMS_H
15 
16 #include "llvm/IR/PassManager.h"
17 
18 namespace llvm {
19 class Function;
20 class Loop;
21 class LPMUpdater;
22 
23 // New pass manager boilerplate.
25  : public PassInfoMixin<WarnMissedTransformationsPass> {
26 public:
28 
30 };
31 
32 // Legacy pass manager boilerplate.
35 } // end namespace llvm
36 
37 #endif // LLVM_TRANSFORMS_SCALAR_WARNMISSEDTRANSFORMS_H
llvm::PreservedAnalyses
A set of analyses that are preserved following a run of a transformation pass.
Definition: PassManager.h:155
llvm::WarnMissedTransformationsPass::WarnMissedTransformationsPass
WarnMissedTransformationsPass()
Definition: WarnMissedTransforms.h:27
llvm
Definition: AllocatorList.h:23
Pass
print lazy value Lazy Value Info Printer Pass
Definition: LazyValueInfo.cpp:1947
llvm::PassInfoMixin
A CRTP mix-in to automatically provide informational APIs needed for passes.
Definition: PassManager.h:374
llvm::Function
Definition: Function.h:61
F
#define F(x, y, z)
Definition: MD5.cpp:56
llvm::initializeWarnMissedTransformationsLegacyPass
void initializeWarnMissedTransformationsLegacyPass(PassRegistry &)
llvm::WarnMissedTransformationsPass::run
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
Definition: WarnMissedTransforms.cpp:94
llvm::WarnMissedTransformationsPass
Definition: WarnMissedTransforms.h:24
PassManager.h
llvm::AnalysisManager
A container for analyses that lazily runs them and caches their results.
Definition: InstructionSimplify.h:44
llvm::createWarnMissedTransformationsPass
Pass * createWarnMissedTransformationsPass()
Definition: WarnMissedTransforms.cpp:148
llvm::codeview::PublicSymFlags::Function
@ Function