class DIVariable
Declaration
class DIVariable : public DINode { /* full declaration omitted */ };
Description
Base class for variables.
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2239
Inherits from: DINode
Member Variables
Inherited from Metadata:
Method Overview
- protected DIVariable(llvm::LLVMContext & C, unsigned int ID, llvm::Metadata::StorageType Storage, unsigned int Line, ArrayRef<llvm::Metadata *> Ops, uint32_t AlignInBits = 0)
- public static bool classof(const llvm::Metadata * MD)
- public uint32_t getAlignInBits() const
- public uint32_t getAlignInBytes() const
- public llvm::StringRef getDirectory() const
- public llvm::DIFile * getFile() const
- public llvm::StringRef getFilename() const
- 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::Metadata * getRawType() const
- public llvm::DIScope * getScope() const
- public Optional<DIBasicType::Signedness> getSignedness() const
- public Optional<uint64_t> getSizeInBits() const
- public Optional<llvm::StringRef> getSource() const
- public llvm::DIType * getType() const
- protected ~DIVariable()
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 get
- public getContext
- public getDistinct
- public getIfExists
- public getMostGenericAliasScope
- public getMostGenericAlignmentOrDereferenceable
- public getMostGenericFPMath
- public getMostGenericRange
- public getMostGenericTBAA
- public getNumOperands
- public getOperand
- public getTemporary
- public intersect
- public isDistinct
- public isResolved
- public isTBAAVtableAccess
- public isTemporary
- public isUniqued
- protected mutable_begin
- protected mutable_end
- public mutable_operands
- public op_begin
- public op_end
- public operands
- public replaceAllUsesWith
- public replaceOperandWith
- public replaceWithDistinct
- public replaceWithPermanent
- public replaceWithUniqued
- public resolve
- public resolveCycles
- 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
¶DIVariable(llvm::LLVMContext& C,
unsigned int ID,
llvm::Metadata::StorageType Storage,
unsigned int Line,
ArrayRef<llvm::Metadata*> Ops,
uint32_t AlignInBits = 0)
DIVariable(llvm::LLVMContext& C,
unsigned int ID,
llvm::Metadata::StorageType Storage,
unsigned int Line,
ArrayRef<llvm::Metadata*> Ops,
uint32_t AlignInBits = 0)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2244
Parameters
- llvm::LLVMContext& C
- unsigned int ID
- llvm::Metadata::StorageType Storage
- unsigned int Line
- ArrayRef<llvm::Metadata*> Ops
- uint32_t AlignInBits = 0
¶static bool classof(const llvm::Metadata* MD)
static bool classof(const llvm::Metadata* MD)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2292
Parameters
- const llvm::Metadata* MD
¶uint32_t getAlignInBits() const
uint32_t getAlignInBits() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2256
¶uint32_t getAlignInBytes() const
uint32_t getAlignInBytes() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2257
¶llvm::StringRef getDirectory() const
llvm::StringRef getDirectory() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2275
¶llvm::DIFile* getFile() const
llvm::DIFile* getFile() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2254
¶llvm::StringRef getFilename() const
llvm::StringRef getFilename() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2269
¶unsigned int getLine() const
unsigned int getLine() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2251
¶llvm::StringRef getName() const
llvm::StringRef getName() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2253
¶llvm::Metadata* getRawFile() const
llvm::Metadata* getRawFile() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2289
¶llvm::MDString* getRawName() const
llvm::MDString* getRawName() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2288
¶llvm::Metadata* getRawScope() const
llvm::Metadata* getRawScope() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2287
¶llvm::Metadata* getRawType() const
llvm::Metadata* getRawType() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2290
¶llvm::DIScope* getScope() const
llvm::DIScope* getScope() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2252
¶Optional<DIBasicType::Signedness> getSignedness()
const
Optional<DIBasicType::Signedness> getSignedness()
const
Description
Return the signedness of this variable's type, or None if this type is neither signed nor unsigned.
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2263
¶Optional<uint64_t> getSizeInBits() const
Optional<uint64_t> getSizeInBits() const
Description
Determines the size of the variable's type.
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2259
¶Optional<llvm::StringRef> getSource() const
Optional<llvm::StringRef> getSource() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2281
¶llvm::DIType* getType() const
llvm::DIType* getType() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2255
¶~DIVariable()
~DIVariable()
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2248