LLVM 20.0.0git
|
Base struct for all "concrete attribute" deductions. More...
#include "llvm/Transforms/IPO/Attributor.h"
Public Types | |
using | StateType = AbstractState |
Public Types inherited from llvm::IRPosition | |
enum | Kind : char { IRP_INVALID , IRP_FLOAT , IRP_RETURNED , IRP_CALL_SITE_RETURNED , IRP_FUNCTION , IRP_CALL_SITE , IRP_ARGUMENT , IRP_CALL_SITE_ARGUMENT } |
The positions we distinguish in the IR. More... | |
using | CallBaseContext = CallBase |
Public Types inherited from llvm::AADepGraphNode | |
using | DepTy = PointerIntPair< AADepGraphNode *, 1 > |
using | DepSetTy = SmallSetVector< DepTy, 2 > |
using | iterator = mapped_iterator< DepSetTy::iterator, decltype(&DepGetVal)> |
using | aaiterator = mapped_iterator< DepSetTy::iterator, decltype(&DepGetValAA)> |
Public Member Functions | |
AbstractAttribute (const IRPosition &IRP) | |
virtual | ~AbstractAttribute ()=default |
Virtual destructor. | |
virtual void | initialize (Attributor &A) |
Initialize the state with the information in the Attributor A . | |
virtual bool | isQueryAA () const |
A query AA is always scheduled as long as we do updates because it does lazy computation that cannot be determined to be done from the outside. | |
virtual StateType & | getState ()=0 |
Return the internal abstract state for inspection. | |
virtual const StateType & | getState () const =0 |
const IRPosition & | getIRPosition () const |
Return an IR position, see struct IRPosition. | |
IRPosition & | getIRPosition () |
void | print (raw_ostream &OS) const |
Helper functions, for debug purposes only. | |
void | print (Attributor *, raw_ostream &OS) const override |
virtual void | printWithDeps (raw_ostream &OS) const |
void | dump () const |
virtual const std::string | getAsStr (Attributor *A) const =0 |
This function should return the "summarized" assumed state as string. | |
virtual const std::string | getName () const =0 |
This function should return the name of the AbstractAttribute. | |
virtual const char * | getIdAddr () const =0 |
This function should return the address of the ID of the AbstractAttribute. | |
Public Member Functions inherited from llvm::IRPosition | |
IRPosition () | |
Default constructor available to create invalid positions implicitly. | |
bool | operator== (const IRPosition &RHS) const |
bool | operator!= (const IRPosition &RHS) const |
Value & | getAnchorValue () const |
Return the value this abstract attribute is anchored with. | |
Function * | getAssociatedFunction () const |
Return the associated function, if any. | |
Argument * | getAssociatedArgument () const |
Return the associated argument, if any. | |
bool | isFnInterfaceKind () const |
Return true if the position refers to a function interface, that is the function scope, the function return, or an argument. | |
bool | isFunctionScope () const |
Return true if this is a function or call site position. | |
Function * | getAnchorScope () const |
Return the Function surrounding the anchor value. | |
Instruction * | getCtxI () const |
Return the context instruction, if any. | |
Value & | getAssociatedValue () const |
Return the value this abstract attribute is associated with. | |
Type * | getAssociatedType () const |
Return the type this abstract attribute is associated with. | |
int | getCalleeArgNo () const |
Return the callee argument number of the associated value if it is an argument or call site argument, otherwise a negative value. | |
int | getCallSiteArgNo () const |
Return the call site argument number of the associated value if it is an argument or call site argument, otherwise a negative value. | |
unsigned | getAttrIdx () const |
Return the index in the attribute list for this position. | |
Value * | getAttrListAnchor () const |
Return the value attributes are attached to. | |
AttributeList | getAttrList () const |
Return the attributes associated with this function or call site scope. | |
void | setAttrList (const AttributeList &AttrList) const |
Update the attributes associated with this function or call site scope. | |
unsigned | getNumArgs () const |
Return the number of arguments associated with this function or call site scope. | |
Value * | getArg (unsigned ArgNo) const |
Return theargument ArgNo associated with this function or call site scope. | |
Kind | getPositionKind () const |
Return the associated position kind. | |
bool | isAnyCallSitePosition () const |
bool | isArgumentPosition () const |
Return true if the position is an argument or call site argument. | |
IRPosition | stripCallBaseContext () const |
Return the same position without the call base context. | |
const CallBaseContext * | getCallBaseContext () const |
Get the call base context from the position. | |
bool | hasCallBaseContext () const |
Check if the position has any call base context. | |
operator void * () const | |
} | |
Public Member Functions inherited from llvm::AADepGraphNode | |
virtual | ~AADepGraphNode ()=default |
aaiterator | begin () |
aaiterator | end () |
iterator | child_begin () |
iterator | child_end () |
void | print (raw_ostream &OS) const |
virtual void | print (Attributor *, raw_ostream &OS) const |
DepSetTy & | getDeps () |
Static Public Member Functions | |
static bool | classof (const AADepGraphNode *DGN) |
This function is used to identify if an DGN is of type AbstractAttribute so that the dyn_cast and cast can use such information to cast an AADepGraphNode to an AbstractAttribute. | |
static bool | hasTrivialInitializer () |
Return false if this AA does anything non-trivial (hence not done by default) in its initializer. | |
static bool | requiresCalleeForCallBase () |
Return true if this AA requires a "callee" (or an associted function) for a call site positon. | |
static bool | requiresNonAsmForCallBase () |
Return true if this AA requires non-asm "callee" for a call site positon. | |
static bool | requiresCallersForArgOrFunction () |
Return true if this AA requires all callees for an argument or function positon. | |
static bool | isValidIRPositionForInit (Attributor &A, const IRPosition &IRP) |
Return false if an AA should not be created for IRP . | |
static bool | isValidIRPositionForUpdate (Attributor &A, const IRPosition &IRP) |
Return false if an AA should not be updated for IRP . | |
Static Public Member Functions inherited from llvm::IRPosition | |
static const IRPosition | value (const Value &V, const CallBaseContext *CBContext=nullptr) |
Create a position describing the value of V . | |
static const IRPosition | inst (const Instruction &I, const CallBaseContext *CBContext=nullptr) |
Create a position describing the instruction I . | |
static const IRPosition | function (const Function &F, const CallBaseContext *CBContext=nullptr) |
Create a position describing the function scope of F . | |
static const IRPosition | returned (const Function &F, const CallBaseContext *CBContext=nullptr) |
Create a position describing the returned value of F . | |
static const IRPosition | argument (const Argument &Arg, const CallBaseContext *CBContext=nullptr) |
Create a position describing the argument Arg . | |
static const IRPosition | callsite_function (const CallBase &CB) |
Create a position describing the function scope of CB . | |
static const IRPosition | callsite_returned (const CallBase &CB) |
Create a position describing the returned value of CB . | |
static const IRPosition | callsite_argument (const CallBase &CB, unsigned ArgNo) |
Create a position describing the argument of CB at position ArgNo . | |
static const IRPosition | callsite_argument (AbstractCallSite ACS, unsigned ArgNo) |
Create a position describing the argument of ACS at position ArgNo . | |
static const IRPosition | function_scope (const IRPosition &IRP, const CallBaseContext *CBContext=nullptr) |
Create a position with function scope matching the "context" of IRP . | |
Static Public Attributes | |
static constexpr Attribute::AttrKind | IRAttributeKind = Attribute::None |
Compile time access to the IR attribute kind. | |
Static Public Attributes inherited from llvm::IRPosition | |
static const IRPosition | EmptyKey |
Special DenseMap key values. | |
static const IRPosition | TombstoneKey |
Protected Member Functions | |
ChangeStatus | update (Attributor &A) |
Hook for the Attributor to trigger an update of the internal state. | |
virtual ChangeStatus | manifest (Attributor &A) |
Hook for the Attributor to trigger the manifestation of the information represented by the abstract attribute in the LLVM-IR. | |
virtual void | trackStatistics () const =0 |
Hook to enable custom statistic tracking, called after manifest that resulted in a change if statistics are enabled. | |
virtual ChangeStatus | updateImpl (Attributor &A)=0 |
The actual update/transfer function which has to be implemented by the derived classes. | |
Protected Member Functions inherited from llvm::AADepGraphNode | |
operator AbstractAttribute * () | |
Friends | |
struct | Attributor |
} | |
Additional Inherited Members | |
Static Protected Member Functions inherited from llvm::AADepGraphNode | |
static AADepGraphNode * | DepGetVal (const DepTy &DT) |
static AbstractAttribute * | DepGetValAA (const DepTy &DT) |
Protected Attributes inherited from llvm::AADepGraphNode | |
DepSetTy | Deps |
Set of dependency graph nodes which should be updated if this one is updated. | |
Base struct for all "concrete attribute" deductions.
The abstract attribute is a minimal interface that allows the Attributor to orchestrate the abstract/fixpoint analysis. The design allows to hide away implementation choices made for the subclasses but also to structure their implementation and simplify the use of other abstract attributes in-flight.
To allow easy creation of new attributes, most methods have default implementations. The ones that do not are generally straight forward, except AbstractAttribute::updateImpl
which is the location of most reasoning associated with the abstract attribute. The update is invoked by the Attributor in case the situation used to justify the current optimistic state might have changed. The Attributor determines this automatically by monitoring the Attributor::getAAFor
calls made by abstract attributes.
The updateImpl
method should inspect the IR and other abstract attributes in-flight to justify the best possible (=optimistic) state. The actual implementation is, similar to the underlying abstract state encoding, not exposed. In the most common case, the updateImpl
will go through a list of reasons why its optimistic state is valid given the current information. If any combination of them holds and is sufficient to justify the current optimistic state, the method shall return UNCHAGED. If not, the optimistic state is adjusted to the situation and the method shall return CHANGED.
If the manifestation of the "concrete attribute" deduced by the subclass differs from the "default" behavior, which is a (set of) LLVM-IR attribute(s) for an argument, call site argument, function return value, or function, the AbstractAttribute::manifest
method should be overloaded.
NOTE: If the state obtained via getState() is INVALID, thus if AbstractAttribute::getState().isValidState() returns false, no information provided by the methods of this class should be used. NOTE: The Attributor currently has certain limitations to what we can do. As a general rule of thumb, "concrete" abstract attributes should for now only perform "backward" information propagation. That means optimistic information obtained through abstract attributes should only be used at positions that precede the origin of the information with regards to the program flow. More practically, information can now be propagated from instructions to their enclosing function, but not from call sites to the called function. The mechanisms to allow both directions will be added in the future. NOTE: The mechanics of adding a new "concrete" abstract attribute are described in the file comment.
Definition at line 3276 of file Attributor.h.
Definition at line 3277 of file Attributor.h.
|
inline |
Definition at line 3279 of file Attributor.h.
|
virtualdefault |
Virtual destructor.
Referenced by llvm::Attributor::~Attributor().
|
inlinestatic |
This function is used to identify if an DGN
is of type AbstractAttribute so that the dyn_cast and cast can use such information to cast an AADepGraphNode to an AbstractAttribute.
We eagerly return true here because all AADepGraphNodes except for the Synthethis Node are of type AbstractAttribute
Definition at line 3293 of file Attributor.h.
|
inline |
Definition at line 3363 of file Attributor.h.
References llvm::dbgs(), and print().
|
pure virtual |
This function should return the "summarized" assumed state as string.
Implemented in llvm::AAMemoryLocation.
Referenced by print().
This function should return the address of the ID of the AbstractAttribute.
Implemented in llvm::AANoUnwind, llvm::AANoSync, llvm::AAMustProgress, llvm::AANonNull, llvm::AANoRecurse, llvm::AAWillReturn, llvm::AAUndefinedBehavior, llvm::AAIntraFnReachability, llvm::AANoAlias, llvm::AANoFree, llvm::AANoReturn, llvm::AAIsDead, llvm::AADereferenceable, llvm::AAAlign, llvm::AAInstanceInfo, llvm::AANoCapture, llvm::AAValueSimplify, llvm::AAHeapToStack, llvm::AAPrivatizablePtr, llvm::AAMemoryBehavior, llvm::AAMemoryLocation, llvm::AAValueConstantRange, llvm::AAPotentialConstantValues, llvm::AAPotentialValues, llvm::AANoUndef, llvm::AANoFPClass, llvm::AACallEdges, llvm::AAExecutionDomain, llvm::AAInterFnReachability, llvm::AANonConvergent, llvm::AAPointerInfo, llvm::AAAssumptionInfo, llvm::AAUnderlyingObjects, llvm::AAAddressSpace, llvm::AAAllocationInfo, llvm::AAGlobalValueInfo, llvm::AAIndirectCallInfo, and llvm::AADenormalFPMath.
Referenced by llvm::AANoUnwind::classof(), llvm::AANoSync::classof(), llvm::AAMustProgress::classof(), llvm::AANonNull::classof(), llvm::AANoRecurse::classof(), llvm::AAWillReturn::classof(), llvm::AAUndefinedBehavior::classof(), llvm::AAIntraFnReachability::classof(), llvm::AANoAlias::classof(), llvm::AANoFree::classof(), llvm::AANoReturn::classof(), llvm::AAIsDead::classof(), llvm::AADereferenceable::classof(), llvm::AAAlign::classof(), llvm::AAInstanceInfo::classof(), llvm::AANoCapture::classof(), llvm::AAValueSimplify::classof(), llvm::AAHeapToStack::classof(), llvm::AAPrivatizablePtr::classof(), llvm::AAMemoryBehavior::classof(), llvm::AAMemoryLocation::classof(), llvm::AAValueConstantRange::classof(), llvm::AAPotentialConstantValues::classof(), llvm::AAPotentialValues::classof(), llvm::AANoUndef::classof(), llvm::AANoFPClass::classof(), llvm::AACallEdges::classof(), llvm::AAExecutionDomain::classof(), llvm::AAInterFnReachability::classof(), llvm::AANonConvergent::classof(), llvm::AAPointerInfo::classof(), llvm::AAAssumptionInfo::classof(), llvm::AAUnderlyingObjects::classof(), llvm::AAAddressSpace::classof(), llvm::AAAllocationInfo::classof(), llvm::AAGlobalValueInfo::classof(), llvm::AAIndirectCallInfo::classof(), and llvm::AADenormalFPMath::classof().
|
inline |
Definition at line 3356 of file Attributor.h.
|
inline |
Return an IR position, see struct IRPosition.
Definition at line 3355 of file Attributor.h.
Referenced by llvm::Attributor::checkForAllCallSites(), llvm::Attributor::checkForAllInstructions(), llvm::Attributor::checkForAllReadWriteInstructions(), llvm::Attributor::checkForAllReturnedValues(), llvm::Attributor::checkForAllUses(), llvm::Attributor::isAssumedDead(), llvm::AAIsDead::isLiveInstSet(), and print().
|
pure virtual |
This function should return the name of the AbstractAttribute.
Implemented in llvm::AANoUnwind, llvm::AANoSync, llvm::AAMustProgress, llvm::AANonNull, llvm::AANoRecurse, llvm::AAWillReturn, llvm::AAUndefinedBehavior, llvm::AAIntraFnReachability, llvm::AANoAlias, llvm::AANoFree, llvm::AANoReturn, llvm::AAIsDead, llvm::AADereferenceable, llvm::AAAlign, llvm::AAInstanceInfo, llvm::AANoCapture, llvm::AAValueSimplify, llvm::AAHeapToStack, llvm::AAPrivatizablePtr, llvm::AAMemoryBehavior, llvm::AAMemoryLocation, llvm::AAValueConstantRange, llvm::AAPotentialConstantValues, llvm::AAPotentialValues, llvm::AANoUndef, llvm::AANoFPClass, llvm::AACallEdges, llvm::AAExecutionDomain, llvm::AAInterFnReachability, llvm::AANonConvergent, llvm::AAPointerInfo, llvm::AAAssumptionInfo, llvm::AAUnderlyingObjects, llvm::AAAddressSpace, llvm::AAAllocationInfo, llvm::AAGlobalValueInfo, llvm::AAIndirectCallInfo, and llvm::AADenormalFPMath.
Referenced by print().
Implemented in llvm::StateWrapper< BooleanState, AbstractAttribute >, llvm::StateWrapper< AAAlignmentStateType, AbstractAttribute >, llvm::StateWrapper< SetState< StringRef >, AbstractAttribute, DenseSet< StringRef > >, llvm::StateWrapper< DenormalFPMathState, AbstractAttribute >, llvm::StateWrapper< DerefState, AbstractAttribute >, llvm::StateWrapper< BitIntegerState< uint8_t, 3, 0 >, AbstractAttribute >, llvm::StateWrapper< BitIntegerState< uint8_t, 3 >, AbstractAttribute >, llvm::StateWrapper< BitIntegerState< uint32_t, 511 >, AbstractAttribute >, llvm::StateWrapper< BitIntegerState< uint16_t, 7, 0 >, AbstractAttribute >, llvm::StateWrapper< BitIntegerState< uint32_t, fcAllFlags, fcNone >, AbstractAttribute >, llvm::StateWrapper< PotentialConstantIntValuesState, AbstractAttribute >, llvm::StateWrapper< PotentialLLVMValuesState, AbstractAttribute >, llvm::StateWrapper< IntegerRangeState, AbstractAttribute, uint32_t >, llvm::StateWrapper< ValueSimplifyStateType, AbstractAttribute, Type * >, llvm::AAValueConstantRange, llvm::AAPotentialConstantValues, and llvm::AAPotentialValues.
|
pure virtual |
Return the internal abstract state for inspection.
Implemented in llvm::StateWrapper< BooleanState, AbstractAttribute >, llvm::StateWrapper< AAAlignmentStateType, AbstractAttribute >, llvm::StateWrapper< SetState< StringRef >, AbstractAttribute, DenseSet< StringRef > >, llvm::StateWrapper< DenormalFPMathState, AbstractAttribute >, llvm::StateWrapper< DerefState, AbstractAttribute >, llvm::StateWrapper< BitIntegerState< uint8_t, 3, 0 >, AbstractAttribute >, llvm::StateWrapper< BitIntegerState< uint8_t, 3 >, AbstractAttribute >, llvm::StateWrapper< BitIntegerState< uint32_t, 511 >, AbstractAttribute >, llvm::StateWrapper< BitIntegerState< uint16_t, 7, 0 >, AbstractAttribute >, llvm::StateWrapper< BitIntegerState< uint32_t, fcAllFlags, fcNone >, AbstractAttribute >, llvm::StateWrapper< PotentialConstantIntValuesState, AbstractAttribute >, llvm::StateWrapper< PotentialLLVMValuesState, AbstractAttribute >, llvm::StateWrapper< IntegerRangeState, AbstractAttribute, uint32_t >, llvm::StateWrapper< ValueSimplifyStateType, AbstractAttribute, Type * >, llvm::AAValueConstantRange, llvm::AAPotentialConstantValues, and llvm::AAPotentialValues.
Referenced by llvm::Attributor::getOrCreateAAFor(), llvm::Attributor::lookupAAFor(), llvm::Attributor::recordDependence(), and update().
|
inlinestatic |
Return false if this AA does anything non-trivial (hence not done by default) in its initializer.
Definition at line 3297 of file Attributor.h.
|
inlinevirtual |
Initialize the state with the information in the Attributor A
.
This function is called by the Attributor once all abstract attributes have been identified. It can and shall be used for task like:
updateImpl
method. Definition at line 3340 of file Attributor.h.
|
inlinevirtual |
A query AA is always scheduled as long as we do updates because it does lazy computation that cannot be determined to be done from the outside.
However, while query AAs will not be fixed if they do not have outstanding dependences, we will only schedule them like other AAs. If a query AA that received a new query it needs to request an update via Attributor::requestUpdateForAA
.
Definition at line 3348 of file Attributor.h.
Referenced by llvm::Attributor::registerForUpdate().
|
inlinestatic |
Return false if an AA should not be created for IRP
.
Definition at line 3311 of file Attributor.h.
Referenced by llvm::AAPrivatizablePtr::isValidIRPositionForInit(), llvm::AAValueConstantRange::isValidIRPositionForInit(), llvm::AAPotentialConstantValues::isValidIRPositionForInit(), llvm::AAPointerInfo::isValidIRPositionForInit(), llvm::AAUnderlyingObjects::isValidIRPositionForInit(), llvm::AAAddressSpace::isValidIRPositionForInit(), and llvm::AAAllocationInfo::isValidIRPositionForInit().
|
inlinestatic |
Return false if an AA should not be updated for IRP
.
Definition at line 3316 of file Attributor.h.
References A, assert(), llvm::IRPosition::getAssociatedFunction(), and llvm::IRPosition::isFnInterfaceKind().
|
inlineprotectedvirtual |
Hook for the Attributor to trigger the manifestation of the information represented by the abstract attribute in the LLVM-IR.
\Return CHANGED if the IR was altered, otherwise UNCHANGED.
Reimplemented in llvm::IRAttribute< Attribute::Alignment, StateWrapper< AAAlignmentStateType, AbstractAttribute >, AAAlign >, llvm::IRAttribute< Attribute::Dereferenceable, StateWrapper< DerefState, AbstractAttribute >, AADereferenceable >, llvm::IRAttribute< Attribute::None, StateWrapper< BitIntegerState< uint8_t, 3 >, AbstractAttribute >, AAMemoryBehavior >, llvm::IRAttribute< Attribute::None, StateWrapper< BitIntegerState< uint32_t, 511 >, AbstractAttribute >, AAMemoryLocation >, llvm::IRAttribute< Attribute::MustProgress, StateWrapper< BooleanState, AbstractAttribute >, AAMustProgress >, llvm::IRAttribute< Attribute::NoAlias, StateWrapper< BooleanState, AbstractAttribute >, AANoAlias >, llvm::IRAttribute< Attribute::NoCapture, StateWrapper< BitIntegerState< uint16_t, 7, 0 >, AbstractAttribute >, AANoCapture >, llvm::IRAttribute< Attribute::NoFPClass, StateWrapper< BitIntegerState< uint32_t, fcAllFlags, fcNone >, AbstractAttribute >, AANoFPClass >, llvm::IRAttribute< Attribute::NoFree, StateWrapper< BooleanState, AbstractAttribute >, AANoFree >, llvm::IRAttribute< Attribute::NoRecurse, StateWrapper< BooleanState, AbstractAttribute >, AANoRecurse >, llvm::IRAttribute< Attribute::NoReturn, StateWrapper< BooleanState, AbstractAttribute >, AANoReturn >, llvm::IRAttribute< Attribute::NoSync, StateWrapper< BooleanState, AbstractAttribute >, AANoSync >, llvm::IRAttribute< Attribute::NoUndef, StateWrapper< BooleanState, AbstractAttribute >, AANoUndef >, llvm::IRAttribute< Attribute::NoUnwind, StateWrapper< BooleanState, AbstractAttribute >, AANoUnwind >, llvm::IRAttribute< Attribute::NonNull, StateWrapper< BooleanState, AbstractAttribute >, AANonNull >, and llvm::IRAttribute< Attribute::WillReturn, StateWrapper< BooleanState, AbstractAttribute >, AAWillReturn >.
Definition at line 3391 of file Attributor.h.
References llvm::UNCHANGED.
|
overridevirtual |
Reimplemented from llvm::AADepGraphNode.
Definition at line 3765 of file Attributor.cpp.
References A, getAsStr(), llvm::IRPosition::getCtxI(), getIRPosition(), getName(), I, and OS.
|
inline |
Helper functions, for debug purposes only.
{
Definition at line 3360 of file Attributor.h.
Referenced by dump(), llvm::operator<<(), print(), and printWithDeps().
|
virtual |
Definition at line 3781 of file Attributor.cpp.
References llvm::AADepGraphNode::Deps, OS, and print().
|
inlinestatic |
Return true if this AA requires a "callee" (or an associted function) for a call site positon.
Default is optimistic to minimize AAs.
Definition at line 3301 of file Attributor.h.
|
inlinestatic |
Return true if this AA requires all callees for an argument or function positon.
Definition at line 3308 of file Attributor.h.
|
inlinestatic |
Return true if this AA requires non-asm "callee" for a call site positon.
Definition at line 3304 of file Attributor.h.
|
protectedpure virtual |
Hook to enable custom statistic tracking, called after manifest that resulted in a change if statistics are enabled.
We require subclasses to provide an implementation so we remember to add statistics for them.
|
protected |
Hook for the Attributor to trigger an update of the internal state.
If this attribute is already fixed, this method will return UNCHANGED, otherwise it delegates to AbstractAttribute::updateImpl
.
\Return CHANGED if the internal state changed, otherwise UNCHANGED.
Definition at line 1050 of file Attributor.cpp.
References A, llvm::dbgs(), getState(), LLVM_DEBUG, llvm::UNCHANGED, and updateImpl().
|
protectedpure virtual |
The actual update/transfer function which has to be implemented by the derived classes.
If it is called, the environment has changed and we have to determine if the current information is still valid or adjust it otherwise.
\Return CHANGED if the internal state changed, otherwise UNCHANGED.
Referenced by update().
|
friend |
}
Allow the Attributor access to the protected methods.
Definition at line 3376 of file Attributor.h.
|
staticconstexpr |
Compile time access to the IR attribute kind.
Definition at line 3285 of file Attributor.h.