|
LLVM 24.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 199 of file MemoryBuiltins.h.
|
default |
Referenced by operator!=(), and operator==().
|
inline |
Definition at line 205 of file MemoryBuiltins.h.
References llvm::move(), Offset, Size, and T.
Definition at line 210 of file MemoryBuiltins.h.
References knownOffset(), and knownSize().
Definition at line 211 of file MemoryBuiltins.h.
References knownOffset(), and knownSize().
Referenced by getBoundsCheckCond(), llvm::ObjectSizeOffsetEvaluator::visitGEPOperator(), llvm::ObjectSizeOffsetEvaluator::visitPHINode(), and llvm::ObjectSizeOffsetEvaluator::visitSelectInst().
Definition at line 209 of file MemoryBuiltins.h.
References Offset.
Referenced by anyKnown(), and bothKnown().
Definition at line 208 of file MemoryBuiltins.h.
References Size.
Referenced by anyKnown(), and bothKnown().
|
inline |
Definition at line 216 of file MemoryBuiltins.h.
References RHS, and SizeOffsetType().
|
inline |
Definition at line 213 of file MemoryBuiltins.h.
References Offset, RHS, Size, and SizeOffsetType().
Definition at line 202 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 201 of file MemoryBuiltins.h.
Referenced by getBoundsCheckCond(), knownSize(), llvm::lowerObjectSizeCall(), operator==(), SizeOffsetType(), llvm::ObjectSizeOffsetEvaluator::visitGEPOperator(), llvm::ObjectSizeOffsetEvaluator::visitPHINode(), and llvm::ObjectSizeOffsetEvaluator::visitSelectInst().