|
LLVM 24.0.0git
|
The core GVN pass object. More...
Classes | |
| struct | AvailableValue |
| Represents a particular available value that we know how to materialize. More... | |
| struct | AvailableValueInBlock |
| Represents an AvailableValue which can be rematerialized at the end of the associated BasicBlock. More... | |
Public Member Functions | |
| GVNPassImpl (llvm::GVNOptions Options={}) | |
| void | salvageAndRemoveInstruction (Instruction *I) |
| This removes the specified instruction from our various maps and marks it for deletion. | |
| DominatorTree & | getDominatorTree () const |
| AAResults * | getAliasAnalysis () const |
| MemoryDependenceResults & | getMemDep () const |
| bool | isScalarPREEnabled () const |
| bool | isLoadPREEnabled () const |
| bool | isLoadInLoopPREEnabled () const |
| bool | isLoadPRESplitBackedgeEnabled () const |
| bool | isMemDepEnabled () const |
| bool | isMemorySSAEnabled () const |
Friends | |
| class | llvm::GVNPass |
| class | GVNLegacyPass |
The core GVN pass object.
FIXME: We should have a good summary of the GVN algorithm implemented by this particular pass here.
|
inline |
|
inline |
|
inline |
| bool GVNPassImpl::isLoadInLoopPREEnabled | ( | ) | const |
Definition at line 1173 of file GVN.cpp.
References GVNEnableLoadInLoopPRE.
| bool GVNPassImpl::isLoadPREEnabled | ( | ) | const |
Definition at line 1169 of file GVN.cpp.
References GVNEnableLoadPRE.
| bool GVNPassImpl::isLoadPRESplitBackedgeEnabled | ( | ) | const |
Definition at line 1177 of file GVN.cpp.
References GVNEnableSplitBackedgeInLoadPRE.
| bool GVNPassImpl::isMemDepEnabled | ( | ) | const |
Definition at line 1182 of file GVN.cpp.
References GVNEnableMemDep, and isMemorySSAEnabled().
| bool GVNPassImpl::isMemorySSAEnabled | ( | ) | const |
Definition at line 1191 of file GVN.cpp.
References GVNEnableMemorySSA.
Referenced by isMemDepEnabled().
| bool GVNPassImpl::isScalarPREEnabled | ( | ) | const |
Definition at line 1165 of file GVN.cpp.
References GVNEnableScalarPRE.
| void GVNPassImpl::salvageAndRemoveInstruction | ( | Instruction * | I | ) |
This removes the specified instruction from our various maps and marks it for deletion.
Definition at line 1230 of file GVN.cpp.
References I, llvm::salvageDebugInfo(), and llvm::salvageKnowledge().
|
friend |
Definition at line 307 of file GVN.cpp.
References F, and GVNLegacyPass.
Referenced by GVNLegacyPass.
|
friend |