struct Attributor::ArgumentReplacementInfo

Declaration

struct Attributor::ArgumentReplacementInfo { /* full declaration omitted */ };

Description

Helper struct used in the communication between an abstract attribute (AA) that wants to change the signature of a function and the Attributor which applies the changes. The struct is partially initialized with the information from the AA (see the constructor). All other members are provided by the Attributor prior to invoking any callbacks.

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

Method Overview

Methods

llvm::Attributor& getAttributor() const

Description

Simple getters, see the corresponding members for details. {

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

unsigned int getNumReplacementArgs() const

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

const llvm::Argument& getReplacedArg() const

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

const llvm::Function& getReplacedFn() const

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

const SmallVectorImpl<llvm::Type*>&
getReplacementTypes() const

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