LLVM 22.0.0git
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 243 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 245 of file GVNHoist.cpp.

Member Function Documentation

◆ rank()

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

Definition at line 544 of file GVNHoist.cpp.

References A(), llvm::dyn_cast(), and llvm::isa().

◆ run()

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

Definition at line 506 of file GVNHoist.cpp.

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


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