struct ConstantDataArraySlice

Declaration

struct ConstantDataArraySlice { /* full declaration omitted */ };

Description

Represents offset+length into a ConstantDataArray.

Declared at: llvm/include/llvm/Analysis/ValueTracking.h:274

Member Variables

public const llvm::ConstantDataArray* Array
ConstantDataArray pointer. nullptr indicates a zeroinitializer (a valid initializer, it just doesn't fit the ConstantDataArray interface).
public uint64_t Offset
Slice starts at this Offset.
public uint64_t Length
Length of the slice.

Method Overview

  • public void move(uint64_t Delta)

Methods

ΒΆvoid move(uint64_t Delta)

Description

Moves the Offset and adjusts Length accordingly.

Declared at: llvm/include/llvm/Analysis/ValueTracking.h:286

Parameters

uint64_t Delta