struct AAWillReturn

Declaration

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

Description

An abstract attribute for willreturn.

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

Inherits from: IRAttribute

Member Variables

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

Method Overview

Methods

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

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

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 AAWillReturn

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

Parameters

const llvm::AbstractAttribute* AA

static llvm::AAWillReturn& 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:3254

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

const std::string getName() const

Description

See AbstractAttribute::getName()

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

bool isAssumedWillReturn() const

Description

Return true if "willreturn" is assumed.

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

bool isKnownWillReturn() const

Description

Return true if "willreturn" is known.

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