14#ifndef LLVM_TRANSFORMS_SCALAR_EARLYCSE_H
15#define LLVM_TRANSFORMS_SCALAR_EARLYCSE_H
This header defines various interfaces for pass management in LLVM.
A container for analyses that lazily runs them and caches their results.
A set of analyses that are preserved following a run of a transformation pass.
StringRef - Represent a constant reference to a string, i.e.
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.
A simple and fast domtree-based CSE pass.
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
Run the pass over the function.
void printPipeline(raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
EarlyCSEPass(bool UseMemorySSA=false)
A CRTP mix-in to automatically provide informational APIs needed for passes.