Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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 ASTContext &) 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 ASTContext &) const { return APValue(toAPSInt()); }
H A DIntegralAP.h127 APSInt toAPSInt(unsigned Bits = 0) const {
136 APValue toAPValue(const ASTContext &) const { return APValue(toAPSInt()); } in toAPValue()
303 const APSInt &LHS = A.toAPSInt(); in CheckAddSubMulUB()
304 const APSInt &RHS = B.toAPSInt(); in CheckAddSubMulUB()
H A DInterp.h155 S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt(); in CheckShift()
164 const APSInt Val = RHS.toAPSInt(); in CheckShift()
176 S.CCEDiag(E, diag::note_constexpr_lshift_of_negative) << LHS.toAPSInt(); in CheckShift()
210 APSInt LHSInt = LHS.toAPSInt(); in CheckDivRem()
232 if (NumElements->toAPSInt().getActiveBits() > in CheckArraySize()
345 APSInt Value = OpAP<APSInt>()(LHS.toAPSInt(Bits), RHS.toAPSInt(Bits)); in AddSubMulHelper()
689 APSInt NegatedValue = -Value.toAPSInt(Value.bitWidth() + 1); in Neg()
749 APResult = ++Value.toAPSInt(Bits); in IncDecHelper()
751 APResult = --Value.toAPSInt(Bits); in IncDecHelper()
1855 APSInt APOffset(Offset.toAPSInt().extend(Bits + 2), /*IsUnsigend=*/false); in OffsetHelper()
[all …]
H A DPointer.cpp498 R = APValue(V1.toAPSInt(), V2.toAPSInt()); in toRValue()
H A DFloating.h69 APSInt toAPSInt(unsigned NumBits = 0) const {
H A DInterpBuiltin.cpp68 INT_TYPE_SWITCH(T, R = Stk.peek<T>(Offset).toAPSInt()); in peekToAPSInt()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DZ3Solver.cpp806 if (!toAPSInt(BVSort, AST, Int, true)) { in toAPFloat()
819 bool toAPSInt(const SMTSortRef &Sort, const SMTExprRef &AST, in toAPSInt() function in __anona2cc94240111::Z3Solver
868 return toAPSInt(Sort, Assign, Int, true); in getInterpretation()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DPDBTypes.h515 APSInt toAPSInt() const { in toAPSInt() function
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1317 decl, value.toAPSInt().extOrTrunc(type_width)); in AddRecordMembers()