Home
last modified time | relevance | path

Searched refs:getSemantics (Results 1 – 25 of 40) sorted by relevance

12

/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPFloat.h388 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/
DConstants.cpp694 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 …]
DAsmWriter.cpp1142 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/
DConstants.cpp551 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 …]
DAsmWriter.cpp711 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/
DStringExtras.h113 if (&V.getSemantics() == &APFloat::IEEEdouble) in ftostr()
115 else if (&V.getSemantics() == &APFloat::IEEEsingle) in ftostr()
DAPFloat.h320 const fltSemantics &getSemantics() const { return *semantics; } in getSemantics() function
/external/llvm/lib/Target/WebAssembly/InstPrinter/
DWebAssemblyInstPrinter.cpp115 !FP.bitwiseIsEqual(APFloat::getQNaN(FP.getSemantics())) && in toString()
116 !FP.bitwiseIsEqual(APFloat::getQNaN(FP.getSemantics(), /*Negative=*/true))) { in toString()
/external/clang/lib/AST/
DExprConstant.cpp399 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/
DAPValue.h370 assert(&R.getSemantics() == &I.getSemantics() && in setComplexFloat()
DExpr.h1369 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/
DInstCombineAddSub.cpp272 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()
DInstCombineMulDivRem.cpp1226 APFloat Reciprocal(FpVal.getSemantics()); in CvtFDivConstToReciprocal()
1230 Reciprocal = APFloat(FpVal.getSemantics(), 1.0f); in CvtFDivConstToReciprocal()
DInstCombineCompares.cpp4349 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/
DASTMatchersInternal.h1416 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/
DSelectionDAGDumper.cpp426 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/
DConstants.h282 if (&Val.getSemantics() == &APFloat::PPCDoubleDouble) in isExactlyValue()
285 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
/external/llvm/include/llvm/ADT/
DAPFloat.h440 const fltSemantics &getSemantics() const { return *semantics; } in getSemantics() function
/external/llvm/lib/Support/
DAPFloat.cpp3965 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/
DSelectionDAGNodes.h1199 if (&Value->getValueAPF().getSemantics() == &APFloat::PPCDoubleDouble)
1202 Tmp.convert(Value->getValueAPF().getSemantics(),
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp498 const fltSemantics &SL = L.getSemantics(), &SR = R.getSemantics(); in cmpAPFloats()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp567 APFloat Reciprocal(Op1F.getSemantics()); in visitFDiv()
DInstCombineCompares.cpp2652 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/
DConstants.h308 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DIndVarSimplify.cpp233 if (&APF.getSemantics() == &APFloat::PPCDoubleDouble) in ConvertToSInt()

12