LLVM 20.0.0git
|
SizeOffsetType - A base template class for the object size visitors. More...
#include "llvm/Analysis/MemoryBuiltins.h"
Public Member Functions | |
SizeOffsetType ()=default | |
SizeOffsetType (T Size, T Offset) | |
bool | knownSize () const |
bool | knownOffset () const |
bool | anyKnown () const |
bool | bothKnown () const |
bool | operator== (const SizeOffsetType< T, C > &RHS) const |
bool | operator!= (const SizeOffsetType< T, C > &RHS) const |
Public Attributes | |
T | Size |
T | Offset |
SizeOffsetType - A base template class for the object size visitors.
Used here as a self-documenting way to handle the values rather than using a std::pair
.
Definition at line 192 of file MemoryBuiltins.h.
|
default |
|
inline |
Definition at line 198 of file MemoryBuiltins.h.
Definition at line 203 of file MemoryBuiltins.h.
References llvm::SizeOffsetType< T, C >::knownOffset(), and llvm::SizeOffsetType< T, C >::knownSize().
Definition at line 204 of file MemoryBuiltins.h.
References llvm::SizeOffsetType< T, C >::knownOffset(), and llvm::SizeOffsetType< T, C >::knownSize().
Referenced by getBoundsCheckCond(), llvm::ObjectSizeOffsetEvaluator::visitGEPOperator(), llvm::ObjectSizeOffsetVisitor::visitLoadInst(), llvm::ObjectSizeOffsetEvaluator::visitPHINode(), and llvm::ObjectSizeOffsetEvaluator::visitSelectInst().
Definition at line 202 of file MemoryBuiltins.h.
References llvm::SizeOffsetType< T, C >::Offset.
Referenced by llvm::SizeOffsetType< T, C >::anyKnown(), and llvm::SizeOffsetType< T, C >::bothKnown().
Definition at line 201 of file MemoryBuiltins.h.
References llvm::SizeOffsetType< T, C >::Size.
Referenced by llvm::SizeOffsetType< T, C >::anyKnown(), and llvm::SizeOffsetType< T, C >::bothKnown().
|
inline |
Definition at line 209 of file MemoryBuiltins.h.
References RHS.
|
inline |
Definition at line 206 of file MemoryBuiltins.h.
References llvm::SizeOffsetType< T, C >::Offset, RHS, and llvm::SizeOffsetType< T, C >::Size.
Definition at line 195 of file MemoryBuiltins.h.
Referenced by getBoundsCheckCond(), llvm::SizeOffsetType< T, C >::knownOffset(), llvm::lowerObjectSizeCall(), llvm::SizeOffsetType< T, C >::operator==(), llvm::ObjectSizeOffsetEvaluator::visitGEPOperator(), llvm::ObjectSizeOffsetEvaluator::visitPHINode(), and llvm::ObjectSizeOffsetEvaluator::visitSelectInst().
Definition at line 194 of file MemoryBuiltins.h.
Referenced by getBoundsCheckCond(), llvm::SizeOffsetType< T, C >::knownSize(), llvm::lowerObjectSizeCall(), llvm::SizeOffsetType< T, C >::operator==(), llvm::ObjectSizeOffsetEvaluator::visitGEPOperator(), llvm::ObjectSizeOffsetEvaluator::visitPHINode(), and llvm::ObjectSizeOffsetEvaluator::visitSelectInst().