LLVM 20.0.0git
|
A helper containing a list of offsets computed for a Use. More...
#include "llvm/Transforms/IPO/Attributor.h"
Public Types | |
using | VecTy = SmallSet< int64_t, 4 > |
using | const_iterator = VecTy::const_iterator |
Public Member Functions | |
const_iterator | begin () const |
const_iterator | end () const |
bool | operator== (const OffsetInfo &RHS) const |
bool | operator!= (const OffsetInfo &RHS) const |
bool | insert (int64_t Offset) |
bool | isUnassigned () const |
bool | isUnknown () const |
void | setUnknown () |
void | addToAll (int64_t Inc) |
bool | merge (const OffsetInfo &R) |
Copy offsets from R into the current list. | |
Public Attributes | |
VecTy | Offsets |
A helper containing a list of offsets computed for a Use.
Ideally this list should be strictly ascending, but we ensure that only when we actually translate the list of offsets to a RangeList.
Definition at line 5800 of file Attributor.h.
Definition at line 5802 of file Attributor.h.
using llvm::AAPointerInfo::OffsetInfo::VecTy = SmallSet<int64_t, 4> |
Definition at line 5801 of file Attributor.h.
|
inline |
Definition at line 5830 of file Attributor.h.
References llvm::SmallSet< T, N, C >::insert(), llvm::Offset, and Offsets.
|
inline |
Definition at line 5805 of file Attributor.h.
References llvm::SmallSet< T, N, C >::begin(), and Offsets.
|
inline |
Definition at line 5806 of file Attributor.h.
References llvm::SmallSet< T, N, C >::end(), and Offsets.
|
inline |
Definition at line 5814 of file Attributor.h.
References llvm::SmallSet< T, N, C >::insert(), llvm::Offset, and Offsets.
|
inline |
Definition at line 5815 of file Attributor.h.
References Offsets, and llvm::SmallSet< T, N, C >::size().
Referenced by llvm::AA::PointerInfo::State::forallInterferingAccesses(), and isUnknown().
|
inline |
Definition at line 5817 of file Attributor.h.
References llvm::SmallSet< T, N, C >::begin(), isUnassigned(), Offsets, llvm::SmallSet< T, N, C >::size(), and llvm::AA::RangeTy::Unknown.
|
inline |
Copy offsets from R
into the current list.
Ideally all lists should be strictly ascending, but we defer that to the actual use of the list. So we just blindly append here.
Definition at line 5841 of file Attributor.h.
References Offsets, and llvm::set_union().
|
inline |
Definition at line 5812 of file Attributor.h.
References RHS.
|
inline |
Definition at line 5808 of file Attributor.h.
|
inline |
Definition at line 5825 of file Attributor.h.
References llvm::SmallSet< T, N, C >::clear(), llvm::SmallSet< T, N, C >::insert(), Offsets, and llvm::AA::RangeTy::Unknown.
VecTy llvm::AAPointerInfo::OffsetInfo::Offsets |
Definition at line 5803 of file Attributor.h.
Referenced by addToAll(), begin(), end(), insert(), isUnassigned(), isUnknown(), merge(), operator==(), and setUnknown().