reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/ADT/APFloat.h
 1082   opStatus convert(const fltSemantics &ToSemantics, roundingMode RM,

References

include/llvm/ADT/APFloat.h
 1148     Tmp.convert(getSemantics(), APFloat::rmNearestTiesToEven, &ignored);
include/llvm/IR/Constants.h
  327     FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored);
lib/Analysis/ConstantFolding.cpp
 1566     APF.convert(Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &unused);
 1655   APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &unused);
 1736       Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &lost);
 1976       APFloat::opStatus status = Val.convert(
lib/AsmParser/LLParser.cpp
 5177         ID.APFloatVal.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven,
 5180         ID.APFloatVal.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven,
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  869       APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven,
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
 1693       Val.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven,
 1697       Val.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven,
lib/CodeGen/GlobalISel/Utils.cpp
  334   APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored);
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  125   (void) Val2.convert(SelectionDAG::EVTToAPFloatSemantics(VT),
 1349     APF.convert(EVTToAPFloatSemantics(EltVT), APFloat::rmNearestTiesToEven,
 4347       (void)FPV.convert(EVTToAPFloatSemantics(VT),
 4386       (void)V.convert(EVTToAPFloatSemantics(VT),
 4413       (void)V.convert(APFloat::IEEEhalf(),
 5015     (void) C1.convert(EVTToAPFloatSemantics(VT), APFloat::rmNearestTiesToEven,
lib/IR/AsmWriter.cpp
 1342         apf.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven,
lib/IR/ConstantFold.cpp
  597       Val.convert(DestTy->isHalfTy() ? APFloat::IEEEhalf() :
lib/IR/Constants.cpp
  721   FV.convert(*TypeToFloatSemantics(Ty->getScalarType()),
 1324     Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo);
 1330     Val2.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo);
 1338     Val2.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo);
lib/IR/Core.cpp
 1361   APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &APFLosesInfo);
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  418               Val.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven,
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
 1508   APFloat::opStatus Status = FPLiteral.convert(*getFltSemantics(VT),
 1765       FPLiteral.convert(*getOpFltSemantics(OpTy),
 1858   FPLiteral.convert(*getFltSemantics(Bitwidth / 8),
lib/Target/ARM/ARMMCInstLower.cpp
  112     Val.convert(APFloat::IEEEdouble(), APFloat::rmTowardZero, &ignored);
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 1699     APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &ignored);
 1703     APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &ignored);
lib/Target/NVPTX/NVPTXMCExpr.cpp
   35     APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored);
   40     APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &Ignored);
   45     APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &Ignored);
lib/Target/X86/X86ISelLowering.cpp
  640       TmpFlt2.convert(APFloat::x87DoubleExtended(), APFloat::rmNearestTiesToEven,
18967       Status = Thresh.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven,
18970       Status = Thresh.convert(APFloat::x87DoubleExtended(),
lib/Transforms/InstCombine/InstCombineCalls.cpp
 3482         Val0.convert(HalfSem, APFloat::rmTowardZero, &LosesInfo);
 3483         Val1.convert(HalfSem, APFloat::rmTowardZero, &LosesInfo);
lib/Transforms/InstCombine/InstCombineCasts.cpp
 1452   (void)F.convert(Sem, APFloat::rmNearestTiesToEven, &losesInfo);
lib/Transforms/InstCombine/InstCombineCompares.cpp
 6093       TruncC.convert(FPSem, APFloat::rmNearestTiesToEven, &Lossy);
lib/Transforms/Utils/SimplifyLibCalls.cpp
 1243     (void)F.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven,
 1519     BaseR.convert(BaseF->getSemantics(), APFloat::rmTowardZero, &Ignored);
 1727       ExpoA.convert(APFloat::IEEEdouble(), APFloat::rmTowardZero, &Ignored);
tools/clang/lib/AST/APValue.cpp
  389   V.convert(llvm::APFloat::IEEEdouble(), llvm::APFloat::rmNearestTiesToEven,
tools/clang/lib/AST/Expr.cpp
  997   V.convert(llvm::APFloat::IEEEdouble(), llvm::APFloat::rmNearestTiesToEven,
tools/clang/lib/AST/ExprConstant.cpp
 2362   Result.convert(Info.Ctx.getFloatTypeSemantics(DestType),
tools/clang/lib/CodeGen/CGExprScalar.cpp
  922     MinSrc.convert(Sema, APFloat::rmTowardZero, &IsInexact);
  923     MaxSrc.convert(Sema, APFloat::rmTowardZero, &IsInexact);
 2524       F.convert(*FS, llvm::APFloat::rmTowardZero, &ignored);
tools/clang/lib/Sema/SemaChecking.cpp
10447   truncated.convert(Src, llvm::APFloat::rmNearestTiesToEven, &ignored);
10448   truncated.convert(Tgt, llvm::APFloat::rmNearestTiesToEven, &ignored);
tools/clang/lib/Sema/SemaExpr.cpp
 8975         Result.convert(S.Context.getFloatTypeSemantics(VectorEltTy),
tools/clang/lib/Sema/SemaOverload.cpp
  395         llvm::APFloat::opStatus ConvertStatus = FloatVal.convert(
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp
  339       Tmp.convert(Context.getFloatTypeSemantics(ToType->desugar()),
tools/clang/tools/libclang/CIndex.cpp
 3835     apFloat.convert(llvm::APFloat::IEEEdouble(),
tools/lldb/source/Utility/Scalar.cpp
 1086       m_float.convert(m_ieee_quad ? llvm::APFloat::IEEEquad()
 1117       m_float.convert(m_ieee_quad ? llvm::APFloat::IEEEquad()
unittests/ADT/APFloatTest.cpp
  529     M1.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo);
 1552   test.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo);
 1558   test.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo);
 1564   test.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo);
 1569   test.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo);
 1575   test.convert(APFloat::x87DoubleExtended(), APFloat::rmNearestTiesToEven,
 1582   test.convert(APFloat::x87DoubleExtended(), APFloat::rmNearestTiesToEven,
 1588   test.convert(APFloat::x87DoubleExtended(), APFloat::rmNearestTiesToEven,
 1594   test.convert(APFloat::x87DoubleExtended(), APFloat::rmNearestTiesToEven,
unittests/CodeGen/GlobalISel/PatternMatchTest.cpp
  188   APF16.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored);