clang 20.0.0git
|
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/ByteCode/IntegralAP.h"
Public Types | |
using | AsUnsigned = IntegralAP< false > |
Public Member Functions | |
template<typename T > | |
IntegralAP (T Value, unsigned BitWidth) | |
IntegralAP (APInt V) | |
IntegralAP () | |
Arbitrary value for uninitialized variables. | |
IntegralAP | operator- () const |
IntegralAP | operator- (const IntegralAP &Other) const |
bool | operator> (const IntegralAP &RHS) const |
bool | operator>= (IntegralAP RHS) const |
bool | operator< (IntegralAP RHS) const |
bool | operator<= (IntegralAP RHS) const |
template<typename Ty , typename = std::enable_if_t<std::is_integral_v<Ty>>> | |
operator Ty () const | |
constexpr unsigned | bitWidth () const |
APSInt | toAPSInt (unsigned Bits=0) const |
APValue | toAPValue (const ASTContext &) const |
bool | isZero () const |
bool | isPositive () const |
bool | isNegative () const |
bool | isMin () const |
bool | isMax () const |
bool | isMinusOne () const |
unsigned | countLeadingZeros () const |
void | print (llvm::raw_ostream &OS) const |
std::string | toDiagnosticString (const ASTContext &Ctx) const |
IntegralAP | truncate (unsigned BitWidth) const |
IntegralAP< false > | toUnsigned () const |
void | bitcastToMemory (std::byte *Dest) const |
ComparisonCategoryResult | compare (const IntegralAP &RHS) const |
size_t | bytesToSerialize () const |
void | serialize (std::byte *Buff) const |
Definition at line 33 of file IntegralAP.h.
using clang::interp::IntegralAP< Signed >::AsUnsigned = IntegralAP<false> |
Definition at line 56 of file IntegralAP.h.
|
inline |
Definition at line 59 of file IntegralAP.h.
References V.
|
inline |
Definition at line 62 of file IntegralAP.h.
References V.
|
inline |
Arbitrary value for uninitialized variables.
Definition at line 64 of file IntegralAP.h.
Referenced by clang::interp::IntegralAP< Signed >::bitAnd(), clang::interp::IntegralAP< Signed >::bitcastFromMemory(), clang::interp::IntegralAP< Signed >::bitOr(), clang::interp::IntegralAP< Signed >::bitXor(), clang::interp::IntegralAP< Signed >::comp(), clang::interp::IntegralAP< Signed >::div(), clang::interp::IntegralAP< Signed >::neg(), clang::interp::IntegralAP< Signed >::operator-(), clang::interp::IntegralAP< Signed >::rem(), clang::interp::IntegralAP< Signed >::shiftLeft(), clang::interp::IntegralAP< Signed >::shiftRight(), clang::interp::IntegralAP< Signed >::truncate(), and clang::interp::IntegralAP< Signed >::zero().
|
inlinestatic |
Definition at line 213 of file IntegralAP.h.
Referenced by clang::interp::IntegralAP< Signed >::increment().
|
inlinestatic |
Definition at line 241 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP().
|
inlinestatic |
Definition at line 178 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP(), clang::Signed, and V.
|
inline |
Definition at line 174 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::bitWidth(), and V.
|
inlinestatic |
Definition at line 247 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP().
|
inlineconstexpr |
Definition at line 123 of file IntegralAP.h.
References V.
Referenced by clang::interp::IntegralAP< Signed >::bitcastToMemory(), clang::interp::IntegralAP< Signed >::compare(), clang::interp::IntegralAP< Signed >::decrement(), clang::interp::IntegralAP< Signed >::increment(), clang::interp::IntegralAP< Signed >::toAPSInt(), and clang::interp::IntegralAP< Signed >::truncate().
|
inlinestatic |
Definition at line 253 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP().
|
inline |
Definition at line 286 of file IntegralAP.h.
|
inlinestatic |
Definition at line 266 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP().
|
inline |
Definition at line 184 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::bitWidth(), clang::Equal, clang::Greater, clang::interp::IntegralAP< Signed >::isSigned(), clang::Less, clang::Signed, and V.
|
inline |
Definition at line 152 of file IntegralAP.h.
References V.
|
inlinestatic |
Definition at line 208 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::bitWidth(), and clang::interp::IntegralAP< Signed >::sub().
|
inlinestatic |
Definition at line 300 of file IntegralAP.h.
References CHAR_BIT, and clang::Signed.
|
inlinestatic |
Definition at line 233 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP(), and clang::Signed.
|
inlinestatic |
Definition at line 114 of file IntegralAP.h.
References clang::interp::Integral< Bits, Signed >::toAPInt().
|
inlinestatic |
Definition at line 104 of file IntegralAP.h.
References V.
|
inlinestatic |
Definition at line 96 of file IntegralAP.h.
References clang::Copy, and clang::Signed.
Referenced by clang::interp::CastAP(), clang::interp::CastAPS(), clang::interp::CastPointerIntegralAP(), and clang::interp::CastPointerIntegralAPS().
|
inlinestatic |
Definition at line 203 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::add(), and clang::interp::IntegralAP< Signed >::bitWidth().
|
inline |
Definition at line 148 of file IntegralAP.h.
References V.
|
inline |
Definition at line 147 of file IntegralAP.h.
References V.
|
inline |
Definition at line 150 of file IntegralAP.h.
References clang::Signed, and V.
|
inline |
Definition at line 142 of file IntegralAP.h.
References clang::Signed, and V.
|
inline |
Definition at line 137 of file IntegralAP.h.
References clang::Signed, and V.
|
inlinestaticconstexpr |
Definition at line 149 of file IntegralAP.h.
References clang::Signed.
Referenced by clang::interp::IntegralAP< Signed >::compare().
|
inline |
Definition at line 136 of file IntegralAP.h.
References V.
|
inlinestatic |
Definition at line 221 of file IntegralAP.h.
|
inlinestatic |
Definition at line 259 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP().
|
inlineexplicit |
Definition at line 92 of file IntegralAP.h.
References V.
|
inline |
Definition at line 66 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP(), and V.
|
inline |
Definition at line 67 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP(), clang::Other, and V.
|
inline |
Definition at line 80 of file IntegralAP.h.
References clang::Signed, and V.
|
inline |
Definition at line 85 of file IntegralAP.h.
References clang::Signed, and V.
|
inline |
Definition at line 70 of file IntegralAP.h.
References clang::Signed, and V.
|
inline |
Definition at line 75 of file IntegralAP.h.
References clang::Signed, and V.
|
inline |
Definition at line 154 of file IntegralAP.h.
References clang::Signed, and V.
Referenced by clang::interp::operator<<(), and clang::interp::IntegralAP< Signed >::toDiagnosticString().
|
inlinestatic |
Definition at line 225 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP(), and clang::Signed.
|
inline |
Definition at line 291 of file IntegralAP.h.
|
inlinestatic |
Definition at line 271 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP().
|
inlinestatic |
Definition at line 276 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP(), and clang::Signed.
|
inlinestatic |
Definition at line 217 of file IntegralAP.h.
Referenced by clang::interp::IntegralAP< Signed >::decrement().
|
inline |
Definition at line 125 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::bitWidth(), clang::Signed, and V.
Referenced by clang::interp::IntegralAP< Signed >::toAPValue().
|
inline |
Definition at line 134 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::toAPSInt().
|
inline |
Definition at line 155 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::print().
|
inline |
Definition at line 169 of file IntegralAP.h.
References clang::Copy, and V.
|
inline |
Definition at line 162 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::bitWidth(), clang::interp::IntegralAP< Signed >::IntegralAP(), clang::Signed, and V.
|
inlinestatic |
Definition at line 118 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP(), clang::Signed, and V.
Referenced by clang::interp::ZeroIntAP(), and clang::interp::ZeroIntAPS().