LLVM 20.0.0git
Public Member Functions | List of all members
llvm::GVNHoist Class Reference

Public Member Functions

 GVNHoist (DominatorTree *DT, PostDominatorTree *PDT, AliasAnalysis *AA, MemoryDependenceResults *MD, MemorySSA *MSSA)
 
bool run (Function &F)
 
unsigned int rank (const Value *V) const
 

Detailed Description

Definition at line 244 of file GVNHoist.cpp.

Constructor & Destructor Documentation

◆ GVNHoist()

llvm::GVNHoist::GVNHoist ( DominatorTree DT,
PostDominatorTree PDT,
AliasAnalysis AA,
MemoryDependenceResults MD,
MemorySSA MSSA 
)
inline

Definition at line 246 of file GVNHoist.cpp.

References llvm::MemorySSA::ensureOptimizedUses().

Member Function Documentation

◆ rank()

unsigned int llvm::GVNHoist::rank ( const Value V) const

◆ run()

bool llvm::GVNHoist::run ( Function F)

Definition at line 507 of file GVNHoist.cpp.

References llvm::depth_first(), F, I, and MaxChainLength.


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