LLVM API Documentation

Public Types | |
| NotStored | |
| isInitializerStored | |
| isStoredOnce | |
| isStored | |
| enum | StoredType { NotStored, isInitializerStored, isStoredOnce, isStored } |
Public Member Functions | |
| GlobalStatus () | |
Public Attributes | |
| bool | isLoaded |
| enum GlobalStatus::StoredType | StoredType |
| Value * | StoredOnceValue |
| Function * | AccessingFunction |
| bool | HasMultipleAccessingFunctions |
| bool | HasNonInstructionUser |
| bool | isNotSuitableForSRA |
Definition at line 74 of file GlobalOpt.cpp.
StoredType - Keep track of what stores to the global look like.
Definition at line 81 of file GlobalOpt.cpp.
| GlobalStatus::GlobalStatus | ( | ) | [inline] |
Definition at line 122 of file GlobalOpt.cpp.
Definition at line 110 of file GlobalOpt.cpp.
Definition at line 111 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 77 of file GlobalOpt.cpp.
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 120 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 104 of file GlobalOpt.cpp.
StoredType - Keep track of what stores to the global look like.