Home
last modified time | relevance | path

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

12

/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()
DConstantFold.cpp591 Val.convert(DestTy->isHalfTy() ? APFloat::IEEEhalf : in ConstantFoldCastInstruction()
DAsmWriter.cpp1212 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEhalf) { in WriteConstantInternal()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPFloat.h129 static const fltSemantics IEEEhalf;
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DType.h169 case HalfTyID: return APFloat::IEEEhalf(); in getFltSemantics()
/external/llvm/include/llvm/IR/
DType.h167 case HalfTyID: return APFloat::IEEEhalf; in getFltSemantics()
/external/llvm/include/llvm/ADT/
DAPFloat.h133 static const fltSemantics IEEEhalf; variable
/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/llvm/lib/AsmParser/
DLLLexer.cpp897 APFloatVal = APFloat(APFloat::IEEEhalf, in Lex0x()
DLLParser.cpp4425 ID.APFloatVal.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, in ConvertValIDToValue()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPFloat.h139 static const fltSemantics &IEEEhalf();
/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/clang/include/clang/AST/
DStmt.h145 IEEEhalf, in LLVM_ALIGNAS() enumerator
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1241 if (Value *V = fitsInFPType(CFP, APFloat::IEEEhalf)) in lookThroughFPExtensions()
DInstCombineCompares.cpp4604 Sem = &APFloat::IEEEhalf; in visitFCmpInst()
/external/llvm/unittests/ADT/
DAPFloatTest.cpp1404 { &APFloat::IEEEhalf, false, {0, 0}, 1}, in TEST()
1405 { &APFloat::IEEEhalf, true, {0x8000ULL, 0}, 1}, in TEST()
/external/spirv-llvm/lib/SPIRV/
DSPIRVReader.cpp1343 FS = &APFloat::IEEEhalf; in transValueWithoutDecoration()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2936 V = ConstantFP::get(Context, APFloat(APFloat::IEEEhalf, in parseConstants()

12