Home
last modified time | relevance | path

Searched refs:IsZero (Results 1 - 25 of 27) sorted by relevance

12

/arkcompiler/runtime_core/compiler/tests/
H A Dencoder_operands.cpp170 // Check IsZero in TEST()
206 ASSERT_TRUE(imm_u8_min.IsZero()); in TEST()
207 ASSERT_TRUE(imm_u8_z.IsZero()); in TEST()
208 ASSERT_FALSE(imm_u8_max.IsZero()); in TEST()
221 ASSERT_TRUE(imm_u16_min.IsZero()); in TEST()
222 ASSERT_TRUE(imm_u16_z.IsZero()); in TEST()
223 ASSERT_FALSE(imm_u16_max.IsZero()); in TEST()
236 ASSERT_TRUE(imm_u32_min.IsZero()); in TEST()
237 ASSERT_TRUE(imm_u32_z.IsZero()); in TEST()
238 ASSERT_FALSE(imm_u32_max.IsZero()); in TEST()
[all...]
/arkcompiler/ets_runtime/ecmascript/js_api/
H A Djs_api_bitvector.cpp34 if (!value->IsZero()) { in Push()
127 if ((value->IsZero() && (*elements)[elementId].test(bitId) == 0) || in Has()
128 (!value->IsZero() && (*elements)[elementId].test(bitId) != 0)) { in Has()
147 if ((value.IsZero() && (*elements)[elementId].test(bitId) == 0) || in Has()
148 (!value.IsZero() && (*elements)[elementId].test(bitId) != 0)) { in Has()
237 if (value->IsZero()) { in SetAllBits()
278 if ((value->IsZero() && (*elements)[elementId].test(bitId) == 0) || in GetBitCountByRange()
279 (!value->IsZero() && (*elements)[elementId].test(bitId) != 0)) { in GetBitCountByRange()
314 if ((value->IsZero() && (*elements)[elementId].test(bitId) == 0) || in GetIndexOf()
315 (!value->IsZero() in GetIndexOf()
[all...]
H A Djs_api_bitvector.h105 if (value.IsZero()) { in SetBit()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
H A Dmir_const.h64 virtual bool IsZero() const in IsZero() function in maple::MIRConst
156 bool IsZero() const override
414 bool IsZero() const override
496 bool IsZero() const override
/arkcompiler/ets_runtime/ecmascript/
H A Djs_bigint.cpp368 ASSERT(!bigint->IsZero()); in BitwiseSubOne()
872 if (x->IsZero() || y->IsZero()) { in SignedRightShift()
980 if (x->IsZero()) { in LeftShiftHelper()
1033 if (x->IsZero()) { in UnaryMinus()
1063 if (exponent->IsZero()) { in Exponentiate()
1066 if (base->IsZero()) { in Exponentiate()
1137 if (x->IsZero()) { in Multiply()
1140 if (y->IsZero()) { in Multiply()
1457 if (y->IsZero()) { in Divide()
[all...]
H A Dtagged_array.cpp54 if (value.IsZero()) { in SetBit()
H A Djs_bigint.h143 inline bool IsZero() in IsZero() function in panda::ecmascript::BigInt
H A Djs_tagged_value.h404 bool IsZero() const;
H A Djs_tagged_value.cpp68 return !bigint->IsZero(); in ToBoolean()
406 bool JSTaggedValue::IsZero() const in IsZero() function in panda::ecmascript::JSTaggedValue
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
H A Daarch64_insn.cpp156 if (!offset->IsZero()) { in Visit()
163 if (!offset->IsZero()) { in Visit()
169 if (!offset->IsZero() || static_cast<OfstOperand *>(offset)->IsSymAndImmOffset() || in Visit()
233 if (!offset->IsZero()) { in Visit()
H A Daarch64_cg.cpp120 if (immOpnd.IsZero()) { in IsEffectiveCopy()
H A Daarch64_peep.cpp1547 bool inverse = imm1->IsOne() && (imm2->IsZero() || IsZeroRegister(*imm2)); in Run()
1548 if (inverse || ((imm1->IsZero() || IsZeroRegister(*imm1)) && imm2->IsOne())) { in Run()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_promise_handler.cpp198 if (remainCnt->GetValue().IsZero()) { in ResolveElementFunction()
428 if (remainCnt->GetValue().IsZero()) { in AllSettledResolveElementFunction()
493 if (remainCnt->GetValue().IsZero()) { in AllSettledRejectElementFunction()
544 if (remainCnt->GetValue().IsZero()) { in AnyRejectElementFunction()
H A Dbuiltins_promise.cpp479 if (remainCnt->GetValue().IsZero()) { in PerformPromiseAll()
741 if (remainCnt->GetValue().IsZero()) { in PerformPromiseAny()
926 if (remainCnt->GetValue().IsZero()) { in PerformPromiseAllSettled()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_bigint_test.cpp386 ASSERT_TRUE(JSHandle<BigInt>::Cast(bigint)->IsZero()); in HWTEST_F_L0()
494 ASSERT_TRUE(JSHandle<BigInt>::Cast(bigint)->IsZero()); in HWTEST_F_L0()
499 ASSERT_TRUE(JSHandle<BigInt>::Cast(bigint)->IsZero()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Dcgfunc.cpp307 if ((constValNode->GetConstVal()->IsZero() && (OP_brfalse == condOp)) || in HandleCondbr()
308 (!constValNode->GetConstVal()->IsZero() && (OP_brtrue == condOp))) { in HandleCondbr()
352 if (constVal->IsZero()) { in HandleCondbr()
356 if (!skip && mirConst->IsZero()) { in HandleCondbr()
/arkcompiler/ets_runtime/ecmascript/base/
H A Ddtoa_helper.h120 bool IsZero() const in IsZero() function in panda::ecmascript::base::UInt128
H A Ddtoa_helper.cpp329 if (fractionals128.IsZero()) break; in FillFractionals()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dgate_matchers.h254 bool IsZero() const in IsZero() function
/arkcompiler/runtime_core/static_core/irtoc/backend/
H A Dcompilation.cpp115 if (!reg.IsZero()) {
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
H A Dconstantfold.cpp1731 if (constNode->GetConstVal()->GetKind() == kConstInt && constNode->GetConstVal()->IsZero()) { in SimplifyDoubleConstvalCompare()
1738 if (constNode->GetConstVal()->GetKind() == kConstInt && constNode->GetConstVal()->IsZero()) { in SimplifyDoubleConstvalCompare()
1766 if (constNode->GetConstVal()->GetKind() == kConstInt && constNode->GetConstVal()->IsZero()) { in SimplifyDoubleCompare()
1782 if (constNode->GetConstVal()->GetKind() == kConstInt && constNode->GetConstVal()->IsZero() && in SimplifyDoubleCompare()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Doperand.h545 DEBUG_ASSERT(!IsZero(), " 0 is reserved for bitmask immediate"); in IsBitmaskImmediate()
552 DEBUG_ASSERT(!IsZero(), " 0 is reserved for bitmask immediate"); in IsBitmaskImmediate()
585 bool IsZero() const in IsZero() function in maplebe::ImmOperand
/arkcompiler/ets_runtime/ecmascript/containers/
H A Dcontainers_bitvector.cpp51 if (!length->IsZero()) { in BitVectorConstructor()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/
H A Dlower.cpp673 return ((n.GetOpCode() == OP_constval) && static_cast<const ConstvalNode &>(n).GetConstVal()->IsZero()); in IsConstvalZero()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_bigint_test.cpp576 EXPECT_TRUE(bigint1->IsZero()); in HWTEST_F_L0()

Completed in 37 milliseconds

12