|
LLVM
4.0.0
|
#include <Metadata.h>
Public Member Functions | |
| Constant * | getValue () const |
Public Member Functions inherited from llvm::ValueAsMetadata | |
| Value * | getValue () const |
| Type * | getType () const |
| LLVMContext & | getContext () const |
Public Member Functions inherited from llvm::Metadata | |
| unsigned | getMetadataID () const |
| void | dump () const |
| User-friendly dump. More... | |
| void | dump (const Module *M) const |
| void | print (raw_ostream &OS, const Module *M=nullptr, bool IsForDebug=false) const |
| Print. More... | |
| 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. More... | |
| void | printAsOperand (raw_ostream &OS, ModuleSlotTracker &MST, const Module *M=nullptr) const |
Static Public Member Functions | |
| static ConstantAsMetadata * | get (Constant *C) |
| static ConstantAsMetadata * | getIfExists (Constant *C) |
| 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 |
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(). More... | |
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. More... | |
Protected Attributes inherited from llvm::Metadata | |
| unsigned char | Storage |
| Storage flag for non-uniqued, otherwise unowned, metadata. More... | |
| unsigned short | SubclassData16 |
| unsigned | SubclassData32 |
Definition at line 385 of file Metadata.h.
Definition at line 404 of file Metadata.h.
References llvm::Metadata::getMetadataID().
|
inlinestatic |
Definition at line 392 of file Metadata.h.
References C, and llvm::ValueAsMetadata::getConstant().
Referenced by llvm::Module::addModuleFlag(), llvm::GlobalObject::addTypeMetadata(), llvm::GlobalObject::copyMetadata(), llvm::DIBuilder::createBitFieldMemberType(), llvm::MDBuilder::createConstant(), createStringMetadata(), DisableAllLoopOptsOnLoop(), getConstantOrNull(), getKeyValMD(), llvm::MDNode::getMostGenericRange(), llvm::MDNode::getMostGenericTBAA(), llvm::ValueAsMetadata::handleRAUW(), LLVMMDNodeInContext(), and llvm::UpgradeIntrinsicCall().
|
inlinestatic |
Definition at line 396 of file Metadata.h.
References llvm::ValueAsMetadata::getConstantIfExists().
|
inline |
Definition at line 400 of file Metadata.h.
References llvm::ValueAsMetadata::getValue().
Referenced by getSummaryFromMD(), and wrapConstantAsMetadata().
|
friend |
Definition at line 386 of file Metadata.h.
1.8.6