class DILabel
Declaration
class DILabel : public DINode { /* full declaration omitted */ };
Description
Label.
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3148
Inherits from: DINode
Member Variables
- private unsigned int Line
Inherited from Metadata:
Method Overview
- private DILabel(llvm::LLVMContext & C, llvm::Metadata::StorageType Storage, unsigned int Line, ArrayRef<llvm::Metadata *> Ops)
- public static bool classof(const llvm::Metadata * MD)
- public llvm::TempDILabel clone() const
- private llvm::TempDILabel cloneImpl() const
- public llvm::DIFile * getFile() const
- private static llvm::DILabel * getImpl(llvm::LLVMContext & Context, llvm::DIScope * Scope, llvm::StringRef Name, llvm::DIFile * File, unsigned int Line, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
- private static llvm::DILabel * getImpl(llvm::LLVMContext & Context, llvm::Metadata * Scope, llvm::MDString * Name, llvm::Metadata * File, unsigned int Line, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
- public unsigned int getLine() const
- public llvm::StringRef getName() const
- public llvm::Metadata * getRawFile() const
- public llvm::MDString * getRawName() const
- public llvm::Metadata * getRawScope() const
- public llvm::DILocalScope * getScope() const
- public bool isValidLocationForIntrinsic(const llvm::DILocation * DL) const
- private ~DILabel()
Inherited from DINode:
- public classof
- protected getCanonicalMDString
- public getFlag
- public getFlagString
- protected getOperandAs
- protected getStringOperand
- public getTag
- protected setTag
- public splitFlags
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
¶DILabel(llvm::LLVMContext& C,
llvm::Metadata::StorageType Storage,
unsigned int Line,
ArrayRef<llvm::Metadata*> Ops)
DILabel(llvm::LLVMContext& C,
llvm::Metadata::StorageType Storage,
unsigned int Line,
ArrayRef<llvm::Metadata*> Ops)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3154
Parameters
- llvm::LLVMContext& C
- llvm::Metadata::StorageType Storage
- 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:3208
Parameters
- const llvm::Metadata* MD
¶llvm::TempDILabel clone() const
llvm::TempDILabel clone() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3183
¶llvm::TempDILabel cloneImpl() const
llvm::TempDILabel cloneImpl() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3168
¶llvm::DIFile* getFile() const
llvm::DIFile* getFile() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3193
¶static llvm::DILabel* getImpl(
llvm::LLVMContext& Context,
llvm::DIScope* Scope,
llvm::StringRef Name,
llvm::DIFile* File,
unsigned int Line,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
static llvm::DILabel* getImpl(
llvm::LLVMContext& Context,
llvm::DIScope* Scope,
llvm::StringRef Name,
llvm::DIFile* File,
unsigned int Line,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3158
Parameters
- llvm::LLVMContext& Context
- llvm::DIScope* Scope
- llvm::StringRef Name
- llvm::DIFile* File
- unsigned int Line
- llvm::Metadata::StorageType Storage
- bool ShouldCreate = true
¶static llvm::DILabel* getImpl(
llvm::LLVMContext& Context,
llvm::Metadata* Scope,
llvm::MDString* Name,
llvm::Metadata* File,
unsigned int Line,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
static llvm::DILabel* getImpl(
llvm::LLVMContext& Context,
llvm::Metadata* Scope,
llvm::MDString* Name,
llvm::Metadata* File,
unsigned int Line,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3164
Parameters
- llvm::LLVMContext& Context
- llvm::Metadata* Scope
- llvm::MDString* Name
- llvm::Metadata* File
- unsigned int Line
- llvm::Metadata::StorageType Storage
- bool ShouldCreate = true
¶unsigned int getLine() const
unsigned int getLine() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3191
¶llvm::StringRef getName() const
llvm::StringRef getName() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3192
¶llvm::Metadata* getRawFile() const
llvm::Metadata* getRawFile() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3197
¶llvm::MDString* getRawName() const
llvm::MDString* getRawName() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3196
¶llvm::Metadata* getRawScope() const
llvm::Metadata* getRawScope() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3195
¶llvm::DILocalScope* getScope() const
llvm::DILocalScope* getScope() const
Description
Get the local scope for this label. Labels must be defined in a local scope.
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3188
¶bool isValidLocationForIntrinsic(
const llvm::DILocation* DL) const
bool isValidLocationForIntrinsic(
const llvm::DILocation* DL) const
Description
Check that a location is valid for this label. Check that \c DL exists, is in the same subprogram, and has the same inlined-at location as \c this. (Otherwise, it's not a valid attachment to a \a DbgInfoIntrinsic.)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3204
Parameters
- const llvm::DILocation* DL
¶~DILabel()
~DILabel()
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3156