struct AANoCapture

Declaration

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

Description

An abstract interface for all nocapture attributes.

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

Inherits from: IRAttribute

Member Variables

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

Method Overview

Methods

AANoCapture(const llvm::IRPosition& IRP,
            llvm::Attributor& A)

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

Parameters

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

static bool classof(
    const llvm::AbstractAttribute* AA)

Description

This function should return true if the type of the \p AA is AANoCapture

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

Parameters

const llvm::AbstractAttribute* AA

static llvm::AANoCapture& 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:3850

Parameters

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

const char* getIdAddr() const

Description

See AbstractAttribute::getIdAddr()

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

const std::string getName() const

Description

See AbstractAttribute::getName()

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

bool isAssumedNoCapture() const

Description

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

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

bool isAssumedNoCaptureMaybeReturned() const

Description

Return true if we assume that the underlying value is not captured in its respective scope but we allow it to escape through a "return".

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

bool isKnownNoCapture() const

Description

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

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

bool isKnownNoCaptureMaybeReturned() const

Description

Return true if we know that the underlying value is not captured in its respective scope but we allow it to escape through a "return".

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