class LocationSize

Declaration

class LocationSize { /* full declaration omitted */ };

Declared at: llvm/include/llvm/Analysis/MemoryLocation.h:66

Member Variables

private uint64_t Value

Method Overview

  • public constexpr LocationSize(uint64_t Raw)
  • private constexpr LocationSize(uint64_t Raw, llvm::LocationSize::DirectConstruction)
  • public static constexpr llvm::LocationSize afterPointer()
  • public static constexpr llvm::LocationSize beforeOrAfterPointer()
  • public uint64_t getValue() const
  • public bool hasValue() const
  • public bool isPrecise() const
  • public bool isZero() const
  • public static constexpr llvm::LocationSize mapEmpty()
  • public static constexpr llvm::LocationSize mapTombstone()
  • public bool mayBeBeforePointer() const
  • public static llvm::LocationSize precise(llvm::TypeSize Value)
  • public static llvm::LocationSize precise(uint64_t Value)
  • public void print(llvm::raw_ostream & OS) const
  • public uint64_t toRaw() const
  • public llvm::LocationSize unionWith(llvm::LocationSize Other) const
  • public static llvm::LocationSize upperBound(llvm::TypeSize Value)
  • public static llvm::LocationSize upperBound(uint64_t Value)

Methods

constexpr LocationSize(uint64_t Raw)

Declared at: llvm/include/llvm/Analysis/MemoryLocation.h:98

Parameters

uint64_t Raw

constexpr LocationSize(
    uint64_t Raw,
    llvm::LocationSize::DirectConstruction)

Declared at: llvm/include/llvm/Analysis/MemoryLocation.h:84

Parameters

uint64_t Raw
llvm::LocationSize::DirectConstruction

static constexpr llvm::LocationSize afterPointer()

Description

Any location after the base pointer (but still within the underlying object).

Declared at: llvm/include/llvm/Analysis/MemoryLocation.h:124

static constexpr llvm::LocationSize
beforeOrAfterPointer()

Description

Any location before or after the base pointer (but still within the underlying object).

Declared at: llvm/include/llvm/Analysis/MemoryLocation.h:130

uint64_t getValue() const

Declared at: llvm/include/llvm/Analysis/MemoryLocation.h:159

bool hasValue() const

Declared at: llvm/include/llvm/Analysis/MemoryLocation.h:156

bool isPrecise() const

Declared at: llvm/include/llvm/Analysis/MemoryLocation.h:166

bool isZero() const

Declared at: llvm/include/llvm/Analysis/MemoryLocation.h:171

static constexpr llvm::LocationSize mapEmpty()

Declared at: llvm/include/llvm/Analysis/MemoryLocation.h:138

static constexpr llvm::LocationSize mapTombstone()

Declared at: llvm/include/llvm/Analysis/MemoryLocation.h:135

bool mayBeBeforePointer() const

Description

Whether accesses before the base pointer are possible.

Declared at: llvm/include/llvm/Analysis/MemoryLocation.h:174

static llvm::LocationSize precise(
    llvm::TypeSize Value)

Declared at: llvm/include/llvm/Analysis/MemoryLocation.h:102

Parameters

llvm::TypeSize Value

static llvm::LocationSize precise(uint64_t Value)

Declared at: llvm/include/llvm/Analysis/MemoryLocation.h:101

Parameters

uint64_t Value

void print(llvm::raw_ostream& OS) const

Declared at: llvm/include/llvm/Analysis/MemoryLocation.h:189

Parameters

llvm::raw_ostream& OS

uint64_t toRaw() const

Declared at: llvm/include/llvm/Analysis/MemoryLocation.h:193

llvm::LocationSize unionWith(
    llvm::LocationSize Other) const

Declared at: llvm/include/llvm/Analysis/MemoryLocation.h:144

Parameters

llvm::LocationSize Other

static llvm::LocationSize upperBound(
    llvm::TypeSize Value)

Declared at: llvm/include/llvm/Analysis/MemoryLocation.h:116

Parameters

llvm::TypeSize Value

static llvm::LocationSize upperBound(
    uint64_t Value)

Declared at: llvm/include/llvm/Analysis/MemoryLocation.h:108

Parameters

uint64_t Value