Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXMCExpr.cpp36 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
/external/clang/lib/Basic/
DTargetInfo.cpp73 HalfFormat = &llvm::APFloat::IEEEhalf; in TargetInfo()
318 HalfFormat = &llvm::APFloat::IEEEhalf; in adjust()
/external/llvm/lib/IR/
DConstants.cpp201 APFloat::getZero(APFloat::IEEEhalf)); in getNullValue()
609 return &APFloat::IEEEhalf; in TypeToFloatSemantics()
694 if (&V.getSemantics() == &APFloat::IEEEhalf) in get()
1220 if (&Val2.getSemantics() == &APFloat::IEEEhalf) in isValueValidForType()
1222 Val2.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1232 if (&Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType()
1240 return &Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType()
1245 return &Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType()
1250 return &Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType()
2613 return APFloat(APFloat::IEEEhalf, APInt(16, EltVal)); in getElementAsAPFloat()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstants.cpp274 APFloat::getZero(APFloat::IEEEhalf())); in getNullValue()
670 return &APFloat::IEEEhalf(); in TypeToFloatSemantics()
764 if (&V.getSemantics() == &APFloat::IEEEhalf()) in get()
1268 if (&Val2.getSemantics() == &APFloat::IEEEhalf()) in isValueValidForType()
1270 Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1280 if (&Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
1288 return &Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
1293 return &Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
1298 return &Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
2684 return APFloat(APFloat::IEEEhalf(), APInt(16, EltVal)); in getElementAsAPFloat()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DUtils.cpp234 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in getAPFloatFromSize()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPFloat.h129 static const fltSemantics IEEEhalf;
/external/llvm/include/llvm/IR/
DType.h167 case HalfTyID: return APFloat::IEEEhalf; in getFltSemantics()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DType.h169 case HalfTyID: return APFloat::IEEEhalf(); in getFltSemantics()
/external/llvm/include/llvm/ADT/
DAPFloat.h133 static const fltSemantics IEEEhalf; variable
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DType.h171 case HalfTyID: return APFloat::IEEEhalf(); in getFltSemantics()
/external/llvm/lib/Support/
DAPFloat.cpp61 const fltSemantics APFloat::IEEEhalf = { 15, -14, 11, 16 }; member in llvm::APFloat
3074 assert(semantics == (const llvm::fltSemantics*)&IEEEhalf); in convertHalfAPFloatToAPInt()
3107 if (semantics == (const llvm::fltSemantics*)&IEEEhalf) in bitcastToAPInt()
3326 initialize(&APFloat::IEEEhalf); in initFromHalfAPInt()
3358 if (Sem == &IEEEhalf) in initFromAPInt()
3379 return APFloat(IEEEhalf, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue()
/external/swiftshader/third_party/LLVM/lib/Support/
DAPFloat.cpp53 const fltSemantics APFloat::IEEEhalf = { 15, -14, 11, true }; member in llvm::APFloat
2899 assert(semantics == (const llvm::fltSemantics*)&IEEEhalf); in convertHalfAPFloatToAPInt()
2932 if (semantics == (const llvm::fltSemantics*)&IEEEhalf) in bitcastToAPInt()
3175 initialize(&APFloat::IEEEhalf); in initFromHalfAPInt()
3591 if (semantics != &IEEEhalf && semantics != &IEEEsingle && in getExactInverse()
/external/llvm/lib/Analysis/
DConstantFolding.cpp1367 APF.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue()
1475 Val.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall()
1650 APFloat Val(APFloat::IEEEhalf, Op->getValue()); in ConstantFoldScalarCall()
/external/clang/lib/AST/
DExpr.cpp741 setRawSemantics(IEEEhalf); in FloatingLiteral()
758 case IEEEhalf: in getSemantics()
759 return llvm::APFloat::IEEEhalf; in getSemantics()
775 if (&Sem == &llvm::APFloat::IEEEhalf) in setSemantics()
776 FloatingLiteralBits.Semantics = IEEEhalf; in setSemantics()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp289 if (&format == &llvm::APFloat::IEEEhalf) { in getTypeForFormat()
DCGExprConstant.cpp1357 if (&Init.getSemantics() == &llvm::APFloat::IEEEhalf && in EmitConstantValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DConstantFolding.cpp1495 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue()
1628 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall()
1821 APFloat Val(APFloat::IEEEhalf(), Op->getValue()); in ConstantFoldScalarCall()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/CodeGen/GlobalISel/
DPatternMatchTest.cpp336 APF16.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in TEST()
/external/llvm/lib/AsmParser/
DLLLexer.cpp897 APFloatVal = APFloat(APFloat::IEEEhalf, in Lex0x()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLLexer.cpp999 APFloatVal = APFloat(APFloat::IEEEhalf(), in Lex0x()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPFloat.h139 static const fltSemantics &IEEEhalf();
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPFloat.h152 static const fltSemantics &IEEEhalf() LLVM_READNONE;
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp1182 Val.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &lost); in ConstantFoldCall()
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h1200 case MVT::f16: return APFloat::IEEEhalf;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DSelectionDAG.h1332 case MVT::f16: return APFloat::IEEEhalf();

12