LLVM
15.0.0git
|
Helper struct necessary as the modular build fails if the virtual method IRAttribute::manifest is defined in the Attributor.cpp. More...
#include "llvm/Transforms/IPO/Attributor.h"
Static Public Member Functions | |
static ChangeStatus | manifestAttrs (Attributor &A, const IRPosition &IRP, const ArrayRef< Attribute > &DeducedAttrs, bool ForceReplace=false) |
Helper struct necessary as the modular build fails if the virtual method IRAttribute::manifest is defined in the Attributor.cpp.
Definition at line 2755 of file Attributor.h.
|
static |
Definition at line 743 of file Attributor.cpp.
References addIfNotExistent(), Attrs, llvm::CHANGED, llvm::IRPosition::getAnchorScope(), llvm::IRPosition::getAnchorValue(), llvm::Function::getAttributes(), llvm::IRPosition::getAttrIdx(), llvm::Value::getContext(), llvm::IRPosition::getPositionKind(), llvm::IRPosition::IRP_ARGUMENT, llvm::IRPosition::IRP_CALL_SITE, llvm::IRPosition::IRP_CALL_SITE_ARGUMENT, llvm::IRPosition::IRP_CALL_SITE_RETURNED, llvm::IRPosition::IRP_FLOAT, llvm::IRPosition::IRP_FUNCTION, llvm::IRPosition::IRP_INVALID, llvm::IRPosition::IRP_RETURNED, llvm::Function::setAttributes(), and llvm::UNCHANGED.
Referenced by llvm::IRAttribute< Attribute::Returned, AbstractAttribute >::manifest().