|
clang 23.0.0git
|
#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/ByteCode/Char.h"
Public Types | |
| using | AsUnsigned = Char<false> |
Public Member Functions | |
| constexpr | Char ()=default |
| constexpr | Char (ReprT V) |
| Char (const APSInt &V) | |
| constexpr bool | isMin () const |
| constexpr bool | isNegative () const |
| constexpr bool | isPositive () const |
| constexpr bool | isZero () const |
| constexpr bool | isMinusOne () const |
| template<typename Ty, typename = std::enable_if_t<std::is_integral_v<Ty>>> | |
| operator Ty () const | |
| bool | operator< (Char RHS) const |
| bool | operator> (Char RHS) const |
| bool | operator<= (Char RHS) const |
| bool | operator>= (Char RHS) const |
| bool | operator== (Char RHS) const |
| bool | operator!= (Char RHS) const |
| bool | operator>= (unsigned RHS) const |
| bool | operator> (unsigned RHS) const |
| Char | operator- () const |
| Char | operator- (Char Other) const |
| ComparisonCategoryResult | compare (Char RHS) const |
| void | bitcastToMemory (std::byte *Dest) const |
| APSInt | toAPSInt () const |
| APSInt | toAPSInt (unsigned BitWidth) const |
| APInt | toAPInt (unsigned BitWidth) const |
| APValue | toAPValue (const ASTContext &) const |
| std::string | toDiagnosticString (const ASTContext &Ctx) const |
| Char< false > | toUnsigned () const |
| Char | truncate (unsigned TruncBits) const |
| unsigned | countLeadingZeros () const |
| void | print (llvm::raw_ostream &OS) const |
Static Public Member Functions | |
| template<typename T> | |
| static Char | from (T t) |
| template<typename T> | |
| static Char | from (T t, unsigned BitWidth) |
| static bool | isSigned () |
| static unsigned | bitWidth () |
| static bool | isNumber () |
| static Char | zero (unsigned BitWidth=8) |
| static Char | bitcastFromMemory (const std::byte *Src, unsigned BitWidth) |
| static bool | increment (Char A, Char *R) |
| static bool | decrement (Char A, Char *R) |
| static bool | add (Char A, Char B, unsigned OpBits, Char *R) |
| static bool | sub (Char A, Char B, unsigned OpBits, Char *R) |
| static bool | mul (Char A, Char B, unsigned OpBits, Char *R) |
| static bool | rem (Char A, Char B, unsigned OpBits, Char *R) |
| static bool | div (Char A, Char B, unsigned OpBits, Char *R) |
| static bool | bitAnd (Char A, Char B, unsigned OpBits, Char *R) |
| static bool | bitOr (Char A, Char B, unsigned OpBits, Char *R) |
| static bool | bitXor (Char A, Char B, unsigned OpBits, Char *R) |
| static bool | neg (Char A, Char *R) |
| static bool | comp (Char A, Char *R) |
| template<bool RHSSign> | |
| static void | shiftLeft (const Char A, const Char< RHSSign > B, unsigned OpBits, Char *R) |
| template<bool RHSSign> | |
| static void | shiftRight (const Char A, const Char< RHSSign > B, unsigned OpBits, Char *R) |
Friends | |
| template<bool OtherSigned> | |
| class | Char |
| using clang::interp::Char< Signed >::AsUnsigned = Char<false> |
|
constexprdefault |
|
inlineconstexpr |
|
inlineexplicit |
|
inlinestatic |
Definition at line 148 of file Char.h.
Referenced by clang::interp::Char< false >::increment().
|
inlinestatic |
|
inline |
|
inlinestatic |
Definition at line 52 of file Char.h.
Referenced by clang::interp::Char< false >::decrement(), and clang::interp::Char< false >::increment().
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlineconstexpr |
Definition at line 56 of file Char.h.
Referenced by clang::interp::Char< false >::neg().
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 59 of file Char.h.
Referenced by clang::interp::Char< false >::isPositive().
|
inlinestatic |
|
inlineconstexpr |
Definition at line 60 of file Char.h.
Referenced by clang::interp::Char< false >::countLeadingZeros().
|
inlinestatic |
|
inlineconstexpr |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 210 of file Char.h.
Referenced by clang::interp::operator<<().
|
inlinestatic |
Definition at line 152 of file Char.h.
Referenced by clang::interp::Char< false >::decrement().
|
inline |
Definition at line 106 of file Char.h.
Referenced by clang::interp::Char< false >::toAPSInt().
|
inline |
Definition at line 100 of file Char.h.
Referenced by clang::interp::Char< false >::toAPValue().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Definition at line 30 of file Char.h.
Referenced by clang::interp::Char< false >::bitAnd(), clang::interp::Char< false >::bitcastFromMemory(), clang::interp::Char< false >::bitOr(), clang::interp::Char< false >::bitXor(), clang::interp::Char< false >::comp(), clang::interp::Char< false >::decrement(), clang::interp::Char< false >::div(), clang::interp::Char< false >::from(), clang::interp::Char< false >::from(), clang::interp::Char< false >::increment(), clang::interp::Char< false >::neg(), clang::interp::Char< false >::operator-(), clang::interp::Char< false >::operator-(), clang::interp::Char< false >::rem(), clang::interp::Char< false >::shiftLeft(), clang::interp::Char< false >::shiftRight(), clang::interp::Char< false >::truncate(), and clang::interp::Char< false >::zero().