class DIGlobalVariable
Declaration
class DIGlobalVariable : public DIVariable { /* full declaration omitted */ };
Description
Global variables. TODO: Remove DisplayName. It's always equal to Name.
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2914
Inherits from: DIVariable
Member Variables
- private bool IsLocalToUnit
- private bool IsDefinition
Inherited from Metadata:
Method Overview
- private DIGlobalVariable(llvm::LLVMContext & C, llvm::Metadata::StorageType Storage, unsigned int Line, bool IsLocalToUnit, bool IsDefinition, uint32_t AlignInBits, ArrayRef<llvm::Metadata *> Ops)
- public static bool classof(const llvm::Metadata * MD)
- public llvm::TempDIGlobalVariable clone() const
- private llvm::TempDIGlobalVariable cloneImpl() const
- public llvm::DINodeArray getAnnotations() const
- public llvm::StringRef getDisplayName() const
- private static llvm::DIGlobalVariable * getImpl(llvm::LLVMContext & Context, llvm::DIScope * Scope, llvm::StringRef Name, llvm::StringRef LinkageName, llvm::DIFile * File, unsigned int Line, llvm::DIType * Type, bool IsLocalToUnit, bool IsDefinition, llvm::DIDerivedType * StaticDataMemberDeclaration, llvm::MDTuple * TemplateParams, uint32_t AlignInBits, llvm::DINodeArray Annotations, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
- private static llvm::DIGlobalVariable * getImpl(llvm::LLVMContext & Context, llvm::Metadata * Scope, llvm::MDString * Name, llvm::MDString * LinkageName, llvm::Metadata * File, unsigned int Line, llvm::Metadata * Type, bool IsLocalToUnit, bool IsDefinition, llvm::Metadata * StaticDataMemberDeclaration, llvm::Metadata * TemplateParams, uint32_t AlignInBits, llvm::Metadata * Annotations, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
- public llvm::StringRef getLinkageName() const
- public llvm::Metadata * getRawAnnotations() const
- public llvm::MDString * getRawLinkageName() const
- public llvm::Metadata * getRawStaticDataMemberDeclaration() const
- public llvm::Metadata * getRawTemplateParams() const
- public llvm::DIDerivedType * getStaticDataMemberDeclaration() const
- public llvm::MDTuple * getTemplateParams() const
- public bool isDefinition() const
- public bool isLocalToUnit() const
- private ~DIGlobalVariable()
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
¶DIGlobalVariable(
llvm::LLVMContext& C,
llvm::Metadata::StorageType Storage,
unsigned int Line,
bool IsLocalToUnit,
bool IsDefinition,
uint32_t AlignInBits,
ArrayRef<llvm::Metadata*> Ops)
DIGlobalVariable(
llvm::LLVMContext& C,
llvm::Metadata::StorageType Storage,
unsigned int Line,
bool IsLocalToUnit,
bool IsDefinition,
uint32_t AlignInBits,
ArrayRef<llvm::Metadata*> Ops)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2921
Parameters
- llvm::LLVMContext& C
- llvm::Metadata::StorageType Storage
- unsigned int Line
- bool IsLocalToUnit
- bool IsDefinition
- 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:2994
Parameters
- const llvm::Metadata* MD
¶llvm::TempDIGlobalVariable clone() const
llvm::TempDIGlobalVariable clone() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2975
¶llvm::TempDIGlobalVariable cloneImpl() const
llvm::TempDIGlobalVariable cloneImpl() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2949
¶llvm::DINodeArray getAnnotations() const
llvm::DINodeArray getAnnotations() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2984
¶llvm::StringRef getDisplayName() const
llvm::StringRef getDisplayName() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2979
¶static llvm::DIGlobalVariable* getImpl(
llvm::LLVMContext& Context,
llvm::DIScope* Scope,
llvm::StringRef Name,
llvm::StringRef LinkageName,
llvm::DIFile* File,
unsigned int Line,
llvm::DIType* Type,
bool IsLocalToUnit,
bool IsDefinition,
llvm::DIDerivedType*
StaticDataMemberDeclaration,
llvm::MDTuple* TemplateParams,
uint32_t AlignInBits,
llvm::DINodeArray Annotations,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
static llvm::DIGlobalVariable* getImpl(
llvm::LLVMContext& Context,
llvm::DIScope* Scope,
llvm::StringRef Name,
llvm::StringRef LinkageName,
llvm::DIFile* File,
unsigned int Line,
llvm::DIType* Type,
bool IsLocalToUnit,
bool IsDefinition,
llvm::DIDerivedType*
StaticDataMemberDeclaration,
llvm::MDTuple* TemplateParams,
uint32_t AlignInBits,
llvm::DINodeArray Annotations,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2929
Parameters
- llvm::LLVMContext& Context
- llvm::DIScope* Scope
- llvm::StringRef Name
- llvm::StringRef LinkageName
- llvm::DIFile* File
- unsigned int Line
- llvm::DIType* Type
- bool IsLocalToUnit
- bool IsDefinition
- llvm::DIDerivedType* StaticDataMemberDeclaration
- llvm::MDTuple* TemplateParams
- uint32_t AlignInBits
- llvm::DINodeArray Annotations
- llvm::Metadata::StorageType Storage
- bool ShouldCreate = true
¶static llvm::DIGlobalVariable* getImpl(
llvm::LLVMContext& Context,
llvm::Metadata* Scope,
llvm::MDString* Name,
llvm::MDString* LinkageName,
llvm::Metadata* File,
unsigned int Line,
llvm::Metadata* Type,
bool IsLocalToUnit,
bool IsDefinition,
llvm::Metadata* StaticDataMemberDeclaration,
llvm::Metadata* TemplateParams,
uint32_t AlignInBits,
llvm::Metadata* Annotations,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
static llvm::DIGlobalVariable* getImpl(
llvm::LLVMContext& Context,
llvm::Metadata* Scope,
llvm::MDString* Name,
llvm::MDString* LinkageName,
llvm::Metadata* File,
unsigned int Line,
llvm::Metadata* Type,
bool IsLocalToUnit,
bool IsDefinition,
llvm::Metadata* StaticDataMemberDeclaration,
llvm::Metadata* TemplateParams,
uint32_t AlignInBits,
llvm::Metadata* Annotations,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2942
Parameters
- llvm::LLVMContext& Context
- llvm::Metadata* Scope
- llvm::MDString* Name
- llvm::MDString* LinkageName
- llvm::Metadata* File
- unsigned int Line
- llvm::Metadata* Type
- bool IsLocalToUnit
- bool IsDefinition
- llvm::Metadata* StaticDataMemberDeclaration
- llvm::Metadata* TemplateParams
- uint32_t AlignInBits
- llvm::Metadata* Annotations
- llvm::Metadata::StorageType Storage
- bool ShouldCreate = true
¶llvm::StringRef getLinkageName() const
llvm::StringRef getLinkageName() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2980
¶llvm::Metadata* getRawAnnotations() const
llvm::Metadata* getRawAnnotations() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2992
¶llvm::MDString* getRawLinkageName() const
llvm::MDString* getRawLinkageName() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2988
¶llvm::Metadata*
getRawStaticDataMemberDeclaration() const
llvm::Metadata*
getRawStaticDataMemberDeclaration() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2989
¶llvm::Metadata* getRawTemplateParams() const
llvm::Metadata* getRawTemplateParams() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2990
¶llvm::DIDerivedType*
getStaticDataMemberDeclaration() const
llvm::DIDerivedType*
getStaticDataMemberDeclaration() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2981
¶llvm::MDTuple* getTemplateParams() const
llvm::MDTuple* getTemplateParams() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2991
¶bool isDefinition() const
bool isDefinition() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2978
¶bool isLocalToUnit() const
bool isLocalToUnit() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2977
¶~DIGlobalVariable()
~DIGlobalVariable()
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2926