class DIBasicType
Declaration
class DIBasicType : public DIType { /* full declaration omitted */ };
Description
Basic type, like 'int' or 'float'. TODO: Split out DW_TAG_unspecified_type. TODO: Drop unused accessors.
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:764
Inherits from: DIType
Member Variables
- private unsigned int Encoding
Inherited from Metadata:
Method Overview
- private DIBasicType(llvm::LLVMContext & C, llvm::Metadata::StorageType Storage, unsigned int Tag, uint64_t SizeInBits, uint32_t AlignInBits, unsigned int Encoding, llvm::DINode::DIFlags Flags, ArrayRef<llvm::Metadata *> Ops)
- public static bool classof(const llvm::Metadata * MD)
- public llvm::TempDIBasicType clone() const
- private llvm::TempDIBasicType cloneImpl() const
- public unsigned int getEncoding() const
- private static llvm::DIBasicType * getImpl(llvm::LLVMContext & Context, unsigned int Tag, llvm::StringRef Name, uint64_t SizeInBits, uint32_t AlignInBits, unsigned int Encoding, llvm::DINode::DIFlags Flags, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
- private static llvm::DIBasicType * getImpl(llvm::LLVMContext & Context, unsigned int Tag, llvm::MDString * Name, uint64_t SizeInBits, uint32_t AlignInBits, unsigned int Encoding, llvm::DINode::DIFlags Flags, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
- public Optional<llvm::DIBasicType::Signedness> getSignedness() const
- private ~DIBasicType()
Inherited from DIType:
- public classof
- public clone
- public cloneWithFlags
- public getAlignInBits
- public getAlignInBytes
- public getExportSymbols
- public getFlags
- public getLine
- public getName
- public getOffsetInBits
- public getRawName
- public getRawScope
- public getScope
- public getSizeInBits
- protected init
- public isAppleBlockExtension
- public isArtificial
- public isBigEndian
- public isBitField
- public isForwardDecl
- public isLValueReference
- public isLittleEndian
- public isObjcClassComplete
- public isObjectPointer
- public isPrivate
- public isProtected
- public isPublic
- public isRValueReference
- public isStaticMember
- public isTypePassByReference
- public isTypePassByValue
- public isVector
- public isVirtual
- protected mutate
Inherited from DIScope:
- public classof
- public getDirectory
- public getFile
- public getFilename
- public getName
- public getRawFile
- public getScope
- public getSource
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
¶DIBasicType(llvm::LLVMContext& C,
llvm::Metadata::StorageType Storage,
unsigned int Tag,
uint64_t SizeInBits,
uint32_t AlignInBits,
unsigned int Encoding,
llvm::DINode::DIFlags Flags,
ArrayRef<llvm::Metadata*> Ops)
DIBasicType(llvm::LLVMContext& C,
llvm::Metadata::StorageType Storage,
unsigned int Tag,
uint64_t SizeInBits,
uint32_t AlignInBits,
unsigned int Encoding,
llvm::DINode::DIFlags Flags,
ArrayRef<llvm::Metadata*> Ops)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:770
Parameters
- llvm::LLVMContext& C
- llvm::Metadata::StorageType Storage
- unsigned int Tag
- uint64_t SizeInBits
- uint32_t AlignInBits
- unsigned int Encoding
- llvm::DINode::DIFlags Flags
- 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:826
Parameters
- const llvm::Metadata* MD
¶llvm::TempDIBasicType clone() const
llvm::TempDIBasicType clone() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:816
¶llvm::TempDIBasicType cloneImpl() const
llvm::TempDIBasicType cloneImpl() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:793
¶unsigned int getEncoding() const
unsigned int getEncoding() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:818
¶static llvm::DIBasicType* getImpl(
llvm::LLVMContext& Context,
unsigned int Tag,
llvm::StringRef Name,
uint64_t SizeInBits,
uint32_t AlignInBits,
unsigned int Encoding,
llvm::DINode::DIFlags Flags,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
static llvm::DIBasicType* getImpl(
llvm::LLVMContext& Context,
unsigned int Tag,
llvm::StringRef Name,
uint64_t SizeInBits,
uint32_t AlignInBits,
unsigned int Encoding,
llvm::DINode::DIFlags Flags,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:778
Parameters
- llvm::LLVMContext& Context
- unsigned int Tag
- llvm::StringRef Name
- uint64_t SizeInBits
- uint32_t AlignInBits
- unsigned int Encoding
- llvm::DINode::DIFlags Flags
- llvm::Metadata::StorageType Storage
- bool ShouldCreate = true
¶static llvm::DIBasicType* getImpl(
llvm::LLVMContext& Context,
unsigned int Tag,
llvm::MDString* Name,
uint64_t SizeInBits,
uint32_t AlignInBits,
unsigned int Encoding,
llvm::DINode::DIFlags Flags,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
static llvm::DIBasicType* getImpl(
llvm::LLVMContext& Context,
unsigned int Tag,
llvm::MDString* Name,
uint64_t SizeInBits,
uint32_t AlignInBits,
unsigned int Encoding,
llvm::DINode::DIFlags Flags,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:787
Parameters
- llvm::LLVMContext& Context
- unsigned int Tag
- llvm::MDString* Name
- uint64_t SizeInBits
- uint32_t AlignInBits
- unsigned int Encoding
- llvm::DINode::DIFlags Flags
- llvm::Metadata::StorageType Storage
- bool ShouldCreate = true
¶Optional<llvm::DIBasicType::Signedness>
getSignedness() const
Optional<llvm::DIBasicType::Signedness>
getSignedness() const
Description
Return the signedness of this type, or None if this type is neither signed nor unsigned.
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:824
¶~DIBasicType()
~DIBasicType()
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:776