Home
last modified time | relevance | path

Searched refs:rmNearestTiesToEven (Results 1 – 25 of 44) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXMCExpr.cpp35 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
40 APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
45 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
H A DNVPTXAsmPrinter.cpp1688 APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &ignored); in printFPConstant()
1692 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &ignored); in printFPConstant()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DAPFloat.cpp189 constexpr RoundingMode APFloatBase::rmNearestTiesToEven; member in llvm::APFloatBase
932 normalize(rmNearestTiesToEven, lfExactlyZero); in IEEEFloat()
1295 if (rounding_mode == rmNearestTiesToEven || in handleOverflow()
1330 case rmNearestTiesToEven: in roundAwayFromZero()
1853 if (P2.add(rhs, rmNearestTiesToEven) == opOK) { in remainder()
1904 fs = VEx.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo); in remainder()
1907 fs = PEx.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo); in remainder()
1912 fs = VEx.add(VEx, rmNearestTiesToEven); in remainder()
1916 fs = subtract(P, rmNearestTiesToEven); in remainder()
1922 fs = VEx.subtract(PEx, rmNearestTiesToEven); in remainder()
[all …]
H A DStringRef.cpp585 auto StatusOrErr = F.convertFromString(*this, APFloat::rmNearestTiesToEven); in getAsDouble()
H A DAPFixedPoint.cpp460 APFloat::roundingMode RM = APFloat::rmNearestTiesToEven; in convertToFloat()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp327 auto Res = NewF.roundToIntegral(APFloat::rmNearestTiesToEven); in walkForwards()
337 APFloat::rmNearestTiesToEven, in walkForwards()
452 APFloat::rmNearestTiesToEven, in convert()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DAPFloat.h190 static constexpr roundingMode rmNearestTiesToEven = member
1060 (void)Result.add(RHS, rmNearestTiesToEven);
1068 (void)Result.subtract(RHS, rmNearestTiesToEven);
1076 (void)Result.multiply(RHS, rmNearestTiesToEven);
1084 (void)Result.divide(RHS, rmNearestTiesToEven);
1203 Tmp.convert(getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp433 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in getAPFloatFromSize()
507 C1.add(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
510 C1.subtract(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
513 C1.multiply(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
516 C1.divide(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
H A DCombinerHelper.cpp1616 V.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &Unused); in constantFoldFpUnary()
1622 V.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &Unused); in constantFoldFpUnary()
1631 V.convert(getFltSemanticForLLT(DstTy), APFloat::rmNearestTiesToEven, &Unused); in constantFoldFpUnary()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp690 APFloat::rmNearestTiesToEven); in getConstantValue()
705 APFloat::rmNearestTiesToEven); in getConstantValue()
843 apfLHS.add(APFloat(Sem, RHS.IntVal), APFloat::rmNearestTiesToEven); in getConstantValue()
848 APFloat::rmNearestTiesToEven); in getConstantValue()
853 APFloat::rmNearestTiesToEven); in getConstantValue()
858 APFloat::rmNearestTiesToEven); in getConstantValue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DConstantFolding.cpp1655 APF.convert(Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue()
1785 : APFloat::rmNearestTiesToEven; in ConstantFoldSSEConvertToInt()
1803 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &unused); in getValueAsDouble()
1874 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall1()
1916 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1()
1926 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1()
2170 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1()
2232 Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall1()
2416 APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall2()
2744 V.fusedMultiplyAdd(C2, C3, APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall3()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp211 Val.divide(ArgVal, APFloat::rmNearestTiesToEven); in instCombineIntrinsic()
240 frexp(C->getValueAPF(), Exp, APFloat::rmNearestTiesToEven); in instCombineIntrinsic()
839 ConstantFP::get(Ty, scalbn(*C, 0, APFloat::rmNearestTiesToEven)); in instCombineIntrinsic()
H A DAMDGPUPrintfRuntimeBinding.cpp410 Val.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, in lowerPrintfForGpu()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstantFold.cpp640 APFloat::rmNearestTiesToEven, &ignored); in ConstantFoldCastInstruction()
724 APFloat::rmNearestTiesToEven); in ConstantFoldCastInstruction()
1446 (void)C3V.add(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1449 (void)C3V.subtract(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1452 (void)C3V.multiply(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1455 (void)C3V.divide(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
H A DConstants.cpp952 APFloat::rmNearestTiesToEven, &ignored); in get()
1614 Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1620 Val2.convert(APFloat::BFloat(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1626 Val2.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1635 Val2.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyInstPrinter.cpp285 Buf, /*HexDigits=*/0, /*UpperCase=*/false, APFloat::rmNearestTiesToEven); in toString()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp5827 RHS.convertToInteger(RHSCvt, APFloat::rmNearestTiesToEven, &IsExact); in foldFCmpIntToFPConst()
5834 RHSRoundInt.roundToIntegral(APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
5922 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
5934 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
5947 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
5958 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
6292 TruncC.convert(FPSem, APFloat::rmNearestTiesToEven, &Lossy); in visitFCmpInst()
H A DInstCombineAddSub.cpp319 APFloat::rmNearestTiesToEven); in operator *=()
321 F0.multiply(That.getFpVal(), APFloat::rmNearestTiesToEven); in operator *=()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp132 APFloat::rmNearestTiesToEven, in isValueValidForType()
1538 APF.convert(EVTToAPFloatSemantics(EltVT), APFloat::rmNearestTiesToEven, in getConstantFP()
4624 APFloat::rmNearestTiesToEven); in getNode()
4665 APFloat::rmNearestTiesToEven, &Ignored); in getNode()
4709 APFloat::rmNearestTiesToEven, &ignored); in getNode()
4738 APFloat::rmNearestTiesToEven, &Ignored); in getNode()
5393 C1.add(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
5396 C1.subtract(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
5399 C1.multiply(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
5402 C1.divide(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1693 SumCount.add(APFloat(CountValue * 1.0), APFloat::rmNearestTiesToEven); in fixFuncEntryCount()
1694 SumBFICount.add(APFloat(BFICountValue * 1.0), APFloat::rmNearestTiesToEven); in fixFuncEntryCount()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DConstants.h321 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DAPValue.cpp623 V.convert(llvm::APFloat::IEEEdouble(), llvm::APFloat::rmNearestTiesToEven, in GetApproxValue()
H A DExprConstant.cpp2627 APFloat::rmNearestTiesToEven); in HandleIntToFloatCast()
4523 Value.add(One, APFloat::rmNearestTiesToEven); in found()
4525 Value.subtract(One, APFloat::rmNearestTiesToEven); in found()
14061 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
14066 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
14075 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
14081 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
14194 C = scalbn(C, -DenomLogB, APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
14195 D = scalbn(D, -DenomLogB, APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
14199 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DLiteralSupport.cpp1092 Result.convertFromString(Str, APFloat::rmNearestTiesToEven); in GetFloatValue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1759 APFloat::rmNearestTiesToEven, in canLosslesslyConvertToFPType()
2043 APFloat::rmNearestTiesToEven, &lost); in addLiteralImmOperand()
2149 APFloat::rmNearestTiesToEven, &Lost); in addKImmFPOperands()
2759 auto roundMode = APFloat::rmNearestTiesToEven; in parseImm()

12