class DILocalVariable
Declaration
class DILocalVariable : public DIVariable { /* full declaration omitted */ };
Description
Local variable. TODO: Split up flags.
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3058
Inherits from: DIVariable
Member Variables
- private unsigned int Arg
- private llvm::DINode::DIFlags Flags
Inherited from Metadata:
Method Overview
- private DILocalVariable(llvm::LLVMContext & C, llvm::Metadata::StorageType Storage, unsigned int Line, unsigned int Arg, llvm::DINode::DIFlags Flags, uint32_t AlignInBits, ArrayRef<llvm::Metadata *> Ops)
- public static bool classof(const llvm::Metadata * MD)
- public llvm::TempDILocalVariable clone() const
- private llvm::TempDILocalVariable cloneImpl() const
- public llvm::DINodeArray getAnnotations() const
- public unsigned int getArg() const
- public llvm::DINode::DIFlags getFlags() const
- private static llvm::DILocalVariable * getImpl(llvm::LLVMContext & Context, llvm::DIScope * Scope, llvm::StringRef Name, llvm::DIFile * File, unsigned int Line, llvm::DIType * Type, unsigned int Arg, llvm::DINode::DIFlags Flags, uint32_t AlignInBits, llvm::DINodeArray Annotations, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
- private static llvm::DILocalVariable * getImpl(llvm::LLVMContext & Context, llvm::Metadata * Scope, llvm::MDString * Name, llvm::Metadata * File, unsigned int Line, llvm::Metadata * Type, unsigned int Arg, llvm::DINode::DIFlags Flags, uint32_t AlignInBits, llvm::Metadata * Annotations, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
- public llvm::Metadata * getRawAnnotations() const
- public llvm::DILocalScope * getScope() const
- public bool isArtificial() const
- public bool isObjectPointer() const
- public bool isParameter() const
- public bool isValidLocationForIntrinsic(const llvm::DILocation * DL) const
- private ~DILocalVariable()
Inherited from DIVariable:
- public classof
- public getAlignInBits
- public getAlignInBytes
- public getDirectory
- public getFile
- public getFilename
- public getLine
- public getName
- public getRawFile
- public getRawName
- public getRawScope
- public getRawType
- public getScope
- public getSignedness
- public getSizeInBits
- public getSource
- public getType
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
¶DILocalVariable(
llvm::LLVMContext& C,
llvm::Metadata::StorageType Storage,
unsigned int Line,
unsigned int Arg,
llvm::DINode::DIFlags Flags,
uint32_t AlignInBits,
ArrayRef<llvm::Metadata*> Ops)
DILocalVariable(
llvm::LLVMContext& C,
llvm::Metadata::StorageType Storage,
unsigned int Line,
unsigned int Arg,
llvm::DINode::DIFlags Flags,
uint32_t AlignInBits,
ArrayRef<llvm::Metadata*> Ops)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3065
Parameters
- llvm::LLVMContext& C
- llvm::Metadata::StorageType Storage
- unsigned int Line
- unsigned int Arg
- llvm::DINode::DIFlags Flags
- uint32_t AlignInBits
- 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:3141
Parameters
- const llvm::Metadata* MD
¶llvm::TempDILocalVariable clone() const
llvm::TempDILocalVariable clone() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3111
¶llvm::TempDILocalVariable cloneImpl() const
llvm::TempDILocalVariable cloneImpl() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3091
¶llvm::DINodeArray getAnnotations() const
llvm::DINodeArray getAnnotations() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3124
¶unsigned int getArg() const
unsigned int getArg() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3121
¶llvm::DINode::DIFlags getFlags() const
llvm::DINode::DIFlags getFlags() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3122
¶static llvm::DILocalVariable* getImpl(
llvm::LLVMContext& Context,
llvm::DIScope* Scope,
llvm::StringRef Name,
llvm::DIFile* File,
unsigned int Line,
llvm::DIType* Type,
unsigned int Arg,
llvm::DINode::DIFlags Flags,
uint32_t AlignInBits,
llvm::DINodeArray Annotations,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
static llvm::DILocalVariable* getImpl(
llvm::LLVMContext& Context,
llvm::DIScope* Scope,
llvm::StringRef Name,
llvm::DIFile* File,
unsigned int Line,
llvm::DIType* Type,
unsigned int Arg,
llvm::DINode::DIFlags Flags,
uint32_t AlignInBits,
llvm::DINodeArray Annotations,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3074
Parameters
- llvm::LLVMContext& Context
- llvm::DIScope* Scope
- llvm::StringRef Name
- llvm::DIFile* File
- unsigned int Line
- llvm::DIType* Type
- unsigned int Arg
- llvm::DINode::DIFlags Flags
- uint32_t AlignInBits
- llvm::DINodeArray Annotations
- llvm::Metadata::StorageType Storage
- bool ShouldCreate = true
¶static llvm::DILocalVariable* getImpl(
llvm::LLVMContext& Context,
llvm::Metadata* Scope,
llvm::MDString* Name,
llvm::Metadata* File,
unsigned int Line,
llvm::Metadata* Type,
unsigned int Arg,
llvm::DINode::DIFlags Flags,
uint32_t AlignInBits,
llvm::Metadata* Annotations,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
static llvm::DILocalVariable* getImpl(
llvm::LLVMContext& Context,
llvm::Metadata* Scope,
llvm::MDString* Name,
llvm::Metadata* File,
unsigned int Line,
llvm::Metadata* Type,
unsigned int Arg,
llvm::DINode::DIFlags Flags,
uint32_t AlignInBits,
llvm::Metadata* Annotations,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3084
Parameters
- llvm::LLVMContext& Context
- llvm::Metadata* Scope
- llvm::MDString* Name
- llvm::Metadata* File
- unsigned int Line
- llvm::Metadata* Type
- unsigned int Arg
- llvm::DINode::DIFlags Flags
- uint32_t AlignInBits
- llvm::Metadata* Annotations
- llvm::Metadata::StorageType Storage
- bool ShouldCreate = true
¶llvm::Metadata* getRawAnnotations() const
llvm::Metadata* getRawAnnotations() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3127
¶llvm::DILocalScope* getScope() const
llvm::DILocalScope* getScope() const
Description
Get the local scope for this variable. Variables must be defined in a local scope.
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3116
¶bool isArtificial() const
bool isArtificial() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3129
¶bool isObjectPointer() const
bool isObjectPointer() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3130
¶bool isParameter() const
bool isParameter() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3120
¶bool isValidLocationForIntrinsic(
const llvm::DILocation* DL) const
bool isValidLocationForIntrinsic(
const llvm::DILocation* DL) const
Description
Check that a location is valid for this variable. 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:3137
Parameters
- const llvm::DILocation* DL
¶~DILocalVariable()
~DILocalVariable()
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:3072