A single uniqued string.
These are used to efficiently contain a byte sequence for metadata. MDString is always unnamed.
| Name | Description |
|---|---|
Metadata | Root of the metadata hierarchy. |
| Name | Description |
|---|---|
iterator | Iterator over the characters of this string. |
| Name | Description |
|---|---|
MetadataKind | RTTI identifiers for concrete metadata subclasses. |
| Name | Description |
|---|---|
MDString [constructor] [deleted] | Copy construction is deleted; MDString is uniqued and non-copyable. |
operator= | Assignment operators |
begin | Pointer to the first byte of the string. |
bytes_begin | Return a pointer to the raw bytes of this metadata string. |
bytes_end | Return a pointer one past the last byte of this metadata string. |
dump | dump overloads |
end | Pointer to one byte past the end of the string. |
getLength | Return the number of bytes in this metadata string. |
getMetadataID | Return the metadata kind ID for this node. |
getString | Return the string contents of this metadata. |
print | print overloads |
printAsOperand | printAsOperand overloads |
| Name | Description |
|---|---|
classof | Methods for support type inquiry through isa, cast, and dyn_cast. |
get | get overloads |
getIfExists | Return existing string metadata for Str, or null if none. |
| Name | Description |
|---|---|
PoisonGeneratingIDs | Metadata IDs that may generate poison. |
| Name | Description |
|---|---|
StorageType | Active type of storage. |
| Name | Description |
|---|---|
handleChangedOperand | Default handling of a changed operand, which asserts. |
| Name | Description |
|---|---|
Storage | Storage flag for non-uniqued, otherwise unowned, metadata. |
SubclassData1 | One bit of subclass-specific state packed into the metadata header. |
SubclassData16 | Sixteen bits of subclass-specific state packed into the metadata header. |
SubclassData32 | Thirty-two bits of subclass-specific state packed into the metadata header. |
| Name | Description |
|---|---|
llvm::StringMapEntryStorage | StringMapEntryStorage - Holds the value in a StringMapEntry. |
| Name | Description |
|---|---|
MapMetadata | Lookup or compute a mapping for a piece of metadata. |
wrap | Wrap a Metadata pointer as an opaque LLVMMetadataRef. |