Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DBoolean.h49 APSInt toAPSInt() const { in toAPSInt() function
52 APSInt toAPSInt(unsigned NumBits) const { in toAPSInt() function
53 return APSInt(toAPSInt().zextOrTrunc(NumBits), true); in toAPSInt()
55 APValue toAPValue(const ASTContext &) const { return APValue(toAPSInt()); } in toAPValue()
H A DIntegralAP.h143 APSInt toAPSInt(unsigned Bits = 0) const {
153 APValue toAPValue(const ASTContext &) const { return APValue(toAPSInt()); } in toAPValue()
359 const APSInt &LHS = A.toAPSInt(); in CheckAddSubMulUB()
360 const APSInt &RHS = B.toAPSInt(); in CheckAddSubMulUB()
H A DIntegral.h126 APSInt toAPSInt() const {
129 APSInt toAPSInt(unsigned BitWidth) const {
140 APValue toAPValue(const ASTContext &) const { return APValue(toAPSInt()); }
H A DInterp.h185 S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt(); in CheckShift()
194 const APSInt Val = RHS.toAPSInt(); in CheckShift()
207 S.CCEDiag(E, diag::note_constexpr_lshift_of_negative) << LHS.toAPSInt(); in CheckShift()
244 APSInt LHSInt = LHS.toAPSInt(); in CheckDivRem()
274 if (NumElements->toAPSInt().getActiveBits() > in CheckArraySize()
388 APSInt Value = OpAP<APSInt>()(LHS.toAPSInt(Bits), RHS.toAPSInt(Bits)); in AddSubMulHelper()
793 APSInt NegatedValue = -Value.toAPSInt(Value.bitWidth() + 1); in Neg()
860 APResult = ++Value.toAPSInt(Bits); in IncDecHelper()
862 APResult = --Value.toAPSInt(Bits); in IncDecHelper()
1352 Result.copy(Arg.toAPSInt()); in Const()
[all …]
H A DInterpBuiltin.cpp50 INT_TYPE_SWITCH(T, return Stk.pop<T>().toAPSInt()); in popToAPSInt()
1658 (PrevResult.toAPSInt(OverflowBits) + in interp__builtin_vector_reduce()
1659 Elem.toAPSInt(OverflowBits))); in interp__builtin_vector_reduce()
1666 (PrevResult.toAPSInt(OverflowBits) * in interp__builtin_vector_reduce()
1667 Elem.toAPSInt(OverflowBits))); in interp__builtin_vector_reduce()
1687 pushInteger(S, Result.toAPSInt(), Call->getType()); in interp__builtin_vector_reduce()
1728 T::from(Arg.atIndex(I).deref<T>().toAPSInt().popcount()); in interp__builtin_elementwise_popcount()
1731 Arg.atIndex(I).deref<T>().toAPSInt().reverseBits().getZExtValue()); in interp__builtin_elementwise_popcount()
2300 Elem1 = LHS.atIndex(I).deref<T>().toAPSInt(); in interp__builtin_elementwise_sat()
2301 Elem2 = RHS.atIndex(I).deref<T>().toAPSInt(); in interp__builtin_elementwise_sat()
H A DFixedPoint.h53 APSInt toAPSInt(unsigned BitWidth = 0) const { return V.getValue(); }
H A DFloating.h85 APSInt toAPSInt(unsigned NumBits = 0) const {
H A DPointer.cpp756 R = APValue(V1.toAPSInt(), V2.toAPSInt()); in toRValue()
/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.h517 APSInt toAPSInt() const { in toAPSInt() function
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1316 decl, value.toAPSInt().extOrTrunc(type_width)); in AddRecordMembers()