Searched refs:toAPSInt (Results 1 - 4 of 4) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DBoolean.h53 APSInt toAPSInt() const { function in class:clang::interp::Boolean
56 APSInt toAPSInt(unsigned NumBits) const { function in class:clang::interp::Boolean
57 return APSInt(toAPSInt().zextOrTrunc(NumBits), true);
59 APValue toAPValue() const { return APValue(toAPSInt()); }
H A DIntegral.h106 APSInt toAPSInt() const { function in class:clang::interp::Integral
109 APSInt toAPSInt(unsigned NumBits) const { function in class:clang::interp::Integral
111 return APSInt(toAPSInt().sextOrTrunc(NumBits), !Signed);
113 return APSInt(toAPSInt().zextOrTrunc(NumBits), !Signed);
115 APValue toAPValue() const { return APValue(toAPSInt()); }
H A DInterp.h115 APSInt Value = OpAP<APSInt>()(LHS.toAPSInt(Bits), RHS.toAPSInt(Bits));
745 APSInt APOffset(Offset.toAPSInt().extend(Bits + 2), false);
746 APSInt APIndex(Index.toAPSInt().extend(Bits + 2), false);
851 const APSInt Val = V.toAPSInt();
879 S.CCEDiag(E, diag::note_constexpr_lshift_of_negative) << V.toAPSInt();
903 S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt();
918 S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
H A DZ3Solver.cpp776 if (!toAPSInt(BVSort, AST, Int, true)) {
789 bool toAPSInt(const SMTSortRef &Sort, const SMTExprRef &AST, function in class:__anon4884::Z3Solver
838 return toAPSInt(Sort, Assign, Int, true);

Completed in 165 milliseconds