struct AANoReturn

Declaration

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

Description

An AbstractAttribute for noreturn.

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

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)

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

Parameters

const llvm::IRPosition& IRP

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

Parameters

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

bool isAssumedNoReturn() const

Description

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

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

bool isKnownNoReturn() const

Description

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

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