LLVM: include/llvm/Transforms/InstCombine/InstCombine.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16#ifndef LLVM_TRANSFORMS_INSTCOMBINE_INSTCOMBINE_H
17#define LLVM_TRANSFORMS_INSTCOMBINE_INSTCOMBINE_H
18
23
24#define DEBUG_TYPE "instcombine"
26
27namespace llvm {
28
30
48
50private:
53 static char ID;
54
55public:
60
62};
63
64
65
66
67
70
71public:
73
75
78};
79
80
81
82
83
84
85
86
87
88
89
90
91
93}
94
95#undef DEBUG_TYPE
96
97#endif
static bool runOnFunction(Function &F, bool PostInlining)
This header defines various interfaces for pass management in LLVM.
Represent the analysis usage information of a pass.
FunctionPass class - This class is used to implement most global optimizations.
LLVM_ABI InstCombinePass(InstCombineOptions Opts={})
LLVM_ABI void printPipeline(raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
LLVM_ABI PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
InstructionCombiningPass()
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...
static char ID
Definition InstCombine.h:72
InstructionWorklist - This is the worklist management logic for InstCombine and other simplification ...
A set of analyses that are preserved following a run of a transformation pass.
StringRef - Represent a constant reference to a string, i.e.
LLVM Value Representation.
An efficient, type-erasing, non-owning reference to a callable.
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an optimization pass for GlobalISel generic memory operations.
LLVM_ABI FunctionPass * createInstructionCombiningPass()
AnalysisManager< Function > FunctionAnalysisManager
Convenience typedef for the Function analysis manager.
static constexpr unsigned InstCombineDefaultMaxIterations
Definition InstCombine.h:29
Definition InstCombine.h:31
bool VerifyFixpoint
Definition InstCombine.h:33
InstCombineOptions & setMaxIterations(unsigned Value)
Definition InstCombine.h:43
InstCombineOptions & setVerifyFixpoint(bool Value)
Definition InstCombine.h:38
InstCombineOptions()=default
unsigned MaxIterations
Definition InstCombine.h:34
A CRTP mix-in to automatically provide informational APIs needed for passes.