State for dereferenceable attribute
Synopsis
Declared in <llvm/Transforms/IPO/Attributor.h>
struct DerefState
: AbstractState
Base Classes
Name |
Description |
An interface to query the internal state of an abstract attribute. |
Member Functions
Name |
Description |
Add accessed bytes to the map. |
|
Helper function to calculate dereferenceable bytes from current known bytes and accessed bytes. |
|
|
See AbstractState::indicateOptimisticFixpoint(...) |
|
See AbstractState::indicatePessimisticFixpoint(...) |
|
See AbstractState::isAtFixpoint() |
|
See AbstractState::isValidState() |
See IntegerStateBase::operator&= |
|
See IntegerStateBase::operator+= |
|
See IntegerStateBase::operatorˆ= |
|
See IntegerStateBase::operator|= |
|
Update assumed dereferenceable bytes. |
|
Update known dereferenceable bytes. |
|
Equality for DerefState. |
|
Inequality for DerefState. |
Static Member Functions
Name |
Description |
Return the worst possible representable state. |
Data Members
Name |
Description |
Map representing for accessed memory offsets and sizes. A key is Offset and a value is size. If there is a load/store instruction something like, p[offset]= v; (offset, sizeof(v)) will be inserted to this map. std::map is used because we want to iterate keys in ascending order. |
|
State representing for dereferenceable bytes. |
|
State representing that whether the value is globaly dereferenceable. |
Created with MrDocs