An abstract interface for all memory location attributes (readnone/argmemonly/inaccessiblememonly/inaccessibleorargmemonly).
Synopsis
Declared in <llvm/Transforms/IPO/Attributor.h>
Base Classes
Name |
Description |
Helper class that provides common functionality to manifest IR attributes. |
Type Aliases
Name |
Enums
Name |
Description |
Encoding of different locations that could be accessed by a memory access. |
|
Simple enum to distinguish read/write/read‐write accesses. |
Member Functions
Name |
Description |
|
Constructor |
|
Check |
|
See AbstractState::getAsStr(Attributor). |
Return the locations that are assumed to be not accessed by the associated function, if any. |
|
Return the kind that identifies the abstract attribute implementation. |
|
|
Return the deduced attributes in |
|
See AbstractAttribute::getIdAddr() |
|
See AbstractAttribute::getName() |
Return true if we assume that the underlying value will only access argument pointees (see Attribute::ArgMemOnly). |
|
Return true if we assume that the underlying value will only access inaccesible memory only (see Attribute::InaccessibleMemOnly). |
|
Return true if we assume that the underlying value will only access inaccesible memory or argument pointees (see Attribute::InaccessibleOrArgMemOnly). |
|
Return true if we assume that the associated functions has no observable accesses. |
|
Return true if only the memory locations specififed by |
|
Return true if we assume that the associated functions has at most local/stack accesses. |
|
Return true if we know that the associated functions has at most local/stack accesses. |
|
Return true if we know that the underlying value will only access argument pointees (see Attribute::ArgMemOnly). |
|
Return true if we know that the underlying value will only access inaccesible memory only (see Attribute::InaccessibleMemOnly). |
|
Return true if we know that the underlying value will only access inaccesible memory or argument pointees (see Attribute::InaccessibleOrArgMemOnly). |
|
Return true if we know that the associated functions has no observable accesses. |
|
|
See AbstractAttribute::manifest(...). |
Return true if the underlying value may access memory through arguement pointers of the associated function, if any. |
Static Member Functions
Name |
Description |
This function should return true if the type of the |
|
Create an abstract attribute view for the position |
|
Return the locations encoded by |
|
See AbstractAttribute::hasTrivialInitializer. |
|
Return the inverse of location |
|
Return true if the IR attribute(s) associated with this AA are implied for an poison value. |
|
Return true if the IR attribute(s) associated with this AA are implied for an undef value. |
|
See AbstractAttribute::isValidIRPositionForInit |
|
See AbstractAttribute::requiresCalleeForCallBase. |
Static Data Members
Name |
Description |
Unique ID (due to the unique address) |
|
Compile time access to the IR attribute kind. |
Created with MrDocs