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

Metadata

Root of the metadata hierarchy.

Type Aliases

Name

iterator

Enums

Member Functions

Name

Description

MDString [constructor] [deleted]

Copy constructor

operator=

Assignment operators

begin

Pointer to the first byte of the string.

bytes_begin

bytes_end

dump

User‐friendly dump.

end

Pointer to one byte past the end of the string.

getLength

getMetadataID

getString

print

Print.

printAsOperand

Print as operand.

Static Member Functions

Name

Description

classof

Methods for support type inquiry through isa, cast, and dyn_cast.

get

getIfExists

Static Data Members

Name

Description

PoisonGeneratingIDs

Metadata IDs that may generate poison.

Protected Enums

Name

Description

StorageType

Active type of storage.

Protected Member Functions

Name

Description

handleChangedOperand

Default handling of a changed operand, which asserts.

Protected Data Members

Name

Description

Storage

Storage flag for non‐uniqued, otherwise unowned, metadata.

SubclassData1

SubclassData16

SubclassData32

Friends

Name

Description

llvm::StringMapEntryStorage

StringMapEntryStorage ‐ Holds the value in a StringMapEntry.

Non-Member Functions

Name

Description

MapMetadata

Lookup or compute a mapping for a piece of metadata.

Created with MrDocs