/external/llvm/lib/Target/WebAssembly/InstPrinter/ |
D | WebAssemblyInstPrinter.cpp | 68 assert((FP.bitwiseIsEqual(APFloat::getQNaN(FP.getSemantics())) || in toString() 70 APFloat::getQNaN(FP.getSemantics(), /*Negative=*/true))) && in toString()
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 720 if (&V.getSemantics() == &APFloat::IEEEhalf) in get() 722 else if (&V.getSemantics() == &APFloat::IEEEsingle) in get() 724 else if (&V.getSemantics() == &APFloat::IEEEdouble) in get() 726 else if (&V.getSemantics() == &APFloat::x87DoubleExtended) in get() 728 else if (&V.getSemantics() == &APFloat::IEEEquad) in get() 731 assert(&V.getSemantics() == &APFloat::PPCDoubleDouble && in get() 753 assert(&V.getSemantics() == TypeToFloatSemantics(Ty) && in ConstantFP() 1271 if (&Val2.getSemantics() == &APFloat::IEEEhalf) in isValueValidForType() 1277 if (&Val2.getSemantics() == &APFloat::IEEEsingle) in isValueValidForType() 1283 if (&Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType() [all …]
|
D | AsmWriter.cpp | 1098 if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEsingle || in WriteConstantInternal() 1099 &CFP->getValueAPF().getSemantics() == &APFloat::IEEEdouble) { in WriteConstantInternal() 1106 bool isDouble = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEdouble; in WriteConstantInternal() 1149 if (&CFP->getValueAPF().getSemantics() == &APFloat::x87DoubleExtended) { in WriteConstantInternal() 1156 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEquad) { in WriteConstantInternal() 1162 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::PPCDoubleDouble) { in WriteConstantInternal() 1168 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEhalf) { in WriteConstantInternal()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | AMDGPUMCInstLower.cpp | 42 assert(&FloatValue.getSemantics() == &APFloat::IEEEsingle && in lower()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 266 convertToFpType(T.getSemantics()); in operator +=() 272 T.add(createAPFloatFromInt(T.getSemantics(), That.IntVal), RndMode); in operator +=() 287 convertToFpType(T.getSemantics()); in operator -=() 293 T.subtract(createAPFloatFromInt(T.getSemantics(), IntVal), RndMode); in operator -=() 313 isInt() ? That.getFpVal().getSemantics() : getFpVal().getSemantics(); in operator *=() 391 Addend0.set(APFloat(C0->getValueAPF().getSemantics()), nullptr); in drillValueDownOneStep()
|
D | InstCombineMulDivRem.cpp | 1196 APFloat Reciprocal(FpVal.getSemantics()); in CvtFDivConstToReciprocal() 1200 Reciprocal = APFloat(FpVal.getSemantics(), 1.0f); in CvtFDivConstToReciprocal()
|
D | InstCombineCompares.cpp | 3890 int MaxExponent = ilogb(APFloat::getLargest(RHS.getSemantics())); in FoldFCmp_IntToFP_Cst() 3950 APFloat SMax(RHS.getSemantics()); in FoldFCmp_IntToFP_Cst() 3962 APFloat UMax(RHS.getSemantics()); in FoldFCmp_IntToFP_Cst() 3975 APFloat SMin(RHS.getSemantics()); in FoldFCmp_IntToFP_Cst() 3986 APFloat SMin(RHS.getSemantics()); in FoldFCmp_IntToFP_Cst()
|
D | InstCombineCalls.cpp | 1621 APFloat Val(ArgVal.getSemantics(), 1.0); in visitCallInst()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 398 llvm::APFloat::semanticsPrecision(F.getSemantics()); in operator <<() 3068 APFloat One(Value.getSemantics(), 1); in found() 7209 LHS.FloatImag = APFloat(LHS.FloatReal.getSemantics()); in VisitBinaryOperator() 7221 RHS.FloatImag = APFloat(RHS.FloatReal.getSemantics()); in VisitBinaryOperator() 8186 Result.FloatReal = APFloat(Imag.getSemantics()); in VisitImaginaryLiteral() 8266 Result.FloatImag = APFloat(Real.getSemantics()); in VisitCastExpr() 8352 Result.FloatImag = APFloat(Real.getSemantics()); in VisitBinaryOperator() 8367 RHS.FloatImag = APFloat(Real.getSemantics()); in VisitBinaryOperator() 8438 APFloat(A.getSemantics(), A.isInfinity() ? 1 : 0), A); in VisitBinaryOperator() 8440 APFloat(B.getSemantics(), B.isInfinity() ? 1 : 0), B); in VisitBinaryOperator() [all …]
|
D | Expr.cpp | 745 setSemantics(V.getSemantics()); in FloatingLiteral() 767 const llvm::fltSemantics &FloatingLiteral::getSemantics() const { in getSemantics() function in FloatingLiteral
|
D | ItaniumMangle.cpp | 3442 mangleFloat(llvm::APFloat(Imag->getValue().getSemantics())); in mangleExpression()
|
/external/clang/include/clang/AST/ |
D | APValue.h | 370 assert(&R.getSemantics() == &I.getSemantics() && in setComplexFloat()
|
D | Expr.h | 1411 return APFloatStorage::getValue(getSemantics()); in getValue() 1414 assert(&getSemantics() == &Val.getSemantics() && "Inconsistent semantics"); in setValue() 1431 const llvm::fltSemantics &getSemantics() const;
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchersInternal.h | 1343 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle) 1345 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEdouble) 1352 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle) 1354 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEdouble)
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGDumper.cpp | 425 if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEsingle) in print_details() 427 else if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEdouble) in print_details()
|
/external/llvm/include/llvm/ADT/ |
D | APFloat.h | 438 const fltSemantics &getSemantics() const { return *semantics; } in getSemantics() function
|
/external/llvm/lib/Support/ |
D | APFloat.cpp | 3950 auto MaxExp = X.getSemantics().maxExponent; in scalbn() 3951 auto MinExp = X.getSemantics().minExponent; in scalbn() 3954 return APFloat::getInf(X.getSemantics(), X.isNegative()); in scalbn() 3957 return APFloat::getZero(X.getSemantics(), X.isNegative()); in scalbn()
|
/external/llvm/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 491 const fltSemantics &SL = L.getSemantics(), &SR = R.getSemantics(); in cmpAPFloats()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 295 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 207 if (&V.getSemantics() == &APFloat::IEEEdouble) { in ftostr() 210 } else if (&V.getSemantics() == &APFloat::IEEEsingle) { in ftostr()
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 1331 if (&Init.getSemantics() == &llvm::APFloat::IEEEhalf && in EmitConstantValue()
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 1483 Tmp.convert(Value->getValueAPF().getSemantics(),
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 1190 if (V.compare(APFloat(V.getSemantics(), 32.0)) == APFloat::cmpGreaterThan || in optimizePow()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXInstrInfo.td | 680 if (&(N->getValueAPF().getSemantics()) != &llvm::APFloat::IEEEsingle) 687 if (&(N->getValueAPF().getSemantics()) != &llvm::APFloat::IEEEdouble)
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 488 Reader.ReadAPFloat(Record, E->getSemantics(), Idx)); in VisitFloatingLiteral()
|