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 |
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 >::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 197 of file IntegralAP.h.
Referenced by clang::interp::IntegralAP< Signed >::increment().
|
inlinestatic |
Definition at line 225 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP().
|
inlinestatic |
Definition at line 231 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP().
|
inlineconstexpr |
Definition at line 125 of file IntegralAP.h.
References V.
Referenced by 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 237 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP().
|
inline |
Definition at line 270 of file IntegralAP.h.
|
inlinestatic |
Definition at line 250 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP().
|
inline |
Definition at line 168 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 146 of file IntegralAP.h.
References V.
|
inlinestatic |
Definition at line 192 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::bitWidth(), and clang::interp::IntegralAP< Signed >::sub().
|
inlinestatic |
Definition at line 284 of file IntegralAP.h.
References CHAR_BIT, and clang::Signed.
|
inlinestatic |
Definition at line 217 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP(), and clang::Signed.
|
inlinestatic |
Definition at line 114 of file IntegralAP.h.
References clang::Copy.
|
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 187 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::add(), and clang::interp::IntegralAP< Signed >::bitWidth().
|
inline |
Definition at line 142 of file IntegralAP.h.
References V.
|
inline |
Definition at line 141 of file IntegralAP.h.
References V.
|
inline |
Definition at line 144 of file IntegralAP.h.
References clang::Signed, and V.
|
inline |
Definition at line 140 of file IntegralAP.h.
References V.
|
inline |
Definition at line 139 of file IntegralAP.h.
References V.
|
inlinestaticconstexpr |
Definition at line 143 of file IntegralAP.h.
References clang::Signed.
Referenced by clang::interp::IntegralAP< Signed >::compare().
|
inline |
Definition at line 138 of file IntegralAP.h.
References V.
|
inlinestatic |
Definition at line 205 of file IntegralAP.h.
|
inlinestatic |
Definition at line 243 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 148 of file IntegralAP.h.
References V.
Referenced by clang::interp::operator<<(), and clang::interp::IntegralAP< Signed >::toDiagnosticString().
|
inlinestatic |
Definition at line 209 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP(), and clang::Signed.
|
inline |
Definition at line 275 of file IntegralAP.h.
|
inlinestatic |
Definition at line 255 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP().
|
inlinestatic |
Definition at line 260 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP(), and clang::Signed.
|
inlinestatic |
Definition at line 201 of file IntegralAP.h.
Referenced by clang::interp::IntegralAP< Signed >::decrement().
|
inline |
Definition at line 127 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 136 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::toAPSInt().
|
inline |
Definition at line 149 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::print().
|
inline |
Definition at line 163 of file IntegralAP.h.
References clang::Copy, and V.
|
inline |
Definition at line 156 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::bitWidth(), clang::interp::IntegralAP< Signed >::IntegralAP(), clang::Signed, and V.
|
inlinestatic |
Definition at line 120 of file IntegralAP.h.
References clang::interp::IntegralAP< Signed >::IntegralAP(), clang::Signed, and V.
Referenced by clang::interp::ZeroIntAP(), and clang::interp::ZeroIntAPS().