LLVM 19.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::SizeOffsetAPInt Struct Reference

SizeOffsetAPInt - Used by ObjectSizeOffsetVisitor, which works with APInts. More...

#include "llvm/Analysis/MemoryBuiltins.h"

Inheritance diagram for llvm::SizeOffsetAPInt:
Inheritance graph
[legend]

Public Member Functions

 SizeOffsetAPInt ()=default
 
 SizeOffsetAPInt (APInt Size, APInt Offset)
 
- Public Member Functions inherited from llvm::SizeOffsetType< APInt, SizeOffsetAPInt >
 SizeOffsetType ()=default
 
 SizeOffsetType (APInt Size, APInt Offset)
 
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, which works with APInts.

Definition at line 217 of file MemoryBuiltins.h.

Constructor & Destructor Documentation

◆ SizeOffsetAPInt() [1/2]

llvm::SizeOffsetAPInt::SizeOffsetAPInt ( )
default

◆ SizeOffsetAPInt() [2/2]

llvm::SizeOffsetAPInt::SizeOffsetAPInt ( APInt  Size,
APInt  Offset 
)
inline

Definition at line 219 of file MemoryBuiltins.h.

Member Function Documentation

◆ known()

static bool llvm::SizeOffsetAPInt::known ( const APInt V)
inlinestatic

Definition at line 222 of file MemoryBuiltins.h.


The documentation for this struct was generated from the following file: