LLVM 22.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 208 of file MemoryBuiltins.h.
|
default |
Referenced by operator!=(), and operator==().
|
inline |
Definition at line 214 of file MemoryBuiltins.h.
References llvm::move(), Offset, Size, and T.
Definition at line 219 of file MemoryBuiltins.h.
References knownOffset(), and knownSize().
Definition at line 220 of file MemoryBuiltins.h.
References knownOffset(), and knownSize().
Referenced by getBoundsCheckCond(), llvm::ObjectSizeOffsetEvaluator::visitGEPOperator(), llvm::ObjectSizeOffsetEvaluator::visitPHINode(), and llvm::ObjectSizeOffsetEvaluator::visitSelectInst().
Definition at line 218 of file MemoryBuiltins.h.
References Offset.
Referenced by anyKnown(), and bothKnown().
Definition at line 217 of file MemoryBuiltins.h.
References Size.
Referenced by anyKnown(), and bothKnown().
|
inline |
Definition at line 225 of file MemoryBuiltins.h.
References RHS, and SizeOffsetType().
|
inline |
Definition at line 222 of file MemoryBuiltins.h.
References Offset, RHS, Size, and SizeOffsetType().
Definition at line 211 of file MemoryBuiltins.h.
Referenced by getBoundsCheckCond(), knownOffset(), llvm::lowerObjectSizeCall(), operator==(), SizeOffsetType(), llvm::ObjectSizeOffsetEvaluator::visitGEPOperator(), llvm::ObjectSizeOffsetEvaluator::visitPHINode(), and llvm::ObjectSizeOffsetEvaluator::visitSelectInst().
Definition at line 210 of file MemoryBuiltins.h.
Referenced by getBoundsCheckCond(), knownSize(), llvm::lowerObjectSizeCall(), operator==(), SizeOffsetType(), llvm::ObjectSizeOffsetEvaluator::visitGEPOperator(), llvm::ObjectSizeOffsetEvaluator::visitPHINode(), and llvm::ObjectSizeOffsetEvaluator::visitSelectInst().