Home
last modified time | relevance | path

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

/external/clang/lib/Basic/
DTargetInfo.cpp70 HalfFormat = &llvm::APFloat::IEEEhalf; in TargetInfo()
309 HalfFormat = &llvm::APFloat::IEEEhalf; in adjust()
/external/llvm/lib/IR/
DConstants.cpp202 APFloat::getZero(APFloat::IEEEhalf)); in getNullValue()
632 return &APFloat::IEEEhalf; in TypeToFloatSemantics()
720 if (&V.getSemantics() == &APFloat::IEEEhalf) in get()
1271 if (&Val2.getSemantics() == &APFloat::IEEEhalf) in isValueValidForType()
1273 Val2.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1283 if (&Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType()
1291 return &Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType()
1296 return &Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType()
1301 return &Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType()
2693 return APFloat(APFloat::IEEEhalf, APInt(16, EltVal)); in getElementAsAPFloat()
DConstantFold.cpp592 Val.convert(DestTy->isHalfTy() ? APFloat::IEEEhalf : in ConstantFoldCastInstruction()
DAsmWriter.cpp1168 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEhalf) { in WriteConstantInternal()
/external/llvm/include/llvm/IR/
DType.h158 case HalfTyID: return APFloat::IEEEhalf; in getFltSemantics()
/external/llvm/include/llvm/ADT/
DAPFloat.h131 static const fltSemantics IEEEhalf; variable
/external/llvm/lib/Support/
DAPFloat.cpp60 const fltSemantics APFloat::IEEEhalf = { 15, -14, 11, 16 }; member in llvm::APFloat
3071 assert(semantics == (const llvm::fltSemantics*)&IEEEhalf); in convertHalfAPFloatToAPInt()
3104 if (semantics == (const llvm::fltSemantics*)&IEEEhalf) in bitcastToAPInt()
3323 initialize(&APFloat::IEEEhalf); in initFromHalfAPInt()
3355 if (Sem == &IEEEhalf) in initFromAPInt()
3376 return APFloat(IEEEhalf, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue()
/external/llvm/lib/Analysis/
DConstantFolding.cpp1316 APF.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue()
1423 Val.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall()
1596 APFloat Val(APFloat::IEEEhalf, Op->getValue()); in ConstantFoldScalarCall()
/external/clang/lib/AST/
DExpr.cpp752 setRawSemantics(IEEEhalf); in FloatingLiteral()
769 case IEEEhalf: in getSemantics()
770 return llvm::APFloat::IEEEhalf; in getSemantics()
786 if (&Sem == &llvm::APFloat::IEEEhalf) in setSemantics()
787 FloatingLiteralBits.Semantics = IEEEhalf; in setSemantics()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp278 if (&format == &llvm::APFloat::IEEEhalf) { in getTypeForFormat()
DCGExprConstant.cpp1331 if (&Init.getSemantics() == &llvm::APFloat::IEEEhalf && in EmitConstantValue()
/external/llvm/lib/AsmParser/
DLLLexer.cpp877 APFloatVal = APFloat(APFloat::IEEEhalf, in Lex0x()
DLLParser.cpp4203 ID.APFloatVal.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, in ConvertValIDToValue()
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h1114 case MVT::f16: return APFloat::IEEEhalf;
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1241 if (Value *V = fitsInFPType(CFP, APFloat::IEEEhalf)) in lookThroughFPExtensions()
DInstCombineCompares.cpp4145 Sem = &APFloat::IEEEhalf; in visitFCmpInst()
/external/clang/include/clang/AST/
DStmt.h137 IEEEhalf, in LLVM_ALIGNAS() enumerator
/external/llvm/unittests/ADT/
DAPFloatTest.cpp1405 { &APFloat::IEEEhalf, false, {0, 0}, 1}, in TEST()
1406 { &APFloat::IEEEhalf, true, {0x8000ULL, 0}, 1}, in TEST()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2585 V = ConstantFP::get(Context, APFloat(APFloat::IEEEhalf, in parseConstants()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2893 return getConstantFP(APFloat(APFloat::IEEEhalf, Val), DL, VT); in getNode()