|
LLVM 22.0.0git
|
Represents offset+length into a ConstantDataArray. More...
#include "llvm/Analysis/ValueTracking.h"
Public Member Functions | |
| void | move (uint64_t Delta) |
| Moves the Offset and adjusts Length accordingly. | |
| uint64_t | operator[] (unsigned I) const |
| Convenience accessor for elements in the slice. | |
Public Attributes | |
| const ConstantDataArray * | Array |
| ConstantDataArray pointer. | |
| uint64_t | Offset |
| Slice starts at this Offset. | |
| uint64_t | Length |
| Length of the slice. | |
Represents offset+length into a ConstantDataArray.
Definition at line 374 of file ValueTracking.h.
|
inline |
Moves the Offset and adjusts Length accordingly.
Definition at line 386 of file ValueTracking.h.
References assert(), Length, and Offset.
Referenced by getMemcpyLoadsAndStores().
Convenience accessor for elements in the slice.
Definition at line 393 of file ValueTracking.h.
| const ConstantDataArray* llvm::ConstantDataArraySlice::Array |
ConstantDataArray pointer.
nullptr indicates a zeroinitializer (a valid initializer, it just doesn't fit the ConstantDataArray interface).
Definition at line 377 of file ValueTracking.h.
Referenced by llvm::getConstantStringInfo(), getMemcpyLoadsAndStores(), and operator[]().
| uint64_t llvm::ConstantDataArraySlice::Length |
Length of the slice.
Definition at line 383 of file ValueTracking.h.
Referenced by getMemcpyLoadsAndStores(), and move().
| uint64_t llvm::ConstantDataArraySlice::Offset |
Slice starts at this Offset.
Definition at line 380 of file ValueTracking.h.
Referenced by getMemcpyLoadsAndStores(), move(), and operator[]().