LLVM  10.0.0svn
AggressiveInstCombine.h
Go to the documentation of this file.
1 //===- AggressiveInstCombine.h - AggressiveInstCombine pass -----*- 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 /// \file
9 ///
10 /// This file provides the primary interface to the aggressive instcombine pass.
11 /// This pass is suitable for use in the new pass manager. For a pass that works
12 /// with the legacy pass manager, please use
13 /// \c createAggressiveInstCombinerPass().
14 ///
15 //===----------------------------------------------------------------------===//
16 
17 #ifndef LLVM_TRANSFORMS_AGGRESSIVE_INSTCOMBINE_INSTCOMBINE_H
18 #define LLVM_TRANSFORMS_AGGRESSIVE_INSTCOMBINE_INSTCOMBINE_H
19 
20 #include "llvm/IR/Function.h"
21 #include "llvm/IR/PassManager.h"
22 
23 namespace llvm {
24 
26  : public PassInfoMixin<AggressiveInstCombinePass> {
27 
28 public:
30 };
31 
32 //===----------------------------------------------------------------------===//
33 //
34 // AggressiveInstCombiner - Combine expression patterns to form expressions with
35 // fewer, simple instructions. This pass does not modify the CFG.
36 //
38 }
39 
40 #endif
This class represents lattice values for constants.
Definition: AllocatorList.h:23
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
F(f)
FunctionPass * createAggressiveInstCombinerPass()
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
FunctionPass class - This class is used to implement most global optimizations.
Definition: Pass.h:284
This header defines various interfaces for pass management in LLVM.