Home
last modified time | relevance | path

Searched refs:toAPSInt (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DBoolean.h53 APSInt toAPSInt() const { in toAPSInt() function
56 APSInt toAPSInt(unsigned NumBits) const { in toAPSInt() function
57 return APSInt(toAPSInt().zextOrTrunc(NumBits), true); in toAPSInt()
59 APValue toAPValue() const { return APValue(toAPSInt()); } in toAPValue()
H A DIntegral.h106 APSInt toAPSInt() const {
109 APSInt toAPSInt(unsigned NumBits) const {
111 return APSInt(toAPSInt().sextOrTrunc(NumBits), !Signed);
113 return APSInt(toAPSInt().zextOrTrunc(NumBits), !Signed);
115 APValue toAPValue() const { return APValue(toAPSInt()); }
H A DInterp.h116 APSInt Value = OpAP<APSInt>()(LHS.toAPSInt(Bits), RHS.toAPSInt(Bits)); in AddSubMulHelper()
747 APSInt APOffset(Offset.toAPSInt().extend(Bits + 2), false); in OffsetHelper()
748 APSInt APIndex(Index.toAPSInt().extend(Bits + 2), false); in OffsetHelper()
853 const APSInt Val = V.toAPSInt(); in Trunc()
881 S.CCEDiag(E, diag::note_constexpr_lshift_of_negative) << V.toAPSInt(); in ShiftLeft()
905 S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt(); in Shr()
920 S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt(); in Shl()
/llvm-project-15.0.7/llvm/lib/Support/
H A DZ3Solver.cpp794 if (!toAPSInt(BVSort, AST, Int, true)) { in toAPFloat()
807 bool toAPSInt(const SMTSortRef &Sort, const SMTExprRef &AST, in toAPSInt() function in __anonae660b540111::Z3Solver
856 return toAPSInt(Sort, Assign, Int, true); in getInterpretation()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/
H A DPDBTypes.h515 APSInt toAPSInt() const { in toAPSInt() function
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1306 decl, value.toAPSInt().extOrTrunc(type_width)); in AddRecordMembers()