LLVM  10.0.0svn
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
Pass interface - Implemented by all &#39;passes&#39;.
Definition: Pass.h:80
This class represents lattice values for constants.
Definition: AllocatorList.h:23
F(f)
A CRTP mix-in to automatically provide informational APIs needed for passes.
Definition: PassManager.h:372
A set of analyses that are preserved following a run of a transformation pass.
Definition: PassManager.h:153
Pass * createWarnMissedTransformationsPass()
void initializeWarnMissedTransformationsLegacyPass(PassRegistry &)
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
Definition: PassRegistry.h:38
A container for analyses that lazily runs them and caches their results.
This header defines various interfaces for pass management in LLVM.
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)