struct AAMemoryBehavior

Declaration

struct AAMemoryBehavior : public IRAttribute { /* full declaration omitted */ };

Description

An abstract interface for all memory related attributes.

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2398

Inherits from: IRAttribute

Member Variables

public static const char ID
Unique ID (due to the unique address)

Method Overview

Methods

AAMemoryBehavior(const llvm::IRPosition& IRP)

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2402

Parameters

const llvm::IRPosition& IRP

static llvm::AAMemoryBehavior& createForPosition(
    const llvm::IRPosition& IRP,
    llvm::Attributor& A)

Description

Create an abstract attribute view for the position \p IRP.

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2439

Parameters

const llvm::IRPosition& IRP
llvm::Attributor& A

bool isAssumedReadNone() const

Description

Return true if we assume that the underlying value is not read or accessed in its respective scope.

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2420

bool isAssumedReadOnly() const

Description

Return true if we assume that the underlying value is not accessed (=written) in its respective scope.

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2428

bool isAssumedWriteOnly() const

Description

Return true if we assume that the underlying value is not read in its respective scope.

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2436

bool isKnownReadNone() const

Description

Return true if we know that the underlying value is not read or accessed in its respective scope.

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2416

bool isKnownReadOnly() const

Description

Return true if we know that the underlying value is not accessed (=written) in its respective scope.

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2424

bool isKnownWriteOnly() const

Description

Return true if we know that the underlying value is not read in its respective scope.

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2432