struct AANoUndef

Declaration

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

Description

An abstract interface for all noundef attributes.

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

Inherits from: IRAttribute

Member Variables

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

Method Overview

Methods

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

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

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 AANoUndef

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

Parameters

const llvm::AbstractAttribute* AA

static llvm::AANoUndef& 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:4657

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

const std::string getName() const

Description

See AbstractAttribute::getName()

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

bool isAssumedNoUndef() const

Description

Return true if we assume that the underlying value is noundef.

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

bool isKnownNoUndef() const

Description

Return true if we know that underlying value is noundef.

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