A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clang.llvm.org/doxygen/classclang_1_1interp_1_1Integral.html below:

clang: clang::interp::Integral< Bits, Signed > Class Template Reference

Wrapper around numeric types. More...

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/ByteCode/Integral.h"

static constexpr unsigned  bitWidth ()   static constexpr bool  isSigned ()   static Integral  bitcastFromMemory (const std::byte *Src, unsigned BitWidth)   static Integral  min (unsigned NumBits)   static Integral  max (unsigned NumBits)   template<typename ValT > static Integral  from (ValT Value)   template<unsigned SrcBits, bool SrcSign> static std::enable_if_t< SrcBits !=0, Integralfrom (Integral< SrcBits, SrcSign > Value)   static Integral  zero (unsigned BitWidth=0)   template<typename T > static Integral  from (T Value, unsigned NumBits)   static bool  inRange (int64_t Value, unsigned NumBits)   static bool  increment (Integral A, Integral *R)   static bool  decrement (Integral A, Integral *R)   static bool  add (Integral A, Integral B, unsigned OpBits, Integral *R)   static bool  sub (Integral A, Integral B, unsigned OpBits, Integral *R)   static bool  mul (Integral A, Integral B, unsigned OpBits, Integral *R)   static bool  rem (Integral A, Integral B, unsigned OpBits, Integral *R)   static bool  div (Integral A, Integral B, unsigned OpBits, Integral *R)   static bool  bitAnd (Integral A, Integral B, unsigned OpBits, Integral *R)   static bool  bitOr (Integral A, Integral B, unsigned OpBits, Integral *R)   static bool  bitXor (Integral A, Integral B, unsigned OpBits, Integral *R)   static bool  neg (Integral A, Integral *R)   static bool  comp (Integral A, Integral *R)   template<unsigned RHSBits, bool RHSSign> static void  shiftLeft (const Integral A, const Integral< RHSBits, RHSSign > B, unsigned OpBits, Integral *R)   template<unsigned RHSBits, bool RHSSign> static void  shiftRight (const Integral A, const Integral< RHSBits, RHSSign > B, unsigned OpBits, Integral *R)  

template<

unsigned

Bits,

bool

Signed>

class clang::interp::Integral< Bits, Signed >

Wrapper around numeric types.

These wrappers are required to shared an interface between APSint and builtin primitive numeral types, while optimising for storage and allowing methods operating on primitive type to compile to fast code.

Definition at line 66 of file Integral.h.

◆ AsUnsigned ◆ Integral() [1/3]

Zero-initializes an integral.

Definition at line 86 of file Integral.h.

◆ Integral() [2/3]

Constructs an integral from another integral.

Definition at line 90 of file Integral.h.

◆ Integral() [3/3]

Construct an integral from a value based on signedness.

Definition at line 93 of file Integral.h.

◆ add() ◆ bitAnd() ◆ bitcastFromMemory() ◆ bitcastToMemory() ◆ bitOr() ◆ bitWidth() ◆ bitXor() ◆ comp() ◆ compare() ◆ countLeadingZeros() ◆ decrement() ◆ div() ◆ from() [1/3] ◆ from() [2/3] ◆ from() [3/3]

Definition at line 203 of file Integral.h.

References clang::interp::Integral< Bits, Signed >::from(), and clang::interp::Integral< Bits, Signed >::Integral.

Referenced by clang::interp::Integral< Bits, Signed >::from(), clang::interp::Integral< Bits, Signed >::shiftLeft(), clang::interp::Integral< Bits, Signed >::shiftRight(), and clang::interp::Integral< Bits, Signed >::zero().

◆ increment() ◆ inRange() ◆ isMin() ◆ isMinusOne() ◆ isNegative() ◆ isPositive() ◆ isSigned() ◆ isZero() ◆ max() ◆ min() ◆ mul() ◆ neg() ◆ operator Integral< DstBits, DstSign >() ◆ operator Ty()

template<typename Ty , typename = std::enable_if_t<std::is_integral_v<Ty>>>

◆ operator!=() ◆ operator-() [1/2] ◆ operator-() [2/2] ◆ operator<() ◆ operator<=() ◆ operator==() ◆ operator>() [1/2] ◆ operator>() [2/2] ◆ operator>=() ◆ operator~() ◆ print() ◆ rem() ◆ shiftLeft() ◆ shiftRight() ◆ sub() ◆ toAPInt() ◆ toAPSInt() [1/2] ◆ toAPSInt() [2/2] ◆ toAPValue() ◆ toDiagnosticString() ◆ toUnsigned() ◆ truncate() ◆ zero() ◆ Integral

Definition at line 68 of file Integral.h.

Referenced by clang::interp::Integral< Bits, Signed >::bitAnd(), clang::interp::Integral< Bits, Signed >::bitcastFromMemory(), clang::interp::Integral< Bits, Signed >::bitOr(), clang::interp::Integral< Bits, Signed >::bitXor(), clang::interp::Integral< Bits, Signed >::comp(), clang::interp::Integral< Bits, Signed >::decrement(), clang::interp::Integral< Bits, Signed >::div(), clang::interp::Integral< Bits, Signed >::from(), clang::interp::Integral< Bits, Signed >::increment(), clang::interp::Integral< Bits, Signed >::max(), clang::interp::Integral< Bits, Signed >::min(), clang::interp::Integral< Bits, Signed >::operator-(), clang::interp::Integral< Bits, Signed >::operator~(), clang::interp::Integral< Bits, Signed >::rem(), and clang::interp::Integral< Bits, Signed >::truncate().

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4