| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APFloat.h | 925 assert(&getSemantics() == &RHS.getSemantics() && in compareAbsoluteValue() 1043 assert(&getSemantics() == &RHS.getSemantics() && in add() 1052 assert(&getSemantics() == &RHS.getSemantics() && in subtract() 1061 assert(&getSemantics() == &RHS.getSemantics() && in multiply() 1070 assert(&getSemantics() == &RHS.getSemantics() && in divide() 1079 assert(&getSemantics() == &RHS.getSemantics() && in remainder() 1088 assert(&getSemantics() == &RHS.getSemantics() && in mod() 1098 assert(&getSemantics() == &Multiplicand.getSemantics() && in fusedMultiplyAdd() 1100 assert(&getSemantics() == &Addend.getSemantics() && in fusedMultiplyAdd() 1251 assert(&getSemantics() == &RHS.getSemantics() && in compare() [all …]
|
| H A D | APFixedPoint.h | 176 FixedPointSemantics getSemantics() const { return Sema; } 298 return hash_combine(Val.getSemantics(), Val.getValue()); 315 return LHS.getSemantics() == RHS.getSemantics() &&
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Floating.h | 66 return toSemantics(&Other.F.getSemantics(), RM); in toSemantics() 86 unsigned bitWidth() const { return F.semanticsSizeInBits(F.getSemantics()); } in bitWidth() 141 (APFloat::semanticsSizeInBits(F.getSemantics()) / 8); in bytesToSerialize() 146 *reinterpret_cast<const llvm::fltSemantics **>(Buff) = &F.getSemantics(); in serialize() 176 APFloat One(A.F.getSemantics(), 1); in increment() 189 APFloat One(A.F.getSemantics(), 1); in decrement()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVBaseInfo.cpp | 254 assert((&FPImm.getSemantics() == &APFloat::IEEEsingle() || in getLoadFPImm() 255 &FPImm.getSemantics() == &APFloat::IEEEdouble() || in getLoadFPImm() 256 &FPImm.getSemantics() == &APFloat::IEEEhalf()) && in getLoadFPImm()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APFixedPoint.cpp | 183 auto CommonFXSema = Sema.getCommonSemantics(Other.getSemantics()); in add() 207 auto CommonFXSema = Sema.getCommonSemantics(Other.getSemantics()); in sub() 231 auto CommonFXSema = Sema.getCommonSemantics(Other.getSemantics()); in mul() 288 auto CommonFXSema = Sema.getCommonSemantics(Other.getSemantics()); in div() 542 const fltSemantics &FloatSema = Value.getSemantics(); in getFromFloatValue()
|
| H A D | APFloat.cpp | 4523 auto MaxExp = X.getSemantics().maxExponent; in scalbn() 4524 auto MinExp = X.getSemantics().minExponent; in scalbn() 4742 assert(&A.getSemantics() == &semIEEEdouble); in addWithSpecial() 4743 assert(&AA.getSemantics() == &semIEEEdouble); in addWithSpecial() 4744 assert(&C.getSemantics() == &semIEEEdouble); in addWithSpecial() 4745 assert(&CC.getSemantics() == &semIEEEdouble); in addWithSpecial() 5154 const fltSemantics& S = F.getSemantics(); in Storage() 5198 if (&getSemantics() == &ToSemantics) { in convert() 5202 if (usesLayout<IEEEFloat>(getSemantics()) && in convert() 5205 if (usesLayout<IEEEFloat>(getSemantics()) && in convert() [all …]
|
| H A D | Z3Solver.cpp | 752 getFloatSort(llvm::APFloat::semanticsSizeInBits(Float.getSemantics())); in mkFloat() 798 if (useSemantics && !areEquivalent(Float.getSemantics(), Semantics)) { in toAPFloat()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 1039 assert(&V.getSemantics() == &Ty->getFltSemantics() && in ConstantFP() 1528 if (&Val2.getSemantics() == &APFloat::IEEEhalf()) in isValueValidForType() 1534 if (&Val2.getSemantics() == &APFloat::BFloat()) in isValueValidForType() 1540 if (&Val2.getSemantics() == &APFloat::IEEEsingle()) in isValueValidForType() 1546 if (&Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType() 1547 &Val2.getSemantics() == &APFloat::BFloat() || in isValueValidForType() 1549 &Val2.getSemantics() == &APFloat::IEEEdouble()) in isValueValidForType() 1556 &Val2.getSemantics() == &APFloat::BFloat() || in isValueValidForType() 1562 &Val2.getSemantics() == &APFloat::BFloat() || in isValueValidForType() 1565 &Val2.getSemantics() == &APFloat::IEEEquad(); in isValueValidForType() [all …]
|
| H A D | AsmWriter.cpp | 1421 if (&APF.getSemantics() == &APFloat::IEEEsingle() || in WriteConstantInternal() 1422 &APF.getSemantics() == &APFloat::IEEEdouble()) { in WriteConstantInternal() 1429 bool isDouble = &APF.getSemantics() == &APFloat::IEEEdouble(); in WriteConstantInternal() 1479 if (&APF.getSemantics() == &APFloat::x87DoubleExtended()) { in WriteConstantInternal() 1486 } else if (&APF.getSemantics() == &APFloat::IEEEquad()) { in WriteConstantInternal() 1492 } else if (&APF.getSemantics() == &APFloat::PPCDoubleDouble()) { in WriteConstantInternal() 1498 } else if (&APF.getSemantics() == &APFloat::IEEEhalf()) { in WriteConstantInternal() 1502 } else if (&APF.getSemantics() == &APFloat::BFloat()) { in WriteConstantInternal()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | OptionalDiagnostic.h | 57 unsigned precision = llvm::APFloat::semanticsPrecision(F.getSemantics());
|
| H A D | PropertiesBase.td | 273 llvm::APFloatBase::SemanticsToEnum(node.getFloat().getSemantics())) 287 let Read = [{ node.getFixedPoint().getSemantics() }]; 308 node.getComplexFloatReal().getSemantics()); 310 node.getComplexFloatImag().getSemantics()));
|
| H A D | APValue.h | 613 assert(&R.getSemantics() == &I.getSemantics() &&
|
| H A D | Expr.h | 1636 return APFloatStorage::getValue(getSemantics()); in getValue() 1639 assert(&getSemantics() == &Val.getSemantics() && "Inconsistent semantics"); in setValue() 1657 const llvm::fltSemantics &getSemantics() const { in getSemantics() function
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| H A D | WebAssemblyInstPrinter.cpp | 270 if (FP.isNaN() && !FP.bitwiseIsEqual(APFloat::getQNaN(FP.getSemantics())) && in toString() 272 APFloat::getQNaN(FP.getSemantics(), /*Negative=*/true))) { in toString()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Utility/ |
| H A D | Scalar.cpp | 38 return GetFloatPromoKey(m_float.getSemantics()); in GetPromoKey() 65 a.FloatPromote(b.m_float.getSemantics()); in PromoteToMaxType() 206 if (GetFloatPromoKey(semantics) < GetFloatPromoKey(m_float.getSemantics())) in FloatPromote()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 4642 APFloat One(Value.getSemantics(), 1); in found() 13216 LHS.FloatImag = APFloat(LHS.FloatReal.getSemantics()); in EvaluateComparisonBinaryOperator() 13228 RHS.FloatImag = APFloat(RHS.FloatReal.getSemantics()); in EvaluateComparisonBinaryOperator() 14255 APFixedPoint Result(LHSFX.getSemantics()); in VisitBinaryOperator() 14283 FixedPointSemantics LHSSema = LHSFX.getSemantics(); in VisitBinaryOperator() 14684 Result.FloatReal = APFloat(Imag.getSemantics()); in VisitImaginaryLiteral() 14774 Result.FloatImag = APFloat(Real.getSemantics()); in VisitCastExpr() 14862 Result.FloatImag = APFloat(Real.getSemantics()); in VisitBinaryOperator() 14877 RHS.FloatImag = APFloat(Real.getSemantics()); in VisitBinaryOperator() 14952 C = APFloat::copySign(APFloat(C.getSemantics()), C); in VisitBinaryOperator() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 1948 APFloat::getZero(Src.getSemantics(), Src.isNegative())); in constantFoldCanonicalize() 1963 CI->getFunction()->getDenormalMode(Src.getSemantics()); in constantFoldCanonicalize() 1984 APFloat::getZero(Src.getSemantics(), !IsPositive)); in constantFoldCanonicalize() 2140 APFloat AlmostOne(U.getSemantics(), 1); in ConstantFoldScalarCall1() 2187 U = APFloat::getQNaN(U.getSemantics()); in ConstantFoldScalarCall1() 2930 const fltSemantics &Sem = S0.getSemantics(); in ConstantFoldAMDGCNCubeIntrinsic() 3493 return !(Op < APFloat(Op.getSemantics(), "-1") || in isMathLibCallNoop() 3494 Op > APFloat(Op.getSemantics(), "1")); in isMathLibCallNoop()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 1754 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle()) 1756 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEdouble()) 1763 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle()) 1765 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEdouble())
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGDumper.cpp | 657 if (&CSDN->getValueAPF().getSemantics() == &APFloat::IEEEsingle()) in print_details() 659 else if (&CSDN->getValueAPF().getSemantics() == &APFloat::IEEEdouble()) in print_details()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 90 const fltSemantics &SL = L.getSemantics(), &SR = R.getSemantics(); in cmpAPFloats()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAddSub.cpp | 285 convertToFpType(T.getSemantics()); in operator +=() 291 T.add(createAPFloatFromInt(T.getSemantics(), That.IntVal), RndMode); in operator +=() 311 isInt() ? That.getFpVal().getSemantics() : getFpVal().getSemantics(); in operator *=() 386 Addend0.set(APFloat(C0->getValueAPF().getSemantics()), nullptr); in drillValueDownOneStep()
|
| H A D | InstCombineCompares.cpp | 7284 int MaxExponent = ilogb(APFloat::getLargest(RHS.getSemantics())); in foldFCmpIntToFPConst() 7344 APFloat SMax(RHS.getSemantics()); in foldFCmpIntToFPConst() 7356 APFloat UMax(RHS.getSemantics()); in foldFCmpIntToFPConst() 7369 APFloat SMin(RHS.getSemantics()); in foldFCmpIntToFPConst() 7380 APFloat UMin(RHS.getSemantics()); in foldFCmpIntToFPConst() 7530 DenormalMode Mode = F->getDenormalMode(C->getSemantics()); in foldFabsWithFcmpZero()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.h | 813 isFP128 = (&FPImm.getSemantics() == &APFloat::IEEEquad()); in SystemZVectorConstantInfo()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constants.h | 322 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstCombineIntrinsic.cpp | 466 APFloat Val(ArgVal.getSemantics(), 1); in instCombineIntrinsic()
|