| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | real.cpp | 148 if (IsZero() || y.IsZero()) { in Multiply() 162 sticky = !product.lower.IsZero() || !product.upper.IsZero(); in Multiply() 273 if (IsZero()) { in SQRT() 283 } else if (IsZero()) { in SQRT() 348 if (IsZero()) { in NEAREST() 383 } else if (IsZero()) { in HYPOT() 411 !y.IsZero()) { in MOD() 434 !y.IsZero()) { in MODULO() 648 } else if (IsZero()) { in DumpHexadecimal() 748 } else if (IsZero()) { in SPACING() [all …]
|
| H A D | int-power.h | 26 } else if (power.IsZero()) { 27 if (base.IsZero() || base.IsInfinite()) {
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64PostLegalizerLowering.cpp | 866 return [LHS, RHS, IsZero, DstTy](MachineIRBuilder &MIB) { in getVectorFCMP() 867 auto FCmp = IsZero in getVectorFCMP() 873 return [LHS, RHS, IsZero, DstTy](MachineIRBuilder &MIB) { in getVectorFCMP() 874 return IsZero in getVectorFCMP() 880 return [LHS, RHS, IsZero, DstTy](MachineIRBuilder &MIB) { in getVectorFCMP() 881 return IsZero in getVectorFCMP() 887 return [LHS, RHS, IsZero, DstTy](MachineIRBuilder &MIB) { in getVectorFCMP() 888 return IsZero in getVectorFCMP() 894 return [LHS, RHS, IsZero, DstTy](MachineIRBuilder &MIB) { in getVectorFCMP() 895 return IsZero in getVectorFCMP() [all …]
|
| /llvm-project-15.0.7/flang/include/flang/Evaluate/ |
| H A D | real.h | 72 return Exponent() == maxExponent && !GetSignificand().IsZero(); in IsNotANumber() 82 return Exponent() == maxExponent && GetSignificand().IsZero(); in IsInfinite() 85 constexpr bool IsZero() const { in IsZero() function 86 return Exponent() == 0 && GetSignificand().IsZero(); in IsZero() 89 return Exponent() == 0 && !GetSignificand().IsZero(); in IsSubnormal() 142 } else if (IsZero()) { in EXPONENT() 181 if (IsZero()) { 286 if (!result.value.IsZero()) {
|
| H A D | complex.h | 48 constexpr bool IsZero() const { return re_.IsZero() || im_.IsZero(); } in IsZero() function
|
| H A D | integer.h | 265 overflow |= !shifted.upper.IsZero(); 273 overflow |= isSigned && !result.IsNegative() && !result.IsZero(); 320 } else if (IsZero()) { in UnsignedDecimal() 325 if (qr.quotient.IsZero()) { in UnsignedDecimal() 366 constexpr bool IsZero() const { in IsZero() function 382 } else if (IsZero()) { in CompareToZeroSigned() 872 if (divisor.IsZero()) { in MultiplyUnsigned() 951 if (distinctSigns && !divided.remainder.IsZero()) { in MultiplyUnsigned() 960 if (exponent.IsZero()) { in MultiplyUnsigned() 967 result.zeroToZero = IsZero(); in MultiplyUnsigned() [all …]
|
| H A D | rounding-bits.h | 36 sticky_ = !fraction.IsZero(); in RoundingBits() 39 sticky_ = !fraction.IAND(mask).IsZero(); in RoundingBits()
|
| H A D | logical.h | 74 return !word_.IsZero(); in IsTrue()
|
| /llvm-project-15.0.7/flang/unittests/Evaluate/ |
| H A D | real.cpp | 58 TEST(zero.IsZero())(desc); in basicTests() 60 TEST(zero.RawBits().IsZero())(desc); in basicTests() 62 TEST(zero.ABS().RawBits().IsZero())(desc); in basicTests() 69 TEST(minusZero.IsZero())(desc); in basicTests() 70 TEST(minusZero.ABS().RawBits().IsZero())(desc); in basicTests() 71 TEST(minusZero.Negate().RawBits().IsZero())(desc); in basicTests() 88 TEST(!nan.IsZero())(desc); in basicTests() 102 TEST(!inf.IsZero())(desc); in basicTests() 113 TEST(!negInf.IsZero())(desc); in basicTests() 139 TEST(!vr.value.IsZero())(ldesc); in basicTests() [all …]
|
| H A D | integer.cpp | 21 TEST(zero.IsZero())(desc); in exhaustiveTesting() 33 MATCH(x == 0, a.IsZero())("%s, x=0x%llx", desc, x); in exhaustiveTesting()
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | edit-output.h | 85 bool IsZero() const { return x_.IsZero(); } in IsZero() function
|
| H A D | edit-output.cpp | 280 scale = IsZero() ? 1 : 3; in EditEorDOutput() 312 if (!IsZero()) { in EditEorDOutput() 409 if (IsZero()) { // don't treat converted "0" as significant digit in EditFOutput() 504 int expo{IsZero() ? 1 : converted.decimalExponent}; // 's' in EditForGOutput()
|
| /llvm-project-15.0.7/llvm/include/llvm/MCA/ |
| H A D | Instruction.h | 351 bool IsZero; variable 359 IsZero(false), IndependentFromDef(false) {} in ReadState() 381 bool isReadZero() const { return IsZero; } in isReadZero() 382 void setReadZero() { IsZero = true; } in setReadZero()
|
| /llvm-project-15.0.7/flang/lib/Decimal/ |
| H A D | binary-to-decimal.cpp | 22 if (x.IsZero()) { 92 if (IsZero()) { in ConvertToDecimal() 297 if ((flags & Minimize) && !x.IsZero()) { in ConvertToDecimal()
|
| H A D | big-radix-floating-point.h | 125 bool IsZero() const { in IsZero() function
|
| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | benchmark_api_internal.h | 77 bool IsZero(double n);
|
| H A D | benchmark_api_internal.cc | 49 if (!IsZero(benchmark->min_time_)) { in BenchmarkInstance()
|
| H A D | benchmark_runner.cc | 149 min_time(!IsZero(b.min_time()) ? b.min_time() : FLAGS_benchmark_min_time), in BenchmarkRunner()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_update_shadow_word.inc | 19 if (LIKELY(old.IsZero())) {
|
| H A D | tsan_shadow.h | 134 bool IsZero() const { return x_ == 0; } in IsZero() function
|
| /llvm-project-15.0.7/flang/include/flang/Decimal/ |
| H A D | binary-floating-point.h | 78 constexpr bool IsZero() const { in IsZero() function
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | Scalar.cpp | 143 bool Scalar::IsZero() const { in IsZero() function in Scalar 538 !rhs.IsZero()) { in operator /() 598 if (!rhs.IsZero() && result.m_type == Scalar::e_int) { in operator %()
|
| /llvm-project-15.0.7/lldb/include/lldb/DataFormatters/ |
| H A D | FormattersHelpers.h | 100 bool IsZero() const { in IsZero() function
|
| /llvm-project-15.0.7/lldb/unittests/Utility/ |
| H A D | ScalarTest.cpp | 373 ASSERT_TRUE(Z.IsZero()); in TEST() 375 ASSERT_TRUE(Z.IsZero()); in TEST()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Instruction/ARM64/ |
| H A D | EmulateInstructionARM64.cpp | 77 static inline bool IsZero(uint64_t x) { return x == 0; } in IsZero() function 572 proc_state.Z = IsZero(result); in AddWithCarry() 1116 if IsZero(operand1) == iszero then in EmulateCBZ()
|