Macro.More...
#include "llvm/IR/DebugInfoMetadata.h"
Static Public Member Functions | |
staticbool | classof (constMetadata *MD) |
![]() | |
staticbool | classof (constMetadata *MD) |
![]() | |
staticMDTuple * | get (LLVMContext &Context,ArrayRef<Metadata * > MDs) |
staticMDTuple * | getIfExists (LLVMContext &Context,ArrayRef<Metadata * > MDs) |
staticMDTuple * | getDistinct (LLVMContext &Context,ArrayRef<Metadata * > MDs) |
static TempMDTuple | getTemporary (LLVMContext &Context,ArrayRef<Metadata * > MDs) |
static void | deleteTemporary (MDNode *N) |
Deallocate a node created by getTemporary. | |
template<classT > | |
static std::enable_if_t< std::is_base_of<MDNode,T >::value,T * > | replaceWithPermanent (std::unique_ptr<T,TempMDNodeDeleter >N) |
Replace a temporary node with a permanent one. | |
template<classT > | |
static std::enable_if_t< std::is_base_of<MDNode,T >::value,T * > | replaceWithUniqued (std::unique_ptr<T,TempMDNodeDeleter >N) |
Replace a temporary node with a uniqued one. | |
template<classT > | |
static std::enable_if_t< std::is_base_of<MDNode,T >::value,T * > | replaceWithDistinct (std::unique_ptr<T,TempMDNodeDeleter >N) |
Replace a temporary node with a distinct one. | |
staticbool | classof (constMetadata *MD) |
Methods for support type inquiry through isa, cast, and dyn_cast: | |
staticMDNode * | concatenate (MDNode *A,MDNode *B) |
Methods for metadata merging. | |
staticMDNode * | intersect (MDNode *A,MDNode *B) |
staticMDNode * | getMostGenericTBAA (MDNode *A,MDNode *B) |
staticMDNode * | getMostGenericFPMath (MDNode *A,MDNode *B) |
staticMDNode * | getMostGenericRange (MDNode *A,MDNode *B) |
staticMDNode * | getMostGenericNoaliasAddrspace (MDNode *A,MDNode *B) |
staticMDNode * | getMostGenericAliasScope (MDNode *A,MDNode *B) |
staticMDNode * | getMostGenericAlignmentOrDereferenceable (MDNode *A,MDNode *B) |
staticMDNode * | getMergedProfMetadata (MDNode *A,MDNode *B,constInstruction *AInstr,constInstruction *BInstr) |
Merge !prof metadata from two instructions. | |
staticMDNode * | getMergedMemProfMetadata (MDNode *A,MDNode *B) |
staticMDNode * | getMergedCallsiteMetadata (MDNode *A,MDNode *B) |
Friends | |
class | LLVMContextImpl |
class | MDNode |
Additional Inherited Members | |
![]() | |
using | op_iterator =constMDOperand * |
using | op_range =iterator_range<op_iterator > |
![]() | |
enum | MetadataKind |
![]() | |
static constexprconstunsigned | PoisonGeneratingIDs [] |
Metadata IDs that may generate poison. | |
![]() | |
using | mutable_op_range =iterator_range<MDOperand * > |
![]() | |
enum | StorageType {Uniqued,Distinct,Temporary } |
Active type of storage.More... | |
![]() | |
DIMacroNode (LLVMContext &C,unsignedID,StorageTypeStorage,unsigned MIType,ArrayRef<Metadata * > Ops1,ArrayRef<Metadata * > Ops2={}) | |
~DIMacroNode ()=default | |
template<class Ty > | |
Ty * | getOperandAs (unsignedI)const |
StringRef | getStringOperand (unsignedI)const |
![]() | |
MDNode (LLVMContext &Context,unsignedID,StorageTypeStorage,ArrayRef<Metadata * > Ops1,ArrayRef<Metadata * > Ops2={}) | |
~MDNode ()=default | |
void * | operator new (size_tSize, size_t NumOps,StorageTypeStorage) |
void | operator delete (void *Mem) |
void | operator delete (void *,unsigned) |
Required by std, but never called. | |
void | operator delete (void *,unsigned,bool) |
Required by std, but never called. | |
void | dropAllReferences () |
MDOperand * | mutable_begin () |
MDOperand * | mutable_end () |
mutable_op_range | mutable_operands () |
void | setOperand (unsignedI,Metadata *New) |
Set an operand. | |
unsigned | getNumUnresolved ()const |
void | setNumUnresolved (unsignedN) |
void | storeDistinctInContext () |
void | resize (size_t NumOps) |
Resize the node to holdNumOps operands. | |
![]() | |
Metadata (unsignedID,StorageTypeStorage) | |
~Metadata ()=default | |
void | handleChangedOperand (void *,Metadata *) |
Default handling of a changed operand, which asserts. | |
![]() | |
staticMDString * | getCanonicalMDString (LLVMContext &Context,StringRef S) |
![]() | |
template<classT , class StoreT > | |
staticT * | storeImpl (T *N,StorageTypeStorage, StoreT &Store) |
template<classT > | |
staticT * | storeImpl (T *N,StorageTypeStorage) |
![]() | |
unsignedchar | Storage: 7 |
Storage flag for non-uniqued, otherwise unowned, metadata. | |
unsignedchar | SubclassData1: 1 |
unsigned short | SubclassData16 = 0 |
unsigned | SubclassData32 = 0 |
Definition at line3902 of fileDebugInfoMetadata.h.
Referencesllvm::Metadata::getMetadataID().
Definition at line3892 of fileDebugInfoMetadata.h.
| inline |
Definition at line3894 of fileDebugInfoMetadata.h.
Referencesllvm::Metadata::SubclassData32.
| inline |
Definition at line3896 of fileDebugInfoMetadata.h.
Referencesllvm::DIMacroNode::getStringOperand().
| inline |
Definition at line3899 of fileDebugInfoMetadata.h.
| inline |
Definition at line3900 of fileDebugInfoMetadata.h.
| inline |
Definition at line3897 of fileDebugInfoMetadata.h.
Referencesllvm::DIMacroNode::getStringOperand().
| friend |
Definition at line3857 of fileDebugInfoMetadata.h.
| friend |
Definition at line3858 of fileDebugInfoMetadata.h.
Definition at line3888 of fileDebugInfoMetadata.h.
Definition at line3890 of fileDebugInfoMetadata.h.
unsigned llvm::DIMacro::MIType |
Definition at line3888 of fileDebugInfoMetadata.h.
Definition at line3890 of fileDebugInfoMetadata.h.
Definition at line3888 of fileDebugInfoMetadata.h.
Definition at line3890 of fileDebugInfoMetadata.h.
Definition at line3889 of fileDebugInfoMetadata.h.