struct AANoReturn

Declaration

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

Description

An AbstractAttribute for noreturn.

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

Inherits from: IRAttribute

Member Variables

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

Method Overview

Methods

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

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

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 AANoReturn

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

Parameters

const llvm::AbstractAttribute* AA

static llvm::AANoReturn& 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:3427

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

const std::string getName() const

Description

See AbstractAttribute::getName()

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

bool isAssumedNoReturn() const

Description

Return true if the underlying object is assumed to never return.

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

bool isKnownNoReturn() const

Description

Return true if the underlying object is known to never return.

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