LLVM  15.0.0git
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_AGGRESSIVEINSTCOMBINE_AGGRESSIVEINSTCOMBINE_H
18 #define LLVM_TRANSFORMS_AGGRESSIVEINSTCOMBINE_AGGRESSIVEINSTCOMBINE_H
19 
20 #include "llvm/IR/PassManager.h"
21 
22 namespace llvm {
23 
24 class Function;
25 class FunctionPass;
26 
28  : public PassInfoMixin<AggressiveInstCombinePass> {
29 
30 public:
32 };
33 
34 //===----------------------------------------------------------------------===//
35 //
36 // AggressiveInstCombiner - Combine expression patterns to form expressions with
37 // fewer, simple instructions. This pass does not modify the CFG.
38 //
40 }
41 
42 #endif
llvm::PreservedAnalyses
A set of analyses that are preserved following a run of a transformation pass.
Definition: PassManager.h:152
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:17
llvm::PassInfoMixin
A CRTP mix-in to automatically provide informational APIs needed for passes.
Definition: PassManager.h:371
llvm::Function
Definition: Function.h:60
llvm::AggressiveInstCombinePass::run
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
Definition: AggressiveInstCombine.cpp:495
llvm::AggressiveInstCombinePass
Definition: AggressiveInstCombine.h:27
F
#define F(x, y, z)
Definition: MD5.cpp:55
llvm::createAggressiveInstCombinerPass
FunctionPass * createAggressiveInstCombinerPass()
Definition: AggressiveInstCombine.cpp:531
PassManager.h
llvm::AnalysisManager
A container for analyses that lazily runs them and caches their results.
Definition: InstructionSimplify.h:42
llvm::FunctionPass
FunctionPass class - This class is used to implement most global optimizations.
Definition: Pass.h:308
llvm::codeview::PublicSymFlags::Function
@ Function