Represents offset+length into a ConstantDataArray.

Synopsis

Declared in <llvm/Analysis/ValueTracking.h>

struct ConstantDataArraySlice;

Member Functions

Name

Description

move

Moves the Offset and adjusts Length accordingly.

operator[]

Convenience accessor for elements in the slice.

Data Members

Name

Description

Array

ConstantDataArray pointer. nullptr indicates a zeroinitializer (a valid initializer, it just doesn't fit the ConstantDataArray interface).

Length

Length of the slice.

Offset

Slice starts at this Offset.

Created with MrDocs