LLVM  8.0.1
AggressiveInstCombine.h
Go to the documentation of this file.
1 //===- AggressiveInstCombine.h - AggressiveInstCombine pass -----*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 /// \file
10 ///
11 /// This file provides the primary interface to the aggressive instcombine pass.
12 /// This pass is suitable for use in the new pass manager. For a pass that works
13 /// with the legacy pass manager, please use
14 /// \c createAggressiveInstCombinerPass().
15 ///
16 //===----------------------------------------------------------------------===//
17 
18 #ifndef LLVM_TRANSFORMS_AGGRESSIVE_INSTCOMBINE_INSTCOMBINE_H
19 #define LLVM_TRANSFORMS_AGGRESSIVE_INSTCOMBINE_INSTCOMBINE_H
20 
21 #include "llvm/IR/Function.h"
22 #include "llvm/IR/PassManager.h"
23 
24 namespace llvm {
25 
27  : public PassInfoMixin<AggressiveInstCombinePass> {
28 
29 public:
31 };
32 
33 //===----------------------------------------------------------------------===//
34 //
35 // AggressiveInstCombiner - Combine expression patterns to form expressions with
36 // fewer, simple instructions. This pass does not modify the CFG.
37 //
39 }
40 
41 #endif
This class represents lattice values for constants.
Definition: AllocatorList.h:24
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:366
A set of analyses that are preserved following a run of a transformation pass.
Definition: PassManager.h:154
FunctionPass class - This class is used to implement most global optimizations.
Definition: Pass.h:285
A container for analyses that lazily runs them and caches their results.
This header defines various interfaces for pass management in LLVM.