struct AANoFree

Declaration

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

Description

An AbstractAttribute for nofree.

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

Inherits from: IRAttribute

Member Variables

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

Method Overview

Methods

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

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

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 AANoFree

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

Parameters

const llvm::AbstractAttribute* AA

static llvm::AANoFree& 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:3397

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

const std::string getName() const

Description

See AbstractAttribute::getName()

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

bool isAssumedNoFree() const

Description

Return true if "nofree" is assumed.

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

bool isKnownNoFree() const

Description

Return true if "nofree" is known.

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