/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APFloat.h | 388 const fltSemantics &getSemantics() const { return *semantics; } in getSemantics() function 807 assert(&getSemantics() == &RHS.getSemantics()); in compareAbsoluteValue() 808 if (usesLayout<IEEEFloat>(getSemantics())) in compareAbsoluteValue() 810 if (usesLayout<DoubleAPFloat>(getSemantics())) in compareAbsoluteValue() 831 if (usesLayout<IEEEFloat>(getSemantics())) in needsCleanup() 833 if (usesLayout<DoubleAPFloat>(getSemantics())) in needsCleanup() 926 if (usesLayout<IEEEFloat>(getSemantics())) in add() 928 if (usesLayout<DoubleAPFloat>(getSemantics())) in add() 933 if (usesLayout<IEEEFloat>(getSemantics())) in subtract() 935 if (usesLayout<DoubleAPFloat>(getSemantics())) in subtract() [all …]
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 694 if (&V.getSemantics() == &APFloat::IEEEhalf) in get() 696 else if (&V.getSemantics() == &APFloat::IEEEsingle) in get() 698 else if (&V.getSemantics() == &APFloat::IEEEdouble) in get() 700 else if (&V.getSemantics() == &APFloat::x87DoubleExtended) in get() 702 else if (&V.getSemantics() == &APFloat::IEEEquad) in get() 705 assert(&V.getSemantics() == &APFloat::PPCDoubleDouble && in get() 727 assert(&V.getSemantics() == TypeToFloatSemantics(Ty) && in ConstantFP() 1220 if (&Val2.getSemantics() == &APFloat::IEEEhalf) in isValueValidForType() 1226 if (&Val2.getSemantics() == &APFloat::IEEEsingle) in isValueValidForType() 1232 if (&Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType() [all …]
|
D | AsmWriter.cpp | 1142 if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEsingle || in WriteConstantInternal() 1143 &CFP->getValueAPF().getSemantics() == &APFloat::IEEEdouble) { in WriteConstantInternal() 1150 bool isDouble = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEdouble; in WriteConstantInternal() 1193 if (&CFP->getValueAPF().getSemantics() == &APFloat::x87DoubleExtended) { in WriteConstantInternal() 1200 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEquad) { in WriteConstantInternal() 1206 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::PPCDoubleDouble) { in WriteConstantInternal() 1212 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEhalf) { in WriteConstantInternal()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Constants.cpp | 551 if (&V.getSemantics() == &APFloat::IEEEsingle) in get() 553 else if (&V.getSemantics() == &APFloat::IEEEdouble) in get() 555 else if (&V.getSemantics() == &APFloat::x87DoubleExtended) in get() 557 else if (&V.getSemantics() == &APFloat::IEEEquad) in get() 560 assert(&V.getSemantics() == &APFloat::PPCDoubleDouble && in get() 578 assert(&V.getSemantics() == TypeToFloatSemantics(Ty) && in ConstantFP() 941 if (&Val2.getSemantics() == &APFloat::IEEEsingle) in isValueValidForType() 947 if (&Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType() 948 &Val2.getSemantics() == &APFloat::IEEEdouble) in isValueValidForType() 954 return &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType() [all …]
|
D | AsmWriter.cpp | 711 if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEdouble || in WriteConstantInternal() 712 &CFP->getValueAPF().getSemantics() == &APFloat::IEEEsingle) { in WriteConstantInternal() 719 bool isDouble = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEdouble; in WriteConstantInternal() 759 if (&CFP->getValueAPF().getSemantics() == &APFloat::x87DoubleExtended) { in WriteConstantInternal() 781 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEquad) in WriteConstantInternal() 783 else if (&CFP->getValueAPF().getSemantics() == &APFloat::PPCDoubleDouble) in WriteConstantInternal()
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | StringExtras.h | 113 if (&V.getSemantics() == &APFloat::IEEEdouble) in ftostr() 115 else if (&V.getSemantics() == &APFloat::IEEEsingle) in ftostr()
|
D | APFloat.h | 320 const fltSemantics &getSemantics() const { return *semantics; } in getSemantics() function
|
/external/llvm/lib/Target/WebAssembly/InstPrinter/ |
D | WebAssemblyInstPrinter.cpp | 115 !FP.bitwiseIsEqual(APFloat::getQNaN(FP.getSemantics())) && in toString() 116 !FP.bitwiseIsEqual(APFloat::getQNaN(FP.getSemantics(), /*Negative=*/true))) { in toString()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 399 llvm::APFloat::semanticsPrecision(F.getSemantics()); in operator <<() 3172 APFloat One(Value.getSemantics(), 1); in found() 7505 LHS.FloatImag = APFloat(LHS.FloatReal.getSemantics()); in VisitBinaryOperator() 7517 RHS.FloatImag = APFloat(RHS.FloatReal.getSemantics()); in VisitBinaryOperator() 8486 Result.FloatReal = APFloat(Imag.getSemantics()); in VisitImaginaryLiteral() 8567 Result.FloatImag = APFloat(Real.getSemantics()); in VisitCastExpr() 8653 Result.FloatImag = APFloat(Real.getSemantics()); in VisitBinaryOperator() 8668 RHS.FloatImag = APFloat(Real.getSemantics()); in VisitBinaryOperator() 8739 APFloat(A.getSemantics(), A.isInfinity() ? 1 : 0), A); in VisitBinaryOperator() 8741 APFloat(B.getSemantics(), B.isInfinity() ? 1 : 0), B); in VisitBinaryOperator() [all …]
|
/external/clang/include/clang/AST/ |
D | APValue.h | 370 assert(&R.getSemantics() == &I.getSemantics() && in setComplexFloat()
|
D | Expr.h | 1369 return APFloatStorage::getValue(getSemantics()); in getValue() 1372 assert(&getSemantics() == &Val.getSemantics() && "Inconsistent semantics"); in setValue() 1389 const llvm::fltSemantics &getSemantics() const;
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 272 convertToFpType(T.getSemantics()); in operator +=() 278 T.add(createAPFloatFromInt(T.getSemantics(), That.IntVal), RndMode); in operator +=() 298 isInt() ? That.getFpVal().getSemantics() : getFpVal().getSemantics(); in operator *=() 374 Addend0.set(APFloat(C0->getValueAPF().getSemantics()), nullptr); in drillValueDownOneStep()
|
D | InstCombineMulDivRem.cpp | 1226 APFloat Reciprocal(FpVal.getSemantics()); in CvtFDivConstToReciprocal() 1230 Reciprocal = APFloat(FpVal.getSemantics(), 1.0f); in CvtFDivConstToReciprocal()
|
D | InstCombineCompares.cpp | 4349 int MaxExponent = ilogb(APFloat::getLargest(RHS.getSemantics())); in FoldFCmp_IntToFP_Cst() 4409 APFloat SMax(RHS.getSemantics()); in FoldFCmp_IntToFP_Cst() 4421 APFloat UMax(RHS.getSemantics()); in FoldFCmp_IntToFP_Cst() 4434 APFloat SMin(RHS.getSemantics()); in FoldFCmp_IntToFP_Cst() 4445 APFloat SMin(RHS.getSemantics()); in FoldFCmp_IntToFP_Cst()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchersInternal.h | 1416 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle) 1418 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEdouble) 1425 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle) 1427 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEdouble)
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGDumper.cpp | 426 if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEsingle) in print_details() 428 else if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEdouble) in print_details()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Constants.h | 282 if (&Val.getSemantics() == &APFloat::PPCDoubleDouble) in isExactlyValue() 285 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
|
/external/llvm/include/llvm/ADT/ |
D | APFloat.h | 440 const fltSemantics &getSemantics() const { return *semantics; } in getSemantics() function
|
/external/llvm/lib/Support/ |
D | APFloat.cpp | 3965 int SignificandBits = Arg.getSemantics().precision - 1; in ilogb() 3973 auto MaxExp = X.getSemantics().maxExponent; in scalbn() 3974 auto MinExp = X.getSemantics().minExponent; in scalbn() 3982 int SignificandBits = X.getSemantics().precision - 1; in scalbn()
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 1199 if (&Value->getValueAPF().getSemantics() == &APFloat::PPCDoubleDouble) 1202 Tmp.convert(Value->getValueAPF().getSemantics(),
|
/external/llvm/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 498 const fltSemantics &SL = L.getSemantics(), &SR = R.getSemantics(); in cmpAPFloats()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 567 APFloat Reciprocal(Op1F.getSemantics()); in visitFDiv()
|
D | InstCombineCompares.cpp | 2652 APFloat SMax(RHS.getSemantics(), APFloat::fcZero, false); in FoldFCmp_IntToFP_Cst() 2664 APFloat UMax(RHS.getSemantics(), APFloat::fcZero, false); in FoldFCmp_IntToFP_Cst() 2677 APFloat SMin(RHS.getSemantics(), APFloat::fcZero, false); in FoldFCmp_IntToFP_Cst()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 308 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 233 if (&APF.getSemantics() == &APFloat::PPCDoubleDouble) in ConvertToSInt()
|