getDistinct overloads
Synopses
Declared in <llvm/IR/Metadata.h>
Return a distinct (non‐uniqued) tuple with operands MDs.
static
MDTuple*
getDistinct(
LLVMContext& Context,
ArrayRef<Metadata*> MDs);
Get or create a DILocalVariable with the given operands.
static
DILocalVariable*
getDistinct(
LLVMContext& Context,
DILocalScope* Scope,
StringRef Name,
DIFile* File,
unsigned int Line,
DIType* Type,
unsigned int Arg,
DIFlags Flags,
uint32_t AlignInBits,
DINodeArray Annotations);
Get or create a DILocalVariable with the given operands.
static
DILocalVariable*
getDistinct(
LLVMContext& Context,
Metadata* Scope,
MDString* Name,
Metadata* File,
unsigned int Line,
Metadata* Type,
unsigned int Arg,
DIFlags Flags,
uint32_t AlignInBits,
Metadata* Annotations);
Return Value
-
A distinct (non‐uniqued) tuple with operands
MDs. -
The metadata node (uniqued, distinct, or temporary as requested); getIfExists may return nullptr.
Parameters
Name |
Description |
Context |
LLVM context that owns the node. |
MDs |
Operand metadata. |
Scope |
Parent lexical or type scope. |
Name |
Source‐level name. |
File |
Source file metadata. |
Line |
Source line number. |
Type |
Type metadata. |
Arg |
Parameter argument number, or 0 if not a parameter. |
Flags |
Flags bitfield. |
AlignInBits |
ABI alignment in bits. |
Annotations |
Annotation metadata tuple. |
Created with MrDocs