LLVM API Documentation
Public Types | |
enum | StoredType { NotStored, isInitializerStored, isStoredOnce, isStored } |
Public Member Functions | |
GlobalStatus () | |
Public Attributes | |
bool | isLoaded |
enum GlobalStatus::StoredType | StoredType |
Value * | StoredOnceValue |
bool | isNotSuitableForSRA |
Definition at line 61 of file GlobalOpt.cpp.
|
StoredType - Keep track of what stores to the global look like.
Definition at line 68 of file GlobalOpt.cpp. |
|
Definition at line 98 of file GlobalOpt.cpp. |
|
isLoaded - True if the global is ever loaded. If the global isn't ever loaded it can be deleted. Definition at line 64 of file GlobalOpt.cpp. Referenced by AnalyzeGlobal(). |
|
isNotSuitableForSRA - Keep track of whether any SRA preventing users of the global exist. Such users include GEP instruction with variable indexes, and non-gep/load/store users like constant expr casts. Definition at line 96 of file GlobalOpt.cpp. Referenced by AnalyzeGlobal(). |
|
StoredOnceValue - If only one value (besides the initializer constant) is ever stored to this global, keep track of what value it is. Definition at line 91 of file GlobalOpt.cpp. Referenced by AnalyzeGlobal(). |
|
StoredType - Keep track of what stores to the global look like. Referenced by AnalyzeGlobal(). |