Home
last modified time | relevance | path

Searched refs:IEEEsingle (Results 1 – 21 of 21) sorted by relevance

/external/llvm/unittests/ADT/
DAPFloatTest.cpp408 ASSERT_EQ(0x7fc00000, nanbits(APFloat::IEEEsingle, false, false, 0)); in TEST()
409 ASSERT_EQ(0xffc00000, nanbits(APFloat::IEEEsingle, false, true, 0)); in TEST()
410 ASSERT_EQ(0x7fc0ae72, nanbits(APFloat::IEEEsingle, false, false, 0xae72)); in TEST()
411 ASSERT_EQ(0x7fffae72, nanbits(APFloat::IEEEsingle, false, false, 0xffffae72)); in TEST()
412 ASSERT_EQ(0x7fa00000, nanbits(APFloat::IEEEsingle, true, false, 0)); in TEST()
413 ASSERT_EQ(0xffa00000, nanbits(APFloat::IEEEsingle, true, true, 0)); in TEST()
414 ASSERT_EQ(0x7f80ae72, nanbits(APFloat::IEEEsingle, true, false, 0xae72)); in TEST()
415 ASSERT_EQ(0x7fbfae72, nanbits(APFloat::IEEEsingle, true, false, 0xffffae72)); in TEST()
430 …EXPECT_DEATH(APFloat(APFloat::IEEEsingle, 0.0f).convertToDouble(), "Float semantics are not IEEEdo… in TEST()
652 EXPECT_EQ(3.402823466e+38f, APFloat::getLargest(APFloat::IEEEsingle).convertToFloat()); in TEST()
[all …]
/external/llvm/lib/Target/MBlaze/
DMBlazeMCInstLower.cpp154 FVal.convert(APFloat::IEEEsingle, APFloat::rmTowardZero, &ignored); in Lower()
/external/llvm/lib/VMCore/
DConstants.cpp99 APFloat::getZero(APFloat::IEEEsingle)); in getNullValue()
481 return &APFloat::IEEEsingle; in TypeToFloatSemantics()
562 else if (&V.getSemantics() == &APFloat::IEEEsingle) in get()
1138 if (&Val2.getSemantics() == &APFloat::IEEEsingle) in isValueValidForType()
1140 Val2.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1145 &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType()
1153 &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType()
1158 &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType()
1163 &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType()
DAsmWriter.cpp712 &CFP->getValueAPF().getSemantics() == &APFloat::IEEEsingle || in WriteConstantInternal()
DConstantFold.cpp573 DestTy->isFloatTy() ? APFloat::IEEEsingle : in ConstantFoldCastInstruction()
/external/llvm/include/llvm/ADT/
DAPFloat.h130 static const fltSemantics IEEEsingle; variable
/external/clang/lib/Basic/
DTargetInfo.cpp66 FloatFormat = &llvm::APFloat::IEEEsingle; in TargetInfo()
DTargets.cpp3405 FloatFormat = &llvm::APFloat::IEEEsingle; in TCETargetInfo()
3406 DoubleFormat = &llvm::APFloat::IEEEsingle; in TCETargetInfo()
3407 LongDoubleFormat = &llvm::APFloat::IEEEsingle; in TCETargetInfo()
/external/llvm/lib/Support/
DAPFloat.cpp55 const fltSemantics APFloat::IEEEsingle = { 127, -126, 24, true }; member in llvm::APFloat
2855 assert(semantics == (const llvm::fltSemantics*)&IEEEsingle); in convertFloatAPFloatToAPInt()
2920 if (semantics == (const llvm::fltSemantics*)&IEEEsingle) in bitcastToAPInt()
2940 assert(semantics == (const llvm::fltSemantics*)&IEEEsingle && in convertToFloat()
3127 initialize(&APFloat::IEEEsingle); in initFromFloatAPInt()
3576 if (semantics != &IEEEhalf && semantics != &IEEEsingle && in getExactInverse()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp268 if (&format == &llvm::APFloat::IEEEsingle) in getTypeForFormat()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp372 if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEsingle) in print_details()
DLegalizeIntegerTypes.cpp2762 case MVT::f32: return &APFloat::IEEEsingle; in EVTToAPFloatSemantics()
DSelectionDAG.cpp66 case MVT::f32: return &APFloat::IEEEsingle; in EVTToAPFloatSemantics()
/external/clang/lib/Frontend/
DInitPreprocessor.cpp92 if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::IEEEsingle) in PickFP()
/external/llvm/lib/Analysis/
DConstantFolding.cpp1293 Val.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &lost); in ConstantFoldCall()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1163 if (Value *V = FitsInFPType(CFP, APFloat::IEEEsingle)) in LookThroughFPExtensions()
DInstCombineCompares.cpp2891 Sem = &APFloat::IEEEsingle; in visitFCmpInst()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp204 } else if (&V.getSemantics() == &APFloat::IEEEsingle) { in ftostr()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp1158 return ParseDirectiveRealValue(APFloat::IEEEsingle); in ParseStatement()
/external/llvm/lib/AsmParser/
DLLParser.cpp2493 ID.APFloatVal.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, in ConvertValIDToValue()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp4436 APFloat RealVal(APFloat::IEEEsingle, Tok.getString()); in parseFPImm()