A single uniqued string.
Synopsis
Declared in <llvm/IR/Metadata.h>
class MDString
: public Metadata
Description
These are used to efficiently contain a byte sequence for metadata. MDString is always unnamed.
Base Classes
Name |
Description |
Root of the metadata hierarchy. |
Type Aliases
Name |
Description |
Iterator over the characters of this string. |
Enums
Name |
Description |
RTTI identifiers for concrete metadata subclasses. |
Member Functions
Name |
Description |
|
Copy construction is deleted; MDString is uniqued and non‐copyable. |
Assignment operators |
|
Pointer to the first byte of the string. |
|
Return a pointer to the raw bytes of this metadata string. |
|
Return a pointer one past the last byte of this metadata string. |
|
|
|
Pointer to one byte past the end of the string. |
|
Return the number of bytes in this metadata string. |
|
Return the metadata kind ID for this node. |
|
Return the string contents of this metadata. |
|
|
|
|
Static Member Functions
Name |
Description |
Methods for support type inquiry through isa, cast, and dyn_cast. |
|
|
|
Return existing string metadata for |
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. |
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 |
StringMapEntryStorage ‐ Holds the value in a StringMapEntry. |
Non-Member Functions
Name |
Description |
Lookup or compute a mapping for a piece of metadata. |
|
Wrap a |
Created with MrDocs