Wrapper around numeric types. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/ByteCode/Integral.h"
template<
unsignedBits,
boolSigned>
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() ◆ IntegralDefinition 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