| /freebsd-12.1/contrib/llvm/include/llvm/ADT/ |
| H A D | APFloat.h | 826 assert(&getSemantics() == &RHS.getSemantics() && in compareAbsoluteValue() 942 assert(&getSemantics() == &RHS.getSemantics() && in add() 951 assert(&getSemantics() == &RHS.getSemantics() && in subtract() 960 assert(&getSemantics() == &RHS.getSemantics() && in multiply() 969 assert(&getSemantics() == &RHS.getSemantics() && in divide() 978 assert(&getSemantics() == &RHS.getSemantics() && in remainder() 987 assert(&getSemantics() == &RHS.getSemantics() && in mod() 997 assert(&getSemantics() == &Multiplicand.getSemantics() && in fusedMultiplyAdd() 999 assert(&getSemantics() == &Addend.getSemantics() && in fusedMultiplyAdd() 1103 assert(&getSemantics() == &RHS.getSemantics() && in compare() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Constants.cpp | 787 if (&V.getSemantics() == &APFloat::IEEEhalf()) in get() 789 else if (&V.getSemantics() == &APFloat::IEEEsingle()) in get() 791 else if (&V.getSemantics() == &APFloat::IEEEdouble()) in get() 795 else if (&V.getSemantics() == &APFloat::IEEEquad()) in get() 820 assert(&V.getSemantics() == TypeToFloatSemantics(Ty) && in ConstantFP() 1291 if (&Val2.getSemantics() == &APFloat::IEEEhalf()) in isValueValidForType() 1297 if (&Val2.getSemantics() == &APFloat::IEEEsingle()) in isValueValidForType() 1303 if (&Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType() 1304 &Val2.getSemantics() == &APFloat::IEEEsingle() || in isValueValidForType() 1305 &Val2.getSemantics() == &APFloat::IEEEdouble()) in isValueValidForType() [all …]
|
| H A D | AsmWriter.cpp | 1297 if (&APF.getSemantics() == &APFloat::IEEEsingle() || in WriteConstantInternal() 1298 &APF.getSemantics() == &APFloat::IEEEdouble()) { in WriteConstantInternal() 1305 bool isDouble = &APF.getSemantics() == &APFloat::IEEEdouble(); in WriteConstantInternal() 1346 if (&APF.getSemantics() == &APFloat::x87DoubleExtended()) { in WriteConstantInternal() 1353 } else if (&APF.getSemantics() == &APFloat::IEEEquad()) { in WriteConstantInternal() 1359 } else if (&APF.getSemantics() == &APFloat::PPCDoubleDouble()) { in WriteConstantInternal() 1365 } else if (&APF.getSemantics() == &APFloat::IEEEhalf()) { in WriteConstantInternal()
|
| H A D | Verifier.cpp | 4023 Assert(&Accuracy.getSemantics() == &APFloat::IEEEsingle(), in visitInstruction()
|
| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | APFloat.cpp | 3808 auto MaxExp = X.getSemantics().maxExponent; in scalbn() 3809 auto MinExp = X.getSemantics().minExponent; in scalbn() 3879 assert(&Floats[0].getSemantics() == &semIEEEdouble); 4027 assert(&A.getSemantics() == &semIEEEdouble); in addWithSpecial() 4028 assert(&AA.getSemantics() == &semIEEEdouble); in addWithSpecial() 4029 assert(&C.getSemantics() == &semIEEEdouble); in addWithSpecial() 4030 assert(&CC.getSemantics() == &semIEEEdouble); in addWithSpecial() 4446 if (&getSemantics() == &ToSemantics) { in convert() 4450 if (usesLayout<IEEEFloat>(getSemantics()) && in convert() 4453 if (usesLayout<IEEEFloat>(getSemantics()) && in convert() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/InstPrinter/ |
| H A D | WebAssemblyInstPrinter.cpp | 196 if (FP.isNaN() && !FP.bitwiseIsEqual(APFloat::getQNaN(FP.getSemantics())) && in toString() 198 APFloat::getQNaN(FP.getSemantics(), /*Negative=*/true))) { in toString()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 608 llvm::APFloat::semanticsPrecision(F.getSemantics()); in operator <<() 3624 APFloat One(Value.getSemantics(), 1); in found() 9137 LHS.FloatImag = APFloat(LHS.FloatReal.getSemantics()); in EvaluateComparisonBinaryOperator() 9149 RHS.FloatImag = APFloat(RHS.FloatReal.getSemantics()); in EvaluateComparisonBinaryOperator() 10218 Result.FloatReal = APFloat(Imag.getSemantics()); in VisitImaginaryLiteral() 10302 Result.FloatImag = APFloat(Real.getSemantics()); in VisitCastExpr() 10388 Result.FloatImag = APFloat(Real.getSemantics()); in VisitBinaryOperator() 10403 RHS.FloatImag = APFloat(Real.getSemantics()); in VisitBinaryOperator() 10478 C = APFloat::copySign(APFloat(C.getSemantics()), C); in VisitBinaryOperator() 10480 D = APFloat::copySign(APFloat(D.getSemantics()), D); in VisitBinaryOperator() [all …]
|
| H A D | Expr.cpp | 836 setSemantics(V.getSemantics()); in FloatingLiteral() 858 const llvm::fltSemantics &FloatingLiteral::getSemantics() const { in getSemantics() function in FloatingLiteral
|
| H A D | ItaniumMangle.cpp | 4173 mangleFloat(llvm::APFloat(Imag->getValue().getSemantics())); in mangleExpression()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | APValue.h | 430 assert(&R.getSemantics() == &I.getSemantics() && in setComplexFloat()
|
| H A D | Expr.h | 1460 return APFloatStorage::getValue(getSemantics()); in getValue() 1463 assert(&getSemantics() == &Val.getSemantics() && "Inconsistent semantics"); in setValue() 1480 const llvm::fltSemantics &getSemantics() const;
|
| /freebsd-12.1/contrib/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 | 5098 int MaxExponent = ilogb(APFloat::getLargest(RHS.getSemantics())); in foldFCmpIntToFPConst() 5158 APFloat SMax(RHS.getSemantics()); in foldFCmpIntToFPConst() 5170 APFloat UMax(RHS.getSemantics()); in foldFCmpIntToFPConst() 5183 APFloat SMin(RHS.getSemantics()); in foldFCmpIntToFPConst() 5194 APFloat SMin(RHS.getSemantics()); in foldFCmpIntToFPConst()
|
| H A D | InstCombineCalls.cpp | 3350 APFloat Val(ArgVal.getSemantics(), 1.0); in visitCallInst()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 1524 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle()) 1526 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEdouble()) 1533 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle()) 1535 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEdouble())
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGDumper.cpp | 551 if (&CSDN->getValueAPF().getSemantics() == &APFloat::IEEEsingle()) in print_details() 553 else if (&CSDN->getValueAPF().getSemantics() == &APFloat::IEEEdouble()) in print_details()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 78 const fltSemantics &SL = L.getSemantics(), &SR = R.getSemantics(); in cmpAPFloats()
|
| H A D | SimplifyLibCalls.cpp | 1277 BaseR.convert(BaseF->getSemantics(), APFloat::rmTowardZero, &Ignored); in replacePowWithExp() 1428 APFloat LimF(ExpoF->getSemantics(), 33.0), in optimizePow()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | Z3ConstraintManager.cpp | 659 getFloatSort(llvm::APFloat::semanticsSizeInBits(Float.getSemantics())); in mkFloat() 705 if (useSemantics && !areEquivalent(Float.getSemantics(), Semantics)) { in toAPFloat()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Constants.h | 328 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 2391 return Op.compare(APFloat(Op.getSemantics(), "-1")) != in isMathLibCallNoop() 2393 Op.compare(APFloat(Op.getSemantics(), "1")) != in isMathLibCallNoop()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 1891 if (&Init.getSemantics() == &llvm::APFloat::IEEEhalf() && in tryEmitPrivate()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 587 E->setValue(Record.getContext(), Record.readAPFloat(E->getSemantics())); in VisitFloatingLiteral()
|
| /freebsd-12.1/contrib/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXInstrInfo.td | 810 return &N->getValueAPF().getSemantics() == &llvm::APFloat::IEEEsingle() && 815 return &N->getValueAPF().getSemantics() == &llvm::APFloat::IEEEdouble() &&
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | SIISelLowering.cpp | 7878 APFloat CanonicalQNaN = APFloat::getQNaN(C.getSemantics()); in getCanonicalConstantFP() 8866 APFloat Zero = APFloat::getZero(F.getSemantics()); in performClampCombine() 8873 APFloat One(F.getSemantics(), "1.0"); in performClampCombine()
|