|
LLVM
5.0.0
|
#include "llvm/Transforms/Scalar/ConstantHoisting.h"
Public Member Functions | |
| PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
| bool | runImpl (Function &F, TargetTransformInfo &TTI, DominatorTree &DT, BlockFrequencyInfo *BFI, 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 96 of file ConstantHoisting.h.
|
inline |
Definition at line 104 of file ConstantHoisting.h.
| PreservedAnalyses ConstantHoistingPass::run | ( | Function & | F, |
| FunctionAnalysisManager & | AM | ||
| ) |
Definition at line 784 of file ConstantHoisting.cpp.
References llvm::PreservedAnalyses::all(), llvm::AMDGPUISD::BFI, ConstHoistWithBlockFrequency, F, llvm::Function::getEntryBlock(), llvm::AnalysisManager< T, TArgs >::getResult(), llvm::PreservedAnalyses::preserveSet(), and runImpl().
| bool ConstantHoistingPass::runImpl | ( | Function & | F, |
| TargetTransformInfo & | TTI, | ||
| DominatorTree & | DT, | ||
| BlockFrequencyInfo * | BFI, | ||
| BasicBlock & | Entry | ||
| ) |
Optimize expensive integer constants in the given function.
Definition at line 752 of file ConstantHoisting.cpp.
References llvm::AMDGPUISD::BFI.
1.8.6