|
LLVM
4.0.0
|
#include <ConstantHoisting.h>
Public Member Functions | |
| PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
| bool | runImpl (Function &F, TargetTransformInfo &TTI, DominatorTree &DT, BasicBlock &Entry) |
| Optimize expensive integer constants in the given function. More... | |
| void | releaseMemory () |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< ConstantHoistingPass > | |
| static StringRef | name () |
| Gets the name of the pass we are mixed into. More... | |
Definition at line 95 of file ConstantHoisting.h.
|
inline |
Definition at line 103 of file ConstantHoisting.h.
| PreservedAnalyses ConstantHoistingPass::run | ( | Function & | F, |
| FunctionAnalysisManager & | AM | ||
| ) |
Definition at line 619 of file ConstantHoisting.cpp.
References llvm::PreservedAnalyses::all(), F, llvm::Function::getEntryBlock(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::PreservedAnalyses::none(), and runImpl().
| bool ConstantHoistingPass::runImpl | ( | Function & | F, |
| TargetTransformInfo & | TTI, | ||
| DominatorTree & | DT, | ||
| BasicBlock & | Entry | ||
| ) |
Optimize expensive integer constants in the given function.
Definition at line 589 of file ConstantHoisting.cpp.
1.8.6