Home
last modified time | relevance | path

Searched refs:SNaN (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm/unittests/ADT/
DAPFloatTest.cpp1000 bool SNaN, bool Negative, uint64_t fill) { in nanbits() argument
1002 if (SNaN) in nanbits()
1633 APFloat SNaN = APFloat::getSNaN(APFloat::IEEEsingle, false); in TEST() local
1662 { PInf, SNaN, "nan", APFloat::opInvalidOp, APFloat::fcNaN }, in TEST()
1679 { MInf, SNaN, "nan", APFloat::opInvalidOp, APFloat::fcNaN }, in TEST()
1696 { PZero, SNaN, "nan", APFloat::opInvalidOp, APFloat::fcNaN }, in TEST()
1713 { MZero, SNaN, "nan", APFloat::opInvalidOp, APFloat::fcNaN }, in TEST()
1730 { QNaN, SNaN, "nan", APFloat::opInvalidOp, APFloat::fcNaN }, in TEST()
1742 { SNaN, PInf, "nan", APFloat::opInvalidOp, APFloat::fcNaN }, in TEST()
1743 { SNaN, MInf, "nan", APFloat::opInvalidOp, APFloat::fcNaN }, in TEST()
[all …]
/external/llvm-project/llvm/unittests/ADT/
DAPFloatTest.cpp1226 static APInt nanbitsFromAPInt(const fltSemantics &Sem, bool SNaN, bool Negative, in nanbitsFromAPInt() argument
1229 if (SNaN) in nanbitsFromAPInt()
1239 bool SNaN; in TEST() member
1267 ASSERT_EQ(t.expected, nanbitsFromAPInt(t.semantics, t.SNaN, t.Negative, t.payload)); in TEST()
2002 APFloat SNaN = APFloat(APFloat::IEEEsingle(), "snan123"); in TEST() local
2028 { PInf, SNaN, "nan123", APFloat::opInvalidOp, APFloat::fcNaN }, in TEST()
2042 { MInf, SNaN, "nan123", APFloat::opInvalidOp, APFloat::fcNaN }, in TEST()
2056 { PZero, SNaN, "nan123", APFloat::opInvalidOp, APFloat::fcNaN }, in TEST()
2070 { MZero, SNaN, "nan123", APFloat::opInvalidOp, APFloat::fcNaN }, in TEST()
2084 { QNaN, SNaN, "nan", APFloat::opInvalidOp, APFloat::fcNaN }, in TEST()
[all …]
/external/llvm-project/llvm/test/Transforms/InstSimplify/ConstProp/
Dcast.ll43 ; SNaN becomes QNaN.
54 ; SNaN becomes SNaN (first two elements).
/external/llvm-project/llvm/test/CodeGen/SystemZ/
Dfp-const-10.ll1 ; Test loads of SNaN.
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DUtils.h164 bool SNaN = false);
/external/llvm/include/llvm/ADT/
DAPFloat.h571 void makeNaN(bool SNaN = false, bool Neg = false,
573 static APFloat makeNaN(const fltSemantics &Sem, bool SNaN, bool Negative,
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPFloat.h469 void makeNaN(bool SNaN = false, bool Neg = false,
646 void makeNaN(bool SNaN, bool Neg, const APInt *fill);
783 void makeNaN(bool SNaN, bool Neg, const APInt *fill) { in makeNaN() argument
784 getIEEE().makeNaN(SNaN, Neg, fill); in makeNaN()
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DUtils.h195 bool SNaN = false);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DUtils.cpp390 bool SNaN) { in isKnownNeverNaN() argument
398 if (SNaN) { in isKnownNeverNaN()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp4605 bool SNaN, in isKnownNeverNaNForTargetNode() argument
4611 if (SNaN) in isKnownNeverNaNForTargetNode()
4620 if (SNaN) in isKnownNeverNaNForTargetNode()
4622 return DAG.isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1) && in isKnownNeverNaNForTargetNode()
4623 DAG.isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1); in isKnownNeverNaNForTargetNode()
4629 if (SNaN) in isKnownNeverNaNForTargetNode()
4631 return DAG.isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1) && in isKnownNeverNaNForTargetNode()
4632 DAG.isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1) && in isKnownNeverNaNForTargetNode()
4633 DAG.isKnownNeverNaN(Op.getOperand(2), SNaN, Depth + 1); in isKnownNeverNaNForTargetNode()
4645 if (SNaN) in isKnownNeverNaNForTargetNode()
[all …]
DAMDGPUISelLowering.h282 bool SNaN = false,
DSIISelLowering.h441 bool SNaN = false,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPFloat.h458 void makeNaN(bool SNaN = false, bool Neg = false,
648 void makeNaN(bool SNaN, bool Neg, const APInt *fill);
815 void makeNaN(bool SNaN, bool Neg, const APInt *fill) { in makeNaN() argument
816 APFLOAT_DISPATCH_ON_SEMANTICS(makeNaN(SNaN, Neg, fill)); in makeNaN()
/external/llvm-project/llvm/include/llvm/ADT/
DAPFloat.h463 void makeNaN(bool SNaN = false, bool Neg = false,
659 void makeNaN(bool SNaN, bool Neg, const APInt *fill);
826 void makeNaN(bool SNaN, bool Neg, const APInt *fill) { in makeNaN() argument
827 APFLOAT_DISPATCH_ON_SEMANTICS(makeNaN(SNaN, Neg, fill)); in makeNaN()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp4612 bool SNaN, in isKnownNeverNaNForTargetNode() argument
4618 if (SNaN) in isKnownNeverNaNForTargetNode()
4627 if (SNaN) in isKnownNeverNaNForTargetNode()
4629 return DAG.isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1) && in isKnownNeverNaNForTargetNode()
4630 DAG.isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1); in isKnownNeverNaNForTargetNode()
4636 if (SNaN) in isKnownNeverNaNForTargetNode()
4638 return DAG.isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1) && in isKnownNeverNaNForTargetNode()
4639 DAG.isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1) && in isKnownNeverNaNForTargetNode()
4640 DAG.isKnownNeverNaN(Op.getOperand(2), SNaN, Depth + 1); in isKnownNeverNaNForTargetNode()
4653 if (SNaN) in isKnownNeverNaNForTargetNode()
[all …]
DAMDGPUISelLowering.h269 bool SNaN = false,
DSIISelLowering.h400 bool SNaN = false,
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DUtils.cpp462 bool SNaN) { in isKnownNeverNaN() argument
471 if (SNaN) { in isKnownNeverNaN()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp4079 bool SelectionDAG::isKnownNeverNaN(SDValue Op, bool SNaN, unsigned Depth) const { in isKnownNeverNaN() argument
4091 (SNaN && !C->getValueAPF().isSignaling()); in isKnownNeverNaN()
4103 if (SNaN) in isKnownNeverNaN()
4117 if (SNaN) in isKnownNeverNaN()
4119 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1); in isKnownNeverNaN()
4124 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1); in isKnownNeverNaN()
4127 return isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1) && in isKnownNeverNaN()
4128 isKnownNeverNaN(Op.getOperand(2), SNaN, Depth + 1); in isKnownNeverNaN()
4131 if (SNaN) in isKnownNeverNaN()
4133 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1); in isKnownNeverNaN()
[all …]
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp4036 bool SelectionDAG::isKnownNeverNaN(SDValue Op, bool SNaN, unsigned Depth) const { in isKnownNeverNaN() argument
4048 (SNaN && !C->getValueAPF().isSignaling()); in isKnownNeverNaN()
4060 if (SNaN) in isKnownNeverNaN()
4075 if (SNaN) in isKnownNeverNaN()
4077 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1); in isKnownNeverNaN()
4082 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1); in isKnownNeverNaN()
4085 return isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1) && in isKnownNeverNaN()
4086 isKnownNeverNaN(Op.getOperand(2), SNaN, Depth + 1); in isKnownNeverNaN()
4089 if (SNaN) in isKnownNeverNaN()
4091 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1); in isKnownNeverNaN()
[all …]
/external/llvm/lib/Support/
DAPFloat.cpp623 void APFloat::makeNaN(bool SNaN, bool Negative, const APInt *fill) in makeNaN() argument
649 if (SNaN) { in makeNaN()
670 APFloat APFloat::makeNaN(const fltSemantics &Sem, bool SNaN, bool Negative, in makeNaN() argument
673 value.makeNaN(SNaN, Negative, fill); in makeNaN()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPFloat.cpp741 void IEEEFloat::makeNaN(bool SNaN, bool Negative, const APInt *fill) { in makeNaN() argument
766 if (SNaN) { in makeNaN()
4324 void DoubleAPFloat::makeNaN(bool SNaN, bool Neg, const APInt *fill) { in makeNaN() argument
4325 Floats[0].makeNaN(SNaN, Neg, fill); in makeNaN()
/external/llvm-project/llvm/lib/Support/
DAPFloat.cpp755 void IEEEFloat::makeNaN(bool SNaN, bool Negative, const APInt *fill) { in makeNaN() argument
781 if (SNaN) { in makeNaN()
4616 void DoubleAPFloat::makeNaN(bool SNaN, bool Neg, const APInt *fill) { in makeNaN() argument
4617 Floats[0].makeNaN(SNaN, Neg, fill); in makeNaN()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAG.h1591 bool isKnownNeverNaN(SDValue Op, bool SNaN = false, unsigned Depth = 0) const;
/external/llvm-project/llvm/include/llvm/CodeGen/
DSelectionDAG.h1802 bool isKnownNeverNaN(SDValue Op, bool SNaN = false, unsigned Depth = 0) const;

12