Home
last modified time | relevance | path

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

12

/external/llvm/unittests/ADT/
DAPFloatTest.cpp42 EXPECT_FALSE(APFloat(APFloat::IEEEsingle, MinNormalStr).isDenormal()); in TEST()
43 EXPECT_FALSE(APFloat(APFloat::IEEEsingle, 0.0).isDenormal()); in TEST()
45 APFloat Val2(APFloat::IEEEsingle, 2.0e0); in TEST()
46 APFloat T(APFloat::IEEEsingle, MinNormalStr); in TEST()
460 ASSERT_EQ(0x7fc00000, nanbits(APFloat::IEEEsingle, false, false, 0)); in TEST()
461 ASSERT_EQ(0xffc00000, nanbits(APFloat::IEEEsingle, false, true, 0)); in TEST()
462 ASSERT_EQ(0x7fc0ae72, nanbits(APFloat::IEEEsingle, false, false, 0xae72)); in TEST()
463 ASSERT_EQ(0x7fffae72, nanbits(APFloat::IEEEsingle, false, false, 0xffffae72)); in TEST()
464 ASSERT_EQ(0x7fa00000, nanbits(APFloat::IEEEsingle, true, false, 0)); in TEST()
465 ASSERT_EQ(0xffa00000, nanbits(APFloat::IEEEsingle, true, true, 0)); in TEST()
[all …]
/external/llvm/lib/Target/R600/
DAMDGPUMCInstLower.cpp45 assert(&FloatValue.getSemantics() == &APFloat::IEEEsingle && in lower()
/external/llvm/lib/Target/MBlaze/
DMBlazeMCInstLower.cpp154 FVal.convert(APFloat::IEEEsingle, APFloat::rmTowardZero, &ignored); in Lower()
/external/llvm/lib/Support/
DAPFloat.cpp53 const fltSemantics APFloat::IEEEsingle = { 127, -126, 24 }; member in llvm::APFloat
2864 assert(semantics == (const llvm::fltSemantics*)&IEEEsingle); in convertFloatAPFloatToAPInt()
2929 if (semantics == (const llvm::fltSemantics*)&IEEEsingle) in bitcastToAPInt()
2949 assert(semantics == (const llvm::fltSemantics*)&IEEEsingle && in convertToFloat()
3112 initialize(&APFloat::IEEEsingle); in initFromFloatAPInt()
3179 if (Sem == &IEEEsingle) in initFromAPInt()
3200 return APFloat(IEEEsingle, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue()
3274 initFromAPInt(&IEEEsingle, APInt::floatToBits(f)); in APFloat()
/external/llvm/lib/IR/
DConstants.cpp123 APFloat::getZero(APFloat::IEEEsingle)); in getNullValue()
533 return &APFloat::IEEEsingle; in TypeToFloatSemantics()
614 else if (&V.getSemantics() == &APFloat::IEEEsingle) in get()
1190 if (&Val2.getSemantics() == &APFloat::IEEEsingle) in isValueValidForType()
1192 Val2.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1197 &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType()
1205 &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType()
1210 &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType()
1215 &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType()
DAsmWriter.cpp804 if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEsingle || in WriteConstantInternal()
DConstantFold.cpp575 DestTy->isFloatTy() ? APFloat::IEEEsingle : in ConstantFoldCastInstruction()
/external/llvm/include/llvm/ADT/
DAPFloat.h130 static const fltSemantics IEEEsingle; variable
/external/llvm/include/llvm/IR/
DType.h170 case FloatTyID: return APFloat::IEEEsingle; in getFltSemantics()
/external/clang/lib/Basic/
DTargetInfo.cpp69 FloatFormat = &llvm::APFloat::IEEEsingle; in TargetInfo()
DTargets.cpp4320 FloatFormat = &llvm::APFloat::IEEEsingle; in TCETargetInfo()
4321 DoubleFormat = &llvm::APFloat::IEEEsingle; in TCETargetInfo()
4322 LongDoubleFormat = &llvm::APFloat::IEEEsingle; in TCETargetInfo()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp274 if (&format == &llvm::APFloat::IEEEsingle) in getTypeForFormat()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp377 if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEsingle) in print_details()
/external/clang/lib/Frontend/
DInitPreprocessor.cpp106 if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::IEEEsingle) in PickFP()
/external/clang/lib/AST/
DExpr.cpp677 case IEEEsingle: in getSemantics()
678 return llvm::APFloat::IEEEsingle; in getSemantics()
694 else if (&Sem == &llvm::APFloat::IEEEsingle) in setSemantics()
695 FloatingLiteralBits.Semantics = IEEEsingle; in setSemantics()
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h944 case MVT::f32: return APFloat::IEEEsingle;
/external/llvm/lib/Analysis/
DConstantFolding.cpp1415 Val.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &lost); in ConstantFoldCall()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1715 APF.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, in printFPConstant()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1167 if (Value *V = FitsInFPType(CFP, APFloat::IEEEsingle)) in LookThroughFPExtensions()
DInstCombineCompares.cpp2950 Sem = &APFloat::IEEEsingle; in visitFCmpInst()
/external/clang/include/clang/AST/
DStmt.h179 IEEEsingle, enumerator
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp205 } else if (&V.getSemantics() == &APFloat::IEEEsingle) { in ftostr()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1089 V = ConstantFP::get(Context, APFloat(APFloat::IEEEsingle, in ParseConstants()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp1305 return ParseDirectiveRealValue(APFloat::IEEEsingle); in ParseStatement()
/external/llvm/lib/AsmParser/
DLLParser.cpp2790 ID.APFloatVal.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, in ConvertValIDToValue()

12