LLVM 20.0.0git
|
#include "llvm/IR/Metadata.h"
Static Public Member Functions | |
static LocalAsMetadata * | get (Value *Local) |
static LocalAsMetadata * | getIfExists (Value *Local) |
static bool | classof (const Metadata *MD) |
Static Public Member Functions inherited from llvm::ValueAsMetadata | |
static ValueAsMetadata * | get (Value *V) |
static ConstantAsMetadata * | getConstant (Value *C) |
static LocalAsMetadata * | getLocal (Value *Local) |
static ValueAsMetadata * | getIfExists (Value *V) |
static ConstantAsMetadata * | getConstantIfExists (Value *C) |
static LocalAsMetadata * | getLocalIfExists (Value *Local) |
static void | handleDeletion (Value *V) |
static void | handleRAUW (Value *From, Value *To) |
static bool | classof (const Metadata *MD) |
Friends | |
class | ValueAsMetadata |
Additional Inherited Members | |
Public Types inherited from llvm::Metadata | |
enum | MetadataKind |
Public Member Functions inherited from llvm::ValueAsMetadata | |
Value * | getValue () const |
Type * | getType () const |
LLVMContext & | getContext () const |
SmallVector< Metadata * > | getAllArgListUsers () |
SmallVector< DbgVariableRecord * > | getAllDbgVariableRecordUsers () |
Public Member Functions inherited from llvm::Metadata | |
unsigned | getMetadataID () const |
void | dump () const |
User-friendly dump. | |
void | dump (const Module *M) const |
void | print (raw_ostream &OS, const Module *M=nullptr, bool IsForDebug=false) const |
Print. | |
void | print (raw_ostream &OS, ModuleSlotTracker &MST, const Module *M=nullptr, bool IsForDebug=false) const |
void | printAsOperand (raw_ostream &OS, const Module *M=nullptr) const |
Print as operand. | |
void | printAsOperand (raw_ostream &OS, ModuleSlotTracker &MST, const Module *M=nullptr) const |
Protected Types inherited from llvm::Metadata | |
enum | StorageType { Uniqued , Distinct , Temporary } |
Active type of storage. More... | |
Protected Member Functions inherited from llvm::ValueAsMetadata | |
ValueAsMetadata (unsigned ID, Value *V) | |
~ValueAsMetadata ()=default | |
void | replaceAllUsesWith (Metadata *MD) |
Handle collisions after Value::replaceAllUsesWith(). | |
Protected Member Functions inherited from llvm::Metadata | |
Metadata (unsigned ID, StorageType Storage) | |
~Metadata ()=default | |
void | handleChangedOperand (void *, Metadata *) |
Default handling of a changed operand, which asserts. | |
Protected Attributes inherited from llvm::Metadata | |
unsigned char | Storage: 7 |
Storage flag for non-uniqued, otherwise unowned, metadata. | |
unsigned char | SubclassData1: 1 |
unsigned short | SubclassData16 = 0 |
unsigned | SubclassData32 = 0 |
Definition at line 545 of file Metadata.h.
Definition at line 562 of file Metadata.h.
References llvm::Metadata::getMetadataID().
|
inlinestatic |
Definition at line 554 of file Metadata.h.
References llvm::ValueAsMetadata::getLocal().
Referenced by LLVMMDNodeInContext().
|
inlinestatic |
Definition at line 558 of file Metadata.h.
References llvm::ValueAsMetadata::getLocalIfExists().
Referenced by llvm::findDbgDeclares(), findDbgIntrinsics(), llvm::findDVRDeclares(), and llvm::findDVRValues().
|
friend |
Definition at line 546 of file Metadata.h.