Metadata wrapping a constant IR value.
Synopsis
Declared in <llvm/IR/Metadata.h>
class ConstantAsMetadata
: public ValueAsMetadata
Base Classes
Name |
Description |
Value wrapper in the Metadata hierarchy. |
Enums
Name |
Description |
RTTI identifiers for concrete metadata subclasses. |
Member Functions
Name |
Description |
|
|
Return all |
|
Return all |
|
Return the LLVM context of the wrapped value. |
|
Return the metadata kind ID for this node. |
|
Return the type of the wrapped IR value. |
|
Return the wrapped constant value. |
|
|
|
|
Static Member Functions
Name |
Description |
Methods for support type inquiry through isa, cast, and dyn_cast. |
|
|
|
Return constant‐as‐metadata for constant value |
|
Return existing constant‐as‐metadata for |
|
|
|
Return local‐as‐metadata wrapping a function‐local value. |
|
Return local‐as‐metadata for |
|
Remove and delete |
|
Update metadata after |
Static Data Members
Name |
Description |
Metadata IDs that may generate poison. |
Protected Enums
Name |
Description |
Active type of storage. |
Protected Member Functions
Name |
Description |
Default handling of a changed operand, which asserts. |
|
Handle collisions after Value::replaceAllUsesWith(). |
Protected Data Members
Name |
Description |
Storage flag for non‐uniqued, otherwise unowned, metadata. |
|
One bit of subclass‐specific state packed into the metadata header. |
|
Sixteen bits of subclass‐specific state packed into the metadata header. |
|
Thirty‐two bits of subclass‐specific state packed into the metadata header. |
Friends
Name |
Description |
Value wrapper in the Metadata hierarchy. |
Non-Member Functions
Name |
Description |
Lookup or compute a mapping for a piece of metadata. |
|
Wrap a |
Created with MrDocs