Home
last modified time | relevance | path

Searched refs:IEEEhalf (Results 1 – 20 of 20) sorted by relevance

/external/clang/lib/Basic/
DTargetInfo.cpp67 HalfFormat = &llvm::APFloat::IEEEhalf; in TargetInfo()
305 HalfFormat = &llvm::APFloat::IEEEhalf; in adjust()
/external/llvm/lib/IR/
DConstants.cpp184 APFloat::getZero(APFloat::IEEEhalf)); in getNullValue()
617 return &APFloat::IEEEhalf; in TypeToFloatSemantics()
694 if (&V.getSemantics() == &APFloat::IEEEhalf) in get()
1304 if (&Val2.getSemantics() == &APFloat::IEEEhalf) in isValueValidForType()
1306 Val2.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1316 if (&Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType()
1324 return &Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType()
1329 return &Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType()
1334 return &Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType()
DAsmWriter.cpp1057 bool isHalf = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEhalf; in WriteConstantInternal()
1134 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEhalf) { in WriteConstantInternal()
DConstantFold.cpp592 Val.convert(DestTy->isHalfTy() ? APFloat::IEEEhalf : in ConstantFoldCastInstruction()
/external/llvm/include/llvm/IR/
DType.h168 case HalfTyID: return APFloat::IEEEhalf; in getFltSemantics()
/external/llvm/include/llvm/ADT/
DAPFloat.h131 static const fltSemantics IEEEhalf; variable
/external/llvm/lib/Support/
DAPFloat.cpp57 const fltSemantics APFloat::IEEEhalf = { 15, -14, 11 }; member in llvm::APFloat
3050 assert(semantics == (const llvm::fltSemantics*)&IEEEhalf); in convertHalfAPFloatToAPInt()
3083 if (semantics == (const llvm::fltSemantics*)&IEEEhalf) in bitcastToAPInt()
3302 initialize(&APFloat::IEEEhalf); in initFromHalfAPInt()
3334 if (Sem == &IEEEhalf) in initFromAPInt()
3355 return APFloat(IEEEhalf, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue()
/external/llvm/lib/Analysis/
DConstantFolding.cpp1303 APF.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue()
1410 Val.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall()
1544 APFloat Val(APFloat::IEEEhalf, Op->getValue()); in ConstantFoldScalarCall()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp277 if (&format == &llvm::APFloat::IEEEhalf) { in getTypeForFormat()
DCGExprConstant.cpp1161 if (&Init.getSemantics() == &llvm::APFloat::IEEEhalf && in EmitConstantValue()
/external/clang/lib/AST/
DExpr.cpp747 setRawSemantics(IEEEhalf); in FloatingLiteral()
764 case IEEEhalf: in getSemantics()
765 return llvm::APFloat::IEEEhalf; in getSemantics()
781 if (&Sem == &llvm::APFloat::IEEEhalf) in setSemantics()
782 FloatingLiteralBits.Semantics = IEEEhalf; in setSemantics()
/external/llvm/lib/AsmParser/
DLLLexer.cpp856 APFloatVal = APFloat(APFloat::IEEEhalf, in Lex0x()
DLLParser.cpp3942 ID.APFloatVal.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, in ConvertValIDToValue()
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h1071 case MVT::f16: return APFloat::IEEEhalf;
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1168 if (Value *V = FitsInFPType(CFP, APFloat::IEEEhalf)) in LookThroughFPExtensions()
DInstCombineCompares.cpp3987 Sem = &APFloat::IEEEhalf; in visitFCmpInst()
/external/clang/include/clang/AST/
DStmt.h182 IEEEhalf, in LLVM_ALIGNAS() enumerator
/external/llvm/unittests/ADT/
DAPFloatTest.cpp1391 { &APFloat::IEEEhalf, false, {0, 0}, 1}, in TEST()
1392 { &APFloat::IEEEhalf, true, {0x8000ULL, 0}, 1}, in TEST()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2145 V = ConstantFP::get(Context, APFloat(APFloat::IEEEhalf, in ParseConstants()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2762 return getConstantFP(APFloat(APFloat::IEEEhalf, Val), VT); in getNode()