LLVM 20.0.0git
|
#include "llvm/IR/DbgVariableFragmentInfo.h"
Public Member Functions | |
DbgVariableFragmentInfo ()=default | |
DbgVariableFragmentInfo (uint64_t SizeInBits, uint64_t OffsetInBits) | |
uint64_t | startInBits () const |
Return the index of the first bit of the fragment. | |
uint64_t | endInBits () const |
Return the index of the bit after the end of the fragment, e.g. | |
Static Public Member Functions | |
static DbgVariableFragmentInfo | intersect (DbgVariableFragmentInfo A, DbgVariableFragmentInfo B) |
Returns a zero-sized fragment if A and B don't intersect. | |
Public Attributes | |
uint64_t | SizeInBits |
uint64_t | OffsetInBits |
Definition at line 18 of file DbgVariableFragmentInfo.h.
|
default |
Referenced by intersect().
|
inline |
Definition at line 20 of file DbgVariableFragmentInfo.h.
|
inline |
Return the index of the bit after the end of the fragment, e.g.
for fragment offset=16 and size=32 return their sum, 48.
Definition at line 28 of file DbgVariableFragmentInfo.h.
References OffsetInBits, and SizeInBits.
Referenced by removeRedundantDbgLocsUsingBackwardScan().
|
inlinestatic |
Returns a zero-sized fragment if A and B don't intersect.
Definition at line 31 of file DbgVariableFragmentInfo.h.
References A, B, and DbgVariableFragmentInfo().
Referenced by llvm::DIExpression::calculateFragmentIntersect().
|
inline |
Return the index of the first bit of the fragment.
Definition at line 25 of file DbgVariableFragmentInfo.h.
References OffsetInBits.
Referenced by removeRedundantDbgLocsUsingBackwardScan().
uint64_t llvm::DbgVariableFragmentInfo::OffsetInBits |
Definition at line 23 of file DbgVariableFragmentInfo.h.
Referenced by llvm::DIExpression::calculateFragmentIntersect(), llvm::DIExpression::convertToUndefExpression(), createOrReplaceFragment(), endInBits(), llvm::DbgVariableIntrinsic::getFragmentOrEntireVariable(), llvm::DenseMapInfo< DIExpression::FragmentInfo >::getHashValue(), migrateDebugInfo(), and startInBits().
uint64_t llvm::DbgVariableFragmentInfo::SizeInBits |
Definition at line 22 of file DbgVariableFragmentInfo.h.
Referenced by llvm::DIExpression::calculateFragmentIntersect(), llvm::DIExpression::convertToUndefExpression(), createOrReplaceFragment(), endInBits(), llvm::DbgVariableIntrinsic::getFragmentOrEntireVariable(), llvm::DenseMapInfo< DIExpression::FragmentInfo >::getHashValue(), and migrateDebugInfo().