LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::ConstantHoistingPass Class Reference

#include "llvm/Transforms/Scalar/ConstantHoisting.h"

Inheritance diagram for llvm::ConstantHoistingPass:
Inheritance graph
[legend]
Collaboration diagram for llvm::ConstantHoistingPass:
Collaboration graph
[legend]

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...
 

Detailed Description

Definition at line 109 of file ConstantHoisting.h.

Member Function Documentation

◆ releaseMemory()

void llvm::ConstantHoistingPass::releaseMemory ( )
inline

Definition at line 117 of file ConstantHoisting.h.

References llvm::AMDGPUISD::BFI, E, and llvm::consthoist::ConstantUser::Inst.

◆ run()

PreservedAnalyses ConstantHoistingPass::run ( Function F,
FunctionAnalysisManager AM 
)

◆ 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 777 of file ConstantHoisting.cpp.

References llvm::AMDGPUISD::BFI.


The documentation for this class was generated from the following files: