Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPFloat.h26 if (usesLayout<IEEEFloat>(getSemantics())) \
28 if (usesLayout<DoubleAPFloat>(getSemantics())) \
371 const fltSemantics &getSemantics() const { return *semantics; } in getSemantics() function
843 assert(&getSemantics() == &RHS.getSemantics() && in compareAbsoluteValue()
845 if (usesLayout<IEEEFloat>(getSemantics())) in compareAbsoluteValue()
847 if (usesLayout<DoubleAPFloat>(getSemantics())) in compareAbsoluteValue()
962 assert(&getSemantics() == &RHS.getSemantics() && in add()
964 if (usesLayout<IEEEFloat>(getSemantics())) in add()
966 if (usesLayout<DoubleAPFloat>(getSemantics())) in add()
971 assert(&getSemantics() == &RHS.getSemantics() && in subtract()
[all …]
/external/llvm-project/llvm/include/llvm/ADT/
DAPFloat.h27 if (usesLayout<IEEEFloat>(getSemantics())) \
29 if (usesLayout<DoubleAPFloat>(getSemantics())) \
376 const fltSemantics &getSemantics() const { return *semantics; } in getSemantics() function
854 assert(&getSemantics() == &RHS.getSemantics() && in compareAbsoluteValue()
856 if (usesLayout<IEEEFloat>(getSemantics())) in compareAbsoluteValue()
858 if (usesLayout<DoubleAPFloat>(getSemantics())) in compareAbsoluteValue()
974 assert(&getSemantics() == &RHS.getSemantics() && in add()
976 if (usesLayout<IEEEFloat>(getSemantics())) in add()
978 if (usesLayout<DoubleAPFloat>(getSemantics())) in add()
983 assert(&getSemantics() == &RHS.getSemantics() && in subtract()
[all …]
DAPFixedPoint.h120 FixedPointSemantics getSemantics() const { return Sema; } in getSemantics() function
/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-project/clang-tools-extra/clang-tidy/bugprone/
DIncorrectRoundingsCheck.cpp25 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle()) in AST_MATCHER()
27 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEdouble()) in AST_MATCHER()
/external/llvm-project/mlir/include/mlir/Dialect/Quant/
DUniformSupport.h96 if (&expressedValue.getSemantics() == &APFloat::IEEEsingle() && in quantizeFloatToInt()
103 expressedValue.convert(scale.getSemantics(), roundMode, &lossy); in quantizeFloatToInt()
129 assert(&expressedValue.getSemantics() == &APFloat::IEEEsingle()); in quantizeF32ToInt8()
/external/llvm-project/llvm/lib/Support/
DAPFixedPoint.cpp178 auto CommonFXSema = Sema.getCommonSemantics(Other.getSemantics()); in add()
202 auto CommonFXSema = Sema.getCommonSemantics(Other.getSemantics()); in sub()
226 auto CommonFXSema = Sema.getCommonSemantics(Other.getSemantics()); in mul()
283 auto CommonFXSema = Sema.getCommonSemantics(Other.getSemantics()); in div()
511 const fltSemantics &FloatSema = Value.getSemantics(); in getFromFloatValue()
DAPFloat.cpp31 if (usesLayout<IEEEFloat>(getSemantics())) \
33 if (usesLayout<DoubleAPFloat>(getSemantics())) \
4169 int SignificandBits = Arg.getSemantics().precision - 1; in ilogb()
4177 auto MaxExp = X.getSemantics().maxExponent; in scalbn()
4178 auto MinExp = X.getSemantics().minExponent; in scalbn()
4186 int SignificandBits = X.getSemantics().precision - 1; in scalbn()
4248 assert(&Floats[0].getSemantics() == &semIEEEdouble);
4249 assert(&Floats[1].getSemantics() == &semIEEEdouble);
4396 assert(&A.getSemantics() == &semIEEEdouble); in addWithSpecial()
4397 assert(&AA.getSemantics() == &semIEEEdouble); in addWithSpecial()
[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 …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp869 if (&V.getSemantics() == &APFloat::IEEEhalf()) in get()
871 else if (&V.getSemantics() == &APFloat::IEEEsingle()) in get()
873 else if (&V.getSemantics() == &APFloat::IEEEdouble()) in get()
875 else if (&V.getSemantics() == &APFloat::x87DoubleExtended()) in get()
877 else if (&V.getSemantics() == &APFloat::IEEEquad()) in get()
880 assert(&V.getSemantics() == &APFloat::PPCDoubleDouble() && in get()
902 assert(&V.getSemantics() == TypeToFloatSemantics(Ty) && in ConstantFP()
1373 if (&Val2.getSemantics() == &APFloat::IEEEhalf()) in isValueValidForType()
1379 if (&Val2.getSemantics() == &APFloat::IEEEsingle()) in isValueValidForType()
1385 if (&Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DMagicNumbersCheck.cpp189 if (&FloatValue.getSemantics() == &llvm::APFloat::IEEEsingle()) { in isIgnoredValue()
195 if (&FloatValue.getSemantics() == &llvm::APFloat::IEEEdouble()) { in isIgnoredValue()
/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/llvm-project/llvm/lib/IR/
DConstants.cpp996 Type *Ty = Type::getFloatingPointTy(Context, V.getSemantics()); in get()
1015 assert(&V.getSemantics() == &Ty->getFltSemantics() && in ConstantFP()
1548 if (&Val2.getSemantics() == &APFloat::IEEEhalf()) in isValueValidForType()
1554 if (&Val2.getSemantics() == &APFloat::BFloat()) in isValueValidForType()
1560 if (&Val2.getSemantics() == &APFloat::IEEEsingle()) in isValueValidForType()
1566 if (&Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
1567 &Val2.getSemantics() == &APFloat::BFloat() || in isValueValidForType()
1568 &Val2.getSemantics() == &APFloat::IEEEsingle() || in isValueValidForType()
1569 &Val2.getSemantics() == &APFloat::IEEEdouble()) in isValueValidForType()
1575 return &Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
[all …]
/external/llvm-project/clang/include/clang/AST/
DOptionalDiagnostic.h57 unsigned precision = llvm::APFloat::semanticsPrecision(F.getSemantics());
DAPValue.h592 assert(&R.getSemantics() == &I.getSemantics() &&
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPFloat.cpp31 if (usesLayout<IEEEFloat>(getSemantics())) \
33 if (usesLayout<DoubleAPFloat>(getSemantics())) \
3877 int SignificandBits = Arg.getSemantics().precision - 1; in ilogb()
3885 auto MaxExp = X.getSemantics().maxExponent; in scalbn()
3886 auto MinExp = X.getSemantics().minExponent; in scalbn()
3894 int SignificandBits = X.getSemantics().precision - 1; in scalbn()
3956 assert(&Floats[0].getSemantics() == &semIEEEdouble);
3957 assert(&Floats[1].getSemantics() == &semIEEEdouble);
4104 assert(&A.getSemantics() == &semIEEEdouble); in addWithSpecial()
4105 assert(&AA.getSemantics() == &semIEEEdouble); in addWithSpecial()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyInstPrinter.cpp187 if (FP.isNaN() && !FP.bitwiseIsEqual(APFloat::getQNaN(FP.getSemantics())) && in toString()
189 APFloat::getQNaN(FP.getSemantics(), /*Negative=*/true))) { in toString()
/external/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyInstPrinter.cpp198 if (FP.isNaN() && !FP.bitwiseIsEqual(APFloat::getQNaN(FP.getSemantics())) && in toString()
200 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/llvm-project/lldb/source/Utility/
DScalar.cpp37 return GetFloatPromoKey(m_float.getSemantics()); in GetPromoKey()
64 a.FloatPromote(b.m_float.getSemantics()); in PromoteToMaxType()
205 if (GetFloatPromoKey(semantics) < GetFloatPromoKey(m_float.getSemantics())) in FloatPromote()
/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/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/llvm/include/llvm/ADT/
DAPFloat.h440 const fltSemantics &getSemantics() const { return *semantics; } in getSemantics() function

12345