OffsetSpan ‐ Used internally by ObjectSizeOffsetVisitor. Represents a point in memory as a pair of allocated bytes before and after it.
Synopsis
Declared in <llvm/Analysis/MemoryBuiltins.h>
struct OffsetSpan;
Description
Before and After fields are signed values. It makes it possible to represent out‐of‐bound access, e.g. as a result of a GEP, at the expense of not being able to represent very large allocation.
Member Functions
Name |
Description |
|
Constructors |
Return true if either Before or After is known. |
|
Return true if both Before and After are known. |
|
Return true if After is known. |
|
Return true if Before is known. |
|
Return true if this offset span equals |
|
Return true if this offset span differs from |
Static Member Functions
Name |
Description |
Return true if |