struct AACallEdges

Declaration

struct AACallEdges : public StateWrapper, public AACallGraphNode { /* full declaration omitted */ };

Description

An abstract state for querying live call edges. This interface uses the Attributor's optimistic liveness information to compute the edges that are alive.

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

Inherits from: StateWrapper, AACallGraphNode

Member Variables

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

Inherited from AACallGraphNode:

protected A

Method Overview

Inherited from AACallGraphNode:

Methods

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

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

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 AACallEdges.

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

Parameters

const llvm::AbstractAttribute* AA

static llvm::AACallEdges& 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:4743

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

const std::string getName() const

Description

See AbstractAttribute::getName()

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

virtual const SetVector<llvm::Function*>&
getOptimisticEdges() const

Description

Get the optimistic edges.

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

virtual bool hasNonAsmUnknownCallee() const

Description

Is there any call with a unknown callee, excluding any inline asm.

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

virtual bool hasUnknownCallee() const

Description

Is there any call with a unknown callee.

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

llvm::AACallEdgeIterator optimisticEdgesBegin()
    const

Description

Iterator for exploring the call graph.

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

llvm::AACallEdgeIterator optimisticEdgesEnd()
    const

Description

Iterator for exploring the call graph.

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