class DIMacro
Declaration
class DIMacro : public DIMacroNode { /* full declaration omitted */ };
Description
Macro Info DWARF-like metadata node. A metadata node with a DWARF macro info (i.e., a constant named\c DW_MACINFO_*, defined in llvm/BinaryFormat/Dwarf.h). Called \a DIMacroNode because it's potentially used for non-DWARF output.
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3448
Inherits from: DIMacroNode
Member Variables
- private unsigned int Line
Inherited from Metadata:
Method Overview
- private DIMacro(llvm::LLVMContext & C, llvm::Metadata::StorageType Storage, unsigned int MIType, unsigned int Line, ArrayRef<llvm::Metadata *> Ops)
- public static bool classof(const llvm::Metadata * MD)
- public llvm::TempDIMacro clone() const
- private llvm::TempDIMacro cloneImpl() const
- private static llvm::DIMacro * getImpl(llvm::LLVMContext & Context, unsigned int MIType, unsigned int Line, llvm::StringRef Name, llvm::StringRef Value, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
- private static llvm::DIMacro * getImpl(llvm::LLVMContext & Context, unsigned int MIType, unsigned int Line, llvm::MDString * Name, llvm::MDString * Value, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
- public unsigned int getLine() const
- public llvm::StringRef getName() const
- public llvm::MDString * getRawName() const
- public llvm::MDString * getRawValue() const
- public llvm::StringRef getValue() const
- private ~DIMacro()
Inherited from DIMacroNode:
- public classof
- protected getCanonicalMDString
- public getMacinfoType
- protected getOperandAs
- protected getStringOperand
Inherited from MDNode:
- public classof
- public clone
- public concatenate
- public deleteTemporary
- protected dropAllReferences
- public dumpTree
- public dumpTree
- public get
- public getContext
- public getDistinct
- public getIfExists
- public getMostGenericAliasScope
- public getMostGenericAlignmentOrDereferenceable
- public getMostGenericFPMath
- public getMostGenericRange
- public getMostGenericTBAA
- public getNumOperands
- protected getNumUnresolved
- public getOperand
- public getTemporary
- public intersect
- public isDistinct
- public isResolved
- public isTBAAVtableAccess
- public isTemporary
- public isUniqued
- protected mutable_begin
- protected mutable_end
- protected mutable_operands
- public op_begin
- public op_end
- public operands
- public printTree
- public printTree
- public replaceAllUsesWith
- public replaceOperandWith
- public replaceWithDistinct
- public replaceWithPermanent
- public replaceWithUniqued
- protected resize
- public resolve
- public resolveCycles
- protected setNumUnresolved
- protected setOperand
- protected storeDistinctInContext
- protected storeImpl
- protected storeImpl
Inherited from Metadata:
- public dump
- public dump
- public getMetadataID
- protected handleChangedOperand
- public print
- public print
- public printAsOperand
- public printAsOperand
Methods
¶DIMacro(llvm::LLVMContext& C,
llvm::Metadata::StorageType Storage,
unsigned int MIType,
unsigned int Line,
ArrayRef<llvm::Metadata*> Ops)
DIMacro(llvm::LLVMContext& C,
llvm::Metadata::StorageType Storage,
unsigned int MIType,
unsigned int Line,
ArrayRef<llvm::Metadata*> Ops)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3454
Parameters
- llvm::LLVMContext& C
- llvm::Metadata::StorageType Storage
- unsigned int MIType
- unsigned int Line
- ArrayRef<llvm::Metadata*> Ops
¶static bool classof(const llvm::Metadata* MD)
static bool classof(const llvm::Metadata* MD)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3494
Parameters
- const llvm::Metadata* MD
¶llvm::TempDIMacro clone() const
llvm::TempDIMacro clone() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3484
¶llvm::TempDIMacro cloneImpl() const
llvm::TempDIMacro cloneImpl() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3469
¶static llvm::DIMacro* getImpl(
llvm::LLVMContext& Context,
unsigned int MIType,
unsigned int Line,
llvm::StringRef Name,
llvm::StringRef Value,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
static llvm::DIMacro* getImpl(
llvm::LLVMContext& Context,
unsigned int MIType,
unsigned int Line,
llvm::StringRef Name,
llvm::StringRef Value,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3459
Parameters
- llvm::LLVMContext& Context
- unsigned int MIType
- unsigned int Line
- llvm::StringRef Name
- llvm::StringRef Value
- llvm::Metadata::StorageType Storage
- bool ShouldCreate = true
¶static llvm::DIMacro* getImpl(
llvm::LLVMContext& Context,
unsigned int MIType,
unsigned int Line,
llvm::MDString* Name,
llvm::MDString* Value,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
static llvm::DIMacro* getImpl(
llvm::LLVMContext& Context,
unsigned int MIType,
unsigned int Line,
llvm::MDString* Name,
llvm::MDString* Value,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3465
Parameters
- llvm::LLVMContext& Context
- unsigned int MIType
- unsigned int Line
- llvm::MDString* Name
- llvm::MDString* Value
- llvm::Metadata::StorageType Storage
- bool ShouldCreate = true
¶unsigned int getLine() const
unsigned int getLine() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3486
¶llvm::StringRef getName() const
llvm::StringRef getName() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3488
¶llvm::MDString* getRawName() const
llvm::MDString* getRawName() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3491
¶llvm::MDString* getRawValue() const
llvm::MDString* getRawValue() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3492
¶llvm::StringRef getValue() const
llvm::StringRef getValue() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3489
¶~DIMacro()
~DIMacro()
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3457