LLVM: llvm::SizeOffsetAPInt Struct Reference (original) (raw)
SizeOffsetAPInt - Used by [ObjectSizeOffsetVisitor](classllvm%5F1%5F1ObjectSizeOffsetVisitor.html "Evaluate the size and offset of an object pointed to by a Value* statically."), which works with APInts. More...
#include "[llvm/Analysis/MemoryBuiltins.h](MemoryBuiltins%5F8h%5Fsource.html)"
Inheritance diagram for llvm::SizeOffsetAPInt:
[legend]
| Public Member Functions | |
|---|---|
| SizeOffsetAPInt ()=default | |
| SizeOffsetAPInt (APInt Size, APInt Offset) | |
| Public Member Functions inherited from llvm::SizeOffsetType< APInt, SizeOffsetAPInt > | |
| SizeOffsetType ()=default | |
| bool | knownSize () const |
| bool | knownOffset () const |
| bool | anyKnown () const |
| bool | bothKnown () const |
| bool | operator== (const SizeOffsetType< APInt, SizeOffsetAPInt > &RHS) const |
| bool | operator!= (const SizeOffsetType< APInt, SizeOffsetAPInt > &RHS) const |
| Static Public Member Functions | |
|---|---|
| static bool | known (const APInt &V) |
| Additional Inherited Members | |
|---|---|
| Public Attributes inherited from llvm::SizeOffsetType< APInt, SizeOffsetAPInt > | |
| APInt | Size |
| APInt | Offset |
Detailed Description
SizeOffsetAPInt - Used by [ObjectSizeOffsetVisitor](classllvm%5F1%5F1ObjectSizeOffsetVisitor.html "Evaluate the size and offset of an object pointed to by a Value* statically."), which works with APInts.
Definition at line 232 of file MemoryBuiltins.h.
Constructor & Destructor Documentation
| llvm::SizeOffsetAPInt::SizeOffsetAPInt ( ) | default |
|---|
◆ SizeOffsetAPInt() [2/2]
| llvm::SizeOffsetAPInt::SizeOffsetAPInt ( APInt Size, APInt Offset ) | inline |
|---|
Definition at line 234 of file MemoryBuiltins.h.
References llvm::move(), llvm::SizeOffsetType< APInt, SizeOffsetAPInt >::Offset, llvm::SizeOffsetType< APInt, SizeOffsetAPInt >::Size, and llvm::SizeOffsetType< APInt, SizeOffsetAPInt >::SizeOffsetType().
Member Function Documentation
◆ known()
| bool llvm::SizeOffsetAPInt::known ( const APInt & V) | inlinestatic |
|---|
Definition at line 237 of file MemoryBuiltins.h.
The documentation for this struct was generated from the following file:
- include/llvm/Analysis/MemoryBuiltins.h