class DILexicalBlock
Declaration
class DILexicalBlock : public DILexicalBlockBase { /* full declaration omitted */ };
Description
A scope for locals. A legal scope for lexical blocks, local variables, and debug info locations. Subclasses are \a DISubprogram, \a DILexicalBlock, and \a DILexicalBlockFile.
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2087
Inherits from: DILexicalBlockBase
Member Variables
- private unsigned int Line
- private uint16_t Column
Inherited from Metadata:
Method Overview
- private DILexicalBlock(llvm::LLVMContext & C, llvm::Metadata::StorageType Storage, unsigned int Line, unsigned int Column, ArrayRef<llvm::Metadata *> Ops)
- public static bool classof(const llvm::Metadata * MD)
- public llvm::TempDILexicalBlock clone() const
- private llvm::TempDILexicalBlock cloneImpl() const
- public unsigned int getColumn() const
- private static llvm::DILexicalBlock * getImpl(llvm::LLVMContext & Context, llvm::DILocalScope * Scope, llvm::DIFile * File, unsigned int Line, unsigned int Column, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
- private static llvm::DILexicalBlock * getImpl(llvm::LLVMContext & Context, llvm::Metadata * Scope, llvm::Metadata * File, unsigned int Line, unsigned int Column, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
- public unsigned int getLine() const
- private ~DILexicalBlock()
Inherited from DILexicalBlockBase:
Inherited from DILocalScope:
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
¶DILexicalBlock(
llvm::LLVMContext& C,
llvm::Metadata::StorageType Storage,
unsigned int Line,
unsigned int Column,
ArrayRef<llvm::Metadata*> Ops)
DILexicalBlock(
llvm::LLVMContext& C,
llvm::Metadata::StorageType Storage,
unsigned int Line,
unsigned int Column,
ArrayRef<llvm::Metadata*> Ops)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2094
Parameters
- llvm::LLVMContext& C
- llvm::Metadata::StorageType Storage
- unsigned int Line
- unsigned int Column
- 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:2135
Parameters
- const llvm::Metadata* MD
¶llvm::TempDILexicalBlock clone() const
llvm::TempDILexicalBlock clone() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2130
¶llvm::TempDILexicalBlock cloneImpl() const
llvm::TempDILexicalBlock cloneImpl() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2115
¶unsigned int getColumn() const
unsigned int getColumn() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2133
¶static llvm::DILexicalBlock* getImpl(
llvm::LLVMContext& Context,
llvm::DILocalScope* Scope,
llvm::DIFile* File,
unsigned int Line,
unsigned int Column,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
static llvm::DILexicalBlock* getImpl(
llvm::LLVMContext& Context,
llvm::DILocalScope* Scope,
llvm::DIFile* File,
unsigned int Line,
unsigned int Column,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2102
Parameters
- llvm::LLVMContext& Context
- llvm::DILocalScope* Scope
- llvm::DIFile* File
- unsigned int Line
- unsigned int Column
- llvm::Metadata::StorageType Storage
- bool ShouldCreate = true
¶static llvm::DILexicalBlock* getImpl(
llvm::LLVMContext& Context,
llvm::Metadata* Scope,
llvm::Metadata* File,
unsigned int Line,
unsigned int Column,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
static llvm::DILexicalBlock* getImpl(
llvm::LLVMContext& Context,
llvm::Metadata* Scope,
llvm::Metadata* File,
unsigned int Line,
unsigned int Column,
llvm::Metadata::StorageType Storage,
bool ShouldCreate = true)
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2111
Parameters
- llvm::LLVMContext& Context
- llvm::Metadata* Scope
- llvm::Metadata* File
- unsigned int Line
- unsigned int Column
- llvm::Metadata::StorageType Storage
- bool ShouldCreate = true
¶unsigned int getLine() const
unsigned int getLine() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2132
¶~DILexicalBlock()
~DILexicalBlock()
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2100