Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/AST/Interp/
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()
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()); }
DInterp.h115 APSInt Value = OpAP<APSInt>()(LHS.toAPSInt(Bits), RHS.toAPSInt(Bits)); in AddSubMulHelper()
745 APSInt APOffset(Offset.toAPSInt().extend(Bits + 2), false); in OffsetHelper()
746 APSInt APIndex(Index.toAPSInt().extend(Bits + 2), false); in OffsetHelper()
851 const APSInt Val = V.toAPSInt(); in Trunc()
879 S.CCEDiag(E, diag::note_constexpr_lshift_of_negative) << V.toAPSInt(); in ShiftLeft()
903 S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt(); in Shr()
918 S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt(); in Shl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DZ3Solver.cpp776 if (!toAPSInt(BVSort, AST, Int, true)) { in toAPFloat()
789 bool toAPSInt(const SMTSortRef &Sort, const SMTExprRef &AST, in toAPSInt() function in __anond0ee00280111::Z3Solver
838 return toAPSInt(Sort, Assign, Int, true); in getInterpretation()
/external/llvm-project/llvm/lib/Support/
DZ3Solver.cpp792 if (!toAPSInt(BVSort, AST, Int, true)) { in toAPFloat()
805 bool toAPSInt(const SMTSortRef &Sort, const SMTExprRef &AST, in toAPSInt() function in __anon764e5f140111::Z3Solver
854 return toAPSInt(Sort, Assign, Int, true); in getInterpretation()
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/
DPDBTypes.h514 APSInt toAPSInt() const { in toAPSInt() function
/external/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
DPDBASTParser.cpp1279 decl, value.toAPSInt().extOrTrunc(type_width)); in AddRecordMembers()