|
LLVM 24.0.0git
|
A set of parameters to control various transforms performed by GVN pass. More...
#include "llvm/Transforms/Scalar/GVN.h"
Public Member Functions | |
| GVNOptions ()=default | |
| GVNOptions & | setScalarPRE (bool ScalarPRE) |
| Enables or disables PRE of scalars in GVN. | |
| GVNOptions & | setLoadPRE (bool LoadPRE) |
| Enables or disables PRE of loads in GVN. | |
| GVNOptions & | setLoadInLoopPRE (bool LoadInLoopPRE) |
| GVNOptions & | setLoadPRESplitBackedge (bool LoadPRESplitBackedge) |
| Enables or disables PRE of loads in GVN. | |
| GVNOptions & | setMemDep (bool MemDep) |
| Enables or disables use of MemDepAnalysis. | |
| GVNOptions & | setMemorySSA (bool MemSSA) |
| Enables or disables use of MemorySSA. | |
Public Attributes | |
| std::optional< bool > | AllowScalarPRE |
| std::optional< bool > | AllowLoadPRE |
| std::optional< bool > | AllowLoadInLoopPRE |
| std::optional< bool > | AllowLoadPRESplitBackedge |
| std::optional< bool > | AllowMemDep |
| std::optional< bool > | AllowMemorySSA |
A set of parameters to control various transforms performed by GVN pass.
true - enabling the transformation. false - disabling the transformation. None - relying on a global default. Intended use is to create a default object, modify parameters with additional setters and then pass it to GVN.
|
default |
Referenced by setLoadInLoopPRE(), setLoadPRE(), setLoadPRESplitBackedge(), setMemDep(), setMemorySSA(), and setScalarPRE().
|
inline |
Definition at line 54 of file GVN.h.
References AllowLoadInLoopPRE, and GVNOptions().
|
inline |
Enables or disables PRE of loads in GVN.
Definition at line 49 of file GVN.h.
References AllowLoadPRE, and GVNOptions().
|
inline |
Enables or disables PRE of loads in GVN.
Definition at line 60 of file GVN.h.
References AllowLoadPRESplitBackedge, and GVNOptions().
|
inline |
Enables or disables use of MemDepAnalysis.
Definition at line 66 of file GVN.h.
References AllowMemDep, and GVNOptions().
|
inline |
Enables or disables use of MemorySSA.
Definition at line 72 of file GVN.h.
References AllowMemorySSA, and GVNOptions().
|
inline |
Enables or disables PRE of scalars in GVN.
Definition at line 43 of file GVN.h.
References AllowScalarPRE, and GVNOptions().
| std::optional<bool> llvm::GVNOptions::AllowLoadInLoopPRE |
Definition at line 35 of file GVN.h.
Referenced by setLoadInLoopPRE().
| std::optional<bool> llvm::GVNOptions::AllowLoadPRE |
Definition at line 34 of file GVN.h.
Referenced by setLoadPRE().
| std::optional<bool> llvm::GVNOptions::AllowLoadPRESplitBackedge |
Definition at line 36 of file GVN.h.
Referenced by setLoadPRESplitBackedge().
| std::optional<bool> llvm::GVNOptions::AllowMemDep |
Definition at line 37 of file GVN.h.
Referenced by setMemDep().
| std::optional<bool> llvm::GVNOptions::AllowMemorySSA |
Definition at line 38 of file GVN.h.
Referenced by setMemorySSA().
| std::optional<bool> llvm::GVNOptions::AllowScalarPRE |
Definition at line 33 of file GVN.h.
Referenced by setScalarPRE().