Lines Matching refs:Sem
103 static T PickFP(const llvm::fltSemantics *Sem, T IEEESingleVal,
106 if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::IEEEsingle)
108 if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::IEEEdouble)
110 if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::x87DoubleExtended)
112 if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::PPCDoubleDouble)
114 assert(Sem == (const llvm::fltSemantics*)&llvm::APFloat::IEEEquad);
119 const llvm::fltSemantics *Sem, StringRef Ext) {
121 DenormMin = PickFP(Sem, "1.40129846e-45", "4.9406564584124654e-324",
125 int Digits = PickFP(Sem, 6, 15, 18, 31, 33);
126 Epsilon = PickFP(Sem, "1.19209290e-7", "2.2204460492503131e-16",
130 int MantissaDigits = PickFP(Sem, 24, 53, 64, 106, 113);
131 int Min10Exp = PickFP(Sem, -37, -307, -4931, -291, -4931);
132 int Max10Exp = PickFP(Sem, 38, 308, 4932, 308, 4932);
133 int MinExp = PickFP(Sem, -125, -1021, -16381, -968, -16381);
134 int MaxExp = PickFP(Sem, 128, 1024, 16384, 1024, 16384);
135 Min = PickFP(Sem, "1.17549435e-38", "2.2250738585072014e-308",
139 Max = PickFP(Sem, "3.40282347e+38", "1.7976931348623157e+308",