Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPFloat.h27 if (usesLayout<IEEEFloat>(getSemantics())) \
29 if (usesLayout<DoubleAPFloat>(getSemantics())) \
355 const fltSemantics &getSemantics() const { return *semantics; } in getSemantics() function
826 assert(&getSemantics() == &RHS.getSemantics() && in compareAbsoluteValue()
828 if (usesLayout<IEEEFloat>(getSemantics())) in compareAbsoluteValue()
830 if (usesLayout<DoubleAPFloat>(getSemantics())) in compareAbsoluteValue()
942 assert(&getSemantics() == &RHS.getSemantics() && in add()
944 if (usesLayout<IEEEFloat>(getSemantics())) in add()
946 if (usesLayout<DoubleAPFloat>(getSemantics())) in add()
951 assert(&getSemantics() == &RHS.getSemantics() && in subtract()
[all …]
/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstants.cpp764 if (&V.getSemantics() == &APFloat::IEEEhalf()) in get()
766 else if (&V.getSemantics() == &APFloat::IEEEsingle()) in get()
768 else if (&V.getSemantics() == &APFloat::IEEEdouble()) in get()
770 else if (&V.getSemantics() == &APFloat::x87DoubleExtended()) in get()
772 else if (&V.getSemantics() == &APFloat::IEEEquad()) in get()
775 assert(&V.getSemantics() == &APFloat::PPCDoubleDouble() && in get()
797 assert(&V.getSemantics() == TypeToFloatSemantics(Ty) && in ConstantFP()
1268 if (&Val2.getSemantics() == &APFloat::IEEEhalf()) in isValueValidForType()
1274 if (&Val2.getSemantics() == &APFloat::IEEEsingle()) in isValueValidForType()
1280 if (&Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
[all …]
DAsmWriter.cpp1291 if (&APF.getSemantics() == &APFloat::IEEEsingle() || in WriteConstantInternal()
1292 &APF.getSemantics() == &APFloat::IEEEdouble()) { in WriteConstantInternal()
1299 bool isDouble = &APF.getSemantics() == &APFloat::IEEEdouble(); in WriteConstantInternal()
1340 if (&APF.getSemantics() == &APFloat::x87DoubleExtended()) { in WriteConstantInternal()
1347 } else if (&APF.getSemantics() == &APFloat::IEEEquad()) { in WriteConstantInternal()
1353 } else if (&APF.getSemantics() == &APFloat::PPCDoubleDouble()) { in WriteConstantInternal()
1359 } else if (&APF.getSemantics() == &APFloat::IEEEhalf()) { in WriteConstantInternal()
/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DAPFloat.cpp32 if (usesLayout<IEEEFloat>(getSemantics())) \
34 if (usesLayout<DoubleAPFloat>(getSemantics())) \
3800 int SignificandBits = Arg.getSemantics().precision - 1; in ilogb()
3808 auto MaxExp = X.getSemantics().maxExponent; in scalbn()
3809 auto MinExp = X.getSemantics().minExponent; in scalbn()
3817 int SignificandBits = X.getSemantics().precision - 1; in scalbn()
3879 assert(&Floats[0].getSemantics() == &semIEEEdouble);
3880 assert(&Floats[1].getSemantics() == &semIEEEdouble);
4027 assert(&A.getSemantics() == &semIEEEdouble); in addWithSpecial()
4028 assert(&AA.getSemantics() == &semIEEEdouble); in addWithSpecial()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/InstPrinter/
DWebAssemblyInstPrinter.cpp117 !FP.bitwiseIsEqual(APFloat::getQNaN(FP.getSemantics())) && in toString()
119 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()
/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()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp288 convertToFpType(T.getSemantics()); in operator +=()
294 T.add(createAPFloatFromInt(T.getSemantics(), That.IntVal), RndMode); in operator +=()
314 isInt() ? That.getFpVal().getSemantics() : getFpVal().getSemantics(); in operator *=()
389 Addend0.set(APFloat(C0->getValueAPF().getSemantics()), nullptr); in drillValueDownOneStep()
/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/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-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp532 if (&CSDN->getValueAPF().getSemantics() == &APFloat::IEEEsingle()) in print_details()
534 else if (&CSDN->getValueAPF().getSemantics() == &APFloat::IEEEdouble()) in print_details()
/external/llvm/include/llvm/ADT/
DAPFloat.h440 const fltSemantics &getSemantics() const { return *semantics; } in getSemantics() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp78 const fltSemantics &SL = L.getSemantics(), &SR = R.getSemantics(); in cmpAPFloats()
/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(),

123