Home
last modified time | relevance | path

Searched refs:IsZero (Results 1 – 25 of 51) sorted by relevance

123

/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dreal.cpp148 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 Dint-power.h26 } else if (power.IsZero()) {
27 if (base.IsZero() || base.IsInfinite()) {
/llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp866 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 Dreal.h72 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 Dcomplex.h48 constexpr bool IsZero() const { return re_.IsZero() || im_.IsZero(); } in IsZero() function
H A Dinteger.h265 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 Drounding-bits.h36 sticky_ = !fraction.IsZero(); in RoundingBits()
39 sticky_ = !fraction.IAND(mask).IsZero(); in RoundingBits()
H A Dlogical.h74 return !word_.IsZero(); in IsTrue()
/llvm-project-15.0.7/flang/unittests/Evaluate/
H A Dreal.cpp58 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 Dinteger.cpp21 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 Dedit-output.h85 bool IsZero() const { return x_.IsZero(); } in IsZero() function
H A Dedit-output.cpp280 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 DInstruction.h351 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 Dbinary-to-decimal.cpp22 if (x.IsZero()) {
92 if (IsZero()) { in ConvertToDecimal()
297 if ((flags & Minimize) && !x.IsZero()) { in ConvertToDecimal()
H A Dbig-radix-floating-point.h125 bool IsZero() const { in IsZero() function
/llvm-project-15.0.7/third-party/benchmark/src/
H A Dbenchmark_api_internal.h77 bool IsZero(double n);
H A Dbenchmark_api_internal.cc49 if (!IsZero(benchmark->min_time_)) { in BenchmarkInstance()
H A Dbenchmark_runner.cc149 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 Dtsan_update_shadow_word.inc19 if (LIKELY(old.IsZero())) {
H A Dtsan_shadow.h134 bool IsZero() const { return x_ == 0; } in IsZero() function
/llvm-project-15.0.7/flang/include/flang/Decimal/
H A Dbinary-floating-point.h78 constexpr bool IsZero() const { in IsZero() function
/llvm-project-15.0.7/lldb/source/Utility/
H A DScalar.cpp143 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 DFormattersHelpers.h100 bool IsZero() const { in IsZero() function
/llvm-project-15.0.7/lldb/unittests/Utility/
H A DScalarTest.cpp373 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 DEmulateInstructionARM64.cpp77 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()

123