Home
last modified time | relevance | path

Searched refs:IntegralAP (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegralAP.h64 IntegralAP() : IntegralAP(-1, 1024) {} in IntegralAP() function
66 IntegralAP operator-() const { return IntegralAP(-V); }
67 IntegralAP operator-(const IntegralAP &Other) const {
184 static bool increment(IntegralAP A, IntegralAP *R) { in increment()
189 static bool decrement(IntegralAP A, IntegralAP *R) { in decrement()
194 static bool add(IntegralAP A, IntegralAP B, unsigned OpBits, IntegralAP *R) { in add()
198 static bool sub(IntegralAP A, IntegralAP B, unsigned OpBits, IntegralAP *R) { in sub()
202 static bool mul(IntegralAP A, IntegralAP B, unsigned OpBits, IntegralAP *R) { in mul()
206 static bool rem(IntegralAP A, IntegralAP B, unsigned OpBits, IntegralAP *R) { in rem()
214 static bool div(IntegralAP A, IntegralAP B, unsigned OpBits, IntegralAP *R) { in div()
[all …]
H A DPrimType.h28 template <bool Signed> class IntegralAP; variable
75 using T = IntegralAP<false>;
78 using T = IntegralAP<true>;
H A DInterpStack.h187 else if constexpr (std::is_same_v<T, IntegralAP<true>>) in toPrimType()
189 else if constexpr (std::is_same_v<T, IntegralAP<false>>) in toPrimType()
H A DInterp.h1595 S.Stk.push<IntegralAP<false>>( in CastAP()
1596 IntegralAP<false>::from(S.Stk.pop<T>(), BitWidth)); in CastAP()
1602 S.Stk.push<IntegralAP<true>>( in CastAPS()
1603 IntegralAP<true>::from(S.Stk.pop<T>(), BitWidth)); in CastAPS()
1667 S.Stk.push<IntegralAP<true>>(IntegralAP<true>(Result)); in CastFloatingIntegralAP()
1687 S.Stk.push<IntegralAP<true>>(IntegralAP<true>(Result)); in CastFloatingIntegralAPS()
1713 S.Stk.push<IntegralAP<false>>(IntegralAP<false>::zero(BitWidth)); in ZeroIntAP()
1718 S.Stk.push<IntegralAP<true>>(IntegralAP<true>::zero(BitWidth)); in ZeroIntAPS()
H A DIntegral.h32 template <bool Signed> class IntegralAP; variable