class ConstantHoistingPass
Declaration
class ConstantHoistingPass : public PassInfoMixin { /* full declaration omitted */ };
Description
A CRTP mix-in to automatically provide informational APIs needed for passes. This provides some boilerplate for types that are passes.
Declared at: llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h:124
Inherits from: PassInfoMixin
Method Overview
- public void cleanup()
- public llvm::PreservedAnalyses run(llvm::Function & F, llvm::FunctionAnalysisManager & AM)
- public bool runImpl(llvm::Function & F, llvm::TargetTransformInfo & TTI, llvm::DominatorTree & DT, llvm::BlockFrequencyInfo * BFI, llvm::BasicBlock & Entry, llvm::ProfileSummaryInfo * PSI)
Methods
¶void cleanup()
void cleanup()
Declared at: llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h:133
¶llvm::PreservedAnalyses run(
llvm::Function& F,
llvm::FunctionAnalysisManager& AM)
llvm::PreservedAnalyses run(
llvm::Function& F,
llvm::FunctionAnalysisManager& AM)
Declared at: llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h:126
Parameters
¶bool runImpl(llvm::Function& F,
llvm::TargetTransformInfo& TTI,
llvm::DominatorTree& DT,
llvm::BlockFrequencyInfo* BFI,
llvm::BasicBlock& Entry,
llvm::ProfileSummaryInfo* PSI)
bool runImpl(llvm::Function& F,
llvm::TargetTransformInfo& TTI,
llvm::DominatorTree& DT,
llvm::BlockFrequencyInfo* BFI,
llvm::BasicBlock& Entry,
llvm::ProfileSummaryInfo* PSI)
Declared at: llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h:129