LLVM 20.0.0git
|
A visitor class for IR positions. More...
#include "llvm/Transforms/IPO/Attributor.h"
Public Member Functions | |
SubsumingPositionIterator (const IRPosition &IRP) | |
iterator | begin () |
iterator | end () |
A visitor class for IR positions.
Given a position P, the SubsumingPositionIterator allows to visit "subsuming positions" wrt. attributes/information. Thus, if a piece of information holds for a subsuming position, it also holds for the position P.
The subsuming positions always include the initial position and then, depending on the position kind, additionally the following ones:
Definition at line 1111 of file Attributor.h.
SubsumingPositionIterator::SubsumingPositionIterator | ( | const IRPosition & | IRP | ) |
Definition at line 1261 of file Attributor.cpp.
References llvm::IRPosition::argument(), assert(), llvm::IRPosition::callsite_argument(), llvm::IRPosition::callsite_function(), llvm::IRPosition::function(), llvm::IRPosition::getAnchorScope(), llvm::IRPosition::getAnchorValue(), llvm::IRPosition::getAssociatedArgument(), llvm::IRPosition::getAssociatedValue(), 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::IRPosition::returned(), and llvm::IRPosition::value().
|
inline |
Definition at line 1117 of file Attributor.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin().
|
inline |
Definition at line 1118 of file Attributor.h.
References llvm::SmallVectorTemplateCommon< T, typename >::end().