enum GlobalStatus::StoredType
Description
Keep track of what stores to the global look like.
Declared at: llvm/include/llvm/Transforms/Utils/GlobalStatus.h:38
Enumerators
Name | Value | Comment |
---|---|---|
NotStored | 0 | There is no store to this global. It can thus be marked constant. |
InitializerStored | 1 | This global is stored to, but the only thing stored is the constant it was initialized with. This is only tracked for scalar globals. |
StoredOnce | 2 | This global is stored to, but only its initializer and one other value is ever stored to it. If this global isStoredOnce, we track the value stored to it in StoredOnceValue below. This is only tracked for scalar globals. |
Stored | 3 | This global is stored to by multiple values or something else that we cannot track. |