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:2306

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)

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

Parameters

const llvm::IRPosition& IRP

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:2350

Parameters

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

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:2335

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:2345

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:2331

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:2339