LLVM
15.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 & | setPRE (bool PRE) |
Enables or disables PRE in GVN. More... | |
GVNOptions & | setLoadPRE (bool LoadPRE) |
Enables or disables PRE of loads in GVN. More... | |
GVNOptions & | setLoadInLoopPRE (bool LoadInLoopPRE) |
GVNOptions & | setLoadPRESplitBackedge (bool LoadPRESplitBackedge) |
Enables or disables PRE of loads in GVN. More... | |
GVNOptions & | setMemDep (bool MemDep) |
Enables or disables use of MemDepAnalysis. More... | |
Public Attributes | |
Optional< bool > | AllowPRE = None |
Optional< bool > | AllowLoadPRE = None |
Optional< bool > | AllowLoadInLoopPRE = None |
Optional< bool > | AllowLoadPRESplitBackedge = None |
Optional< bool > | AllowMemDep = None |
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 |
|
inline |
Definition at line 95 of file GVN.h.
References AllowLoadInLoopPRE.
|
inline |
Enables or disables PRE of loads in GVN.
Definition at line 90 of file GVN.h.
References AllowLoadPRE.
|
inline |
Enables or disables PRE of loads in GVN.
Definition at line 101 of file GVN.h.
References AllowLoadPRESplitBackedge.
|
inline |
Enables or disables use of MemDepAnalysis.
Definition at line 107 of file GVN.h.
References AllowMemDep.
|
inline |
Definition at line 77 of file GVN.h.
Referenced by setLoadInLoopPRE().
Definition at line 76 of file GVN.h.
Referenced by setLoadPRE().
Definition at line 78 of file GVN.h.
Referenced by setLoadPRESplitBackedge().
Definition at line 79 of file GVN.h.
Referenced by setMemDep().