|
LLVM 24.0.0git
|
Base class for variables. More...
#include "llvm/IR/DebugInfoMetadata.h"
Additional Inherited Members | |
| Public Types inherited from llvm::DINode | |
| enum | DIFlags : uint32_t { FlagAccessibility = FlagPrivate | FlagProtected | FlagPublic , FlagPtrToMemberRep } |
| Debug info flags. More... | |
| Public Types inherited from llvm::MDNode | |
| using | op_iterator = const MDOperand * |
| using | op_range = iterator_range<op_iterator> |
| Public Types inherited from llvm::Metadata | |
| enum | MetadataKind |
| Static Public Attributes inherited from llvm::Metadata | |
| static constexpr const unsigned | PoisonGeneratingIDs [] |
| Metadata IDs that may generate poison. | |
| Protected Types inherited from llvm::MDNode | |
| using | mutable_op_range = iterator_range<MDOperand *> |
| Protected Types inherited from llvm::Metadata | |
| enum | StorageType { Uniqued , Distinct , Temporary } |
| Active type of storage. More... | |
| Static Protected Member Functions inherited from llvm::DINode | |
| static MDString * | getCanonicalMDString (LLVMContext &Context, StringRef S) |
| Static Protected Member Functions inherited from llvm::MDNode | |
| template<class T, class StoreT> | |
| static T * | storeImpl (T *N, StorageType Storage, StoreT &Store) |
| template<class T> | |
| static T * | storeImpl (T *N, StorageType Storage) |
| Protected Attributes inherited from llvm::Metadata | |
| unsigned char | Storage: 7 |
| Storage flag for non-uniqued, otherwise unowned, metadata. | |
| unsigned char | SubclassData1: 1 |
| unsigned short | SubclassData16 = 0 |
| unsigned | SubclassData32 = 0 |
Base class for variables.
Uses the SubclassData32 Metadata slot.
Definition at line 3406 of file DebugInfoMetadata.h.
|
protected |
Definition at line 1647 of file DebugInfoMetadata.cpp.
References AbstractManglingParser< Derived, Alloc >::Ops, C(), llvm::DINode::DINode(), llvm::Metadata::Storage, and llvm::Metadata::SubclassData32.
Referenced by llvm::DIGlobalVariable::MDNode, and llvm::DILocalVariable::MDNode.
|
protecteddefault |
Definition at line 3457 of file DebugInfoMetadata.h.
References llvm::Metadata::getMetadataID().
|
inline |
Definition at line 3421 of file DebugInfoMetadata.h.
References llvm::Metadata::SubclassData32.
Referenced by FixupDebugInfoForOutlinedFunction(), and getAlignInBytes().
|
inline |
Definition at line 3422 of file DebugInfoMetadata.h.
References getAlignInBits().
Referenced by llvm::DwarfCompileUnit::getOrCreateGlobalVariableDIE().
|
inline |
Definition at line 3440 of file DebugInfoMetadata.h.
|
inline |
Definition at line 3419 of file DebugInfoMetadata.h.
References llvm::cast_or_null(), and getRawFile().
Referenced by llvm::SPIRVNonSemanticDebugHandler::emitNonSemanticDebugStrings(), FixupDebugInfoForOutlinedFunction(), getDirectory(), getFilename(), and getSource().
|
inline |
Definition at line 3434 of file DebugInfoMetadata.h.
|
inline |
Definition at line 3416 of file DebugInfoMetadata.h.
Referenced by FixupDebugInfoForOutlinedFunction().
|
inline |
Definition at line 3418 of file DebugInfoMetadata.h.
References llvm::DINode::getStringOperand().
Referenced by llvm::DwarfCompileUnit::addLocationAttribute(), llvm::SPIRVNonSemanticDebugHandler::emitNonSemanticDebugStrings(), FixupDebugInfoForOutlinedFunction(), llvm::DbgVariable::getName(), llvm::DwarfCompileUnit::getOrCreateGlobalVariableDIE(), llvm::DbgValueRangeTable::printValues(), and remarkAlloca().
|
inline |
Definition at line 3454 of file DebugInfoMetadata.h.
References llvm::MDNode::getOperand().
Referenced by getFile().
|
inline |
Definition at line 3453 of file DebugInfoMetadata.h.
References llvm::DINode::getOperandAs().
|
inline |
Definition at line 3452 of file DebugInfoMetadata.h.
References llvm::MDNode::getOperand().
Referenced by getScope().
|
inline |
Definition at line 3455 of file DebugInfoMetadata.h.
References llvm::MDNode::getOperand().
Referenced by getSizeInBits(), and getType().
|
inline |
Definition at line 3417 of file DebugInfoMetadata.h.
References llvm::cast_or_null(), and getRawScope().
Referenced by llvm::DwarfDebug::endModule(), llvm::DwarfCompileUnit::getOrCreateGlobalVariableDIE(), and llvm::DILocalVariable::getScope().
|
inline |
Return the signedness of this variable's type, or std::nullopt if this type is neither signed nor unsigned.
Definition at line 3428 of file DebugInfoMetadata.h.
References llvm::dyn_cast(), and getType().
Referenced by llvm::DIExpression::getActiveBits(), and llvm::replaceAllDbgUsesWith().
| std::optional< uint64_t > DIVariable::getSizeInBits | ( | ) | const |
Determines the size of the variable's type.
Definition at line 1653 of file DebugInfoMetadata.cpp.
References llvm::dyn_cast(), getRawType(), Size, and T.
Referenced by emitDbgAssign(), LiveDebugValues::MLocTracker::emitLoc(), llvm::DIExpression::getActiveBits(), llvm::DbgVariableIntrinsic::getFragmentSizeInBits(), llvm::DbgVariableRecord::getFragmentSizeInBits(), and llvm::SelectionDAGBuilder::handleDebugValue().
|
inline |
Definition at line 3446 of file DebugInfoMetadata.h.
|
inline |
Definition at line 3420 of file DebugInfoMetadata.h.
References llvm::cast_or_null(), and getRawType().
Referenced by FixupDebugInfoForOutlinedFunction(), llvm::DwarfCompileUnit::getOrCreateGlobalVariableDIE(), getSignedness(), llvm::DbgVariable::getType(), isCompositeType(), llvm::DebugInfoFinder::processVariable(), and transferSRADebugInfo().