|
LLVM
7.0.0
|
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. More... | |
| uint64_t | operator[] (unsigned I) const |
| Convenience accessor for elements in the slice. More... | |
Public Attributes | |
| const ConstantDataArray * | Array |
| ConstantDataArray pointer. More... | |
| uint64_t | Offset |
| Slice starts at this Offset. More... | |
| uint64_t | Length |
| Length of the slice. More... | |
Represents offset+length into a ConstantDataArray.
Definition at line 242 of file ValueTracking.h.
|
inline |
Moves the Offset and adjusts Length accordingly.
Definition at line 254 of file ValueTracking.h.
References assert().
Referenced by getMemcpyLoadsAndStores().
|
inline |
Convenience accessor for elements in the slice.
Definition at line 261 of file ValueTracking.h.
References llvm::getArgumentAliasingToReturnedPointer(), llvm::getConstantDataArrayInfo(), llvm::getConstantStringInfo(), llvm::ConstantDataSequential::getElementAsInteger(), llvm::GetStringLength(), and Offset.
| 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 245 of file ValueTracking.h.
Referenced by llvm::getConstantDataArrayInfo(), llvm::getConstantStringInfo(), getMemcpyLoadsAndStores(), getMemsetStringVal(), GetStringLengthH(), and isLocallyOpenedFile().
| uint64_t llvm::ConstantDataArraySlice::Length |
Length of the slice.
Definition at line 251 of file ValueTracking.h.
Referenced by llvm::getConstantDataArrayInfo(), llvm::getConstantStringInfo(), getMemcpyLoadsAndStores(), getMemsetStringVal(), GetStringLengthH(), and isLocallyOpenedFile().
| uint64_t llvm::ConstantDataArraySlice::Offset |
Slice starts at this Offset.
Definition at line 248 of file ValueTracking.h.
Referenced by llvm::getConstantDataArrayInfo(), llvm::getConstantStringInfo(), getMemcpyLoadsAndStores(), GetStringLengthH(), isLocallyOpenedFile(), and operator[]().
1.8.13