Home
last modified time | relevance | path

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

12

/arkcompiler/ets_runtime/ecmascript/compiler/tests/
H A Dinstruction_combine_test.cpp165 auto zero = builder.Int32(0); in HWTEST_F_L0() local
166 auto result = instcombie.VisitGate(builder.Int32Add(builder.Int32Sub(zero, x), y)); in HWTEST_F_L0()
176 auto zero = builder.Int32(0); in HWTEST_F_L0() local
177 auto result = instcombie.VisitGate(builder.Int32Add(y, builder.Int32Sub(zero, x))); in HWTEST_F_L0()
725 auto zero = b.Double(0); in HWTEST_F_L0() local
735 EXPECT_EQ(instcombie.VisitGate(b.DoubleMod(x, zero)), nan); in HWTEST_F_L0()
807 auto zero = b.Int32(0); in HWTEST_F_L0() local
818 EXPECT_EQ(instcombie.VisitGate(b.Int32Mod(x, zero)), zero); in HWTEST_F_L0()
819 EXPECT_EQ(instcombie.VisitGate(b.Int32Mod(zero, in HWTEST_F_L0()
987 auto zero = b.Int64(0); HWTEST_F_L0() local
1008 auto zero = b.Int32(0); HWTEST_F_L0() local
1042 auto zero = b.Int64(0); HWTEST_F_L0() local
1063 auto zero = b.Int32(0); HWTEST_F_L0() local
1096 auto zero = b.Int64(0); HWTEST_F_L0() local
1110 auto zero = b.Int32(0); HWTEST_F_L0() local
1138 auto zero = b.Int64(0); HWTEST_F_L0() local
1149 auto zero = b.Int32(0); HWTEST_F_L0() local
1175 auto zero = b.Int64(0); HWTEST_F_L0() local
1186 auto zero = b.Int32(0); HWTEST_F_L0() local
1211 auto zero = b.Int64(0); HWTEST_F_L0() local
1220 auto zero = b.Int32(0); HWTEST_F_L0() local
1264 auto zero = b.Int64(0); HWTEST_F_L0() local
[all...]
/arkcompiler/ets_runtime/test/moduletest/multiargs/
H A Dmultiargs.js22 function zero()
57 zero()
/arkcompiler/ets_runtime/test/moduletest/regress/
H A Dregress.js79 var zero = BigInt("-0 "); variable
80 print(++zero == 1n);
81 zero = BigInt("-0");
82 print(++zero == 1n);
83 zero = -0n;
84 print(++zero == 1n);
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_regexp_iterator_test.cpp52 JSHandle<JSTaggedValue> zero(factory->NewFromASCII("0")); in HWTEST_F_L0()
84 JSHandle<JSTaggedValue> zeroHandle(JSObject::GetProperty(thread, matchResult, zero).GetValue()); in HWTEST_F_L0()
H A Djs_bigint_test.cpp52 JSHandle<BigInt> zero = BigInt::Uint32ToBigInt(thread, 0); in HWTEST_F_L0() local
53 EXPECT_EQ(BigInt::Compare(zero.GetTaggedValue(), bigint1.GetTaggedValue()), ComparisonResult::LESS); in HWTEST_F_L0()
54 EXPECT_EQ(BigInt::Compare(bigint1.GetTaggedValue(), zero.GetTaggedValue()), ComparisonResult::GREAT); in HWTEST_F_L0()
55 EXPECT_EQ(BigInt::Compare(zero.GetTaggedValue(), zero.GetTaggedValue()), ComparisonResult::EQUAL); in HWTEST_F_L0()
56 EXPECT_EQ(BigInt::Compare(zero.GetTaggedValue(), bigint3.GetTaggedValue()), ComparisonResult::GREAT); in HWTEST_F_L0()
57 EXPECT_EQ(BigInt::Compare(bigint3.GetTaggedValue(), zero.GetTaggedValue()), ComparisonResult::LESS); in HWTEST_F_L0()
340 JSHandle<BigInt> zero = BigInt::Int32ToBigInt(thread, 0); in HWTEST_F_L0() local
341 JSHandle<BigInt> minusRes5 = BigInt::UnaryMinus(thread, zero); in HWTEST_F_L0()
343 EXPECT_TRUE(BigInt::Equal(zero in HWTEST_F_L0()
369 JSHandle<BigInt> zero = BigInt::Int32ToBigInt(thread, 0); HWTEST_F_L0() local
[all...]
/arkcompiler/runtime_core/isa/
H A Dasserts.rb71 assert('There should be non-zero gap between non-prefixed and prefixes') do
75 assert('There should be non-zero gap between public and private prefixes') do
88 end.reduce(:+).zero?
96 end.reduce(:+).zero?
/arkcompiler/runtime_core/static_core/isa/
H A Dasserts.rb71 assert('There should be non-zero gap between non-prefixed and prefixes') do
75 assert('There should be non-zero gap between public and private prefixes') do
88 end.reduce(:+).zero?
96 end.reduce(:+).zero?
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/lib/
H A Dspec.rb170 if result.length.zero?
189 if tdata.class != Array || tdata.length.zero?
221 if assertions.zero?
H A Dsummary.rb54 'coverage_metric' => @testable.zero? ? 0 : (@covered.to_f / @testable).round(2)
/arkcompiler/runtime_core/tests/cts-coverage-tool/lib/
H A Dspec.rb170 if result.length.zero?
189 if tdata.class != Array || tdata.length.zero?
221 if assertions.zero?
H A Dsummary.rb54 'coverage_metric' => @testable.zero? ? 0 : (@covered.to_f / @testable).round(2)
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_regexp_test.cpp241 JSHandle<JSTaggedValue> zero(thread->GetEcmaVM()->GetFactory()->NewFromASCII("0")); in ExecCommon()
242 JSHandle<JSTaggedValue> zeroHandle(JSObject::GetProperty(thread, execResult, zero).GetValue()); in ExecCommon()
374 JSHandle<JSTaggedValue> zero(thread->GetEcmaVM()->GetFactory()->NewFromASCII("0")); in HWTEST_F_L0()
377 JSHandle<JSTaggedValue> zeroHandle(JSObject::GetProperty(thread, matchResult, zero).GetValue()); in HWTEST_F_L0()
443 JSHandle<JSTaggedValue> zero(thread->GetEcmaVM()->GetFactory()->NewFromASCII("0")); in HWTEST_F_L0()
444 JSHandle<JSTaggedValue> zeroHandle(JSObject::GetProperty(thread, splitResult, zero).GetValue()); in HWTEST_F_L0()
474 JSHandle<JSTaggedValue> zero(thread->GetEcmaVM()->GetFactory()->NewFromASCII("0")); in HWTEST_F_L0()
475 JSHandle<JSTaggedValue> zeroHandle(JSObject::GetProperty(thread, splitResult, zero).GetValue()); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/
H A Dark_gvn.cpp74 auto zero = builder.getInt64(0); in CreateCallBuiltin() local
76 auto offset = builder.CreateIntToPtr(zero, arrayType->getPointerTo()); in CreateCallBuiltin()
/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/
H A Dsingle_test_runner.rb224 return if status.zero?
236 return if status.zero?
/arkcompiler/runtime_core/tests/cts-generator/runner/
H A Dsingle_test_runner.rb231 return if status.zero?
243 return if status.zero?
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/bin/
H A Dspectrac.rb29 raise OptionParser::InvalidOption, 'No ISA spec files found' if arr.length.zero?
/arkcompiler/runtime_core/tests/cts-coverage-tool/bin/
H A Dspectrac.rb29 raise OptionParser::InvalidOption, 'No ISA spec files found' if arr.length.zero?
/arkcompiler/ets_runtime/ecmascript/
H A Djs_typed_array.cpp108 JSHandle<JSTaggedValue> zero(thread, JSTaggedValue(0)); in HasProperty()
113 if (JSTaggedValue::Less(thread, numericIndexHandle, zero)) { in HasProperty()
172 JSHandle<JSTaggedValue> zero(thread, JSTaggedValue(0)); in DefineOwnProperty()
176 if (JSTaggedValue::Less(thread, numericIndexHandle, zero)) { in DefineOwnProperty()
416 JSHandle<JSTaggedValue> zero(thread, JSTaggedValue(0)); in IntegerIndexedElementGet()
422 if (JSTaggedValue::Less(thread, indexHandle, zero) || !JSTaggedValue::Less(thread, indexHandle, arrLenHandle)) { in IntegerIndexedElementGet()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dtyped_native_inline_lowering.cpp740 const double zero = 0.0; in BuildRounding() local
745 DEFVALUE(result, (&builder_), VariableType::FLOAT64(), builder_.Double(zero)); in BuildRounding()
748 builder_.DoubleGreaterThan(value, builder_.Double(zero))); in BuildRounding()
873 * in1 if double1 and double2 are equal and in1 is negative zero
2255 GateRef zero = builder_.Int32(0); in LowerStringSubstring() local
2256 GateRef finalStart = BuildIntMinMax<false>(BuildIntMinMax<true>(*start, zero), length); in LowerStringSubstring()
2257 GateRef finalEnd = BuildIntMinMax<false>(BuildIntMinMax<true>(*end, zero), length); in LowerStringSubstring()
2345 GateRef zero = builder_.Int32(0); in LowerStringSubStr() local
2346 BRANCH_CIR(builder_.Int32LessThan(*start, zero), &startLessZero, &countResultLength); in LowerStringSubStr()
2350 start = BuildIntMinMax<true>(builder_.Int32Add(length, tempStart), zero); in LowerStringSubStr()
2448 GateRef zero = builder_.Int32(0); LowerStringSlice() local
[all...]
H A Dstub_builder-inl.h844 Label zero(env_); in DoubleTrunc()
846 BRANCH(Int64LessThan(exp, Int64(0)), &zero, &nonZero); in DoubleTrunc() local
847 Bind(&zero); in DoubleTrunc()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/
H A Dlower.cpp714 auto *zero = GlobalTables::GetIntConstTable().GetOrCreateIntConst(0, *fromMIRType); in LowerExpr() local
716 mirBuilder->CreateConstval(zero)); in LowerExpr()
/arkcompiler/ets_frontend/ets2panda/public/
H A Des2panda_lib.rb173 accessor = (@es2panda_arg['type']['ptr_depth'] || 0).zero? ? '.' : '->'
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch64/
H A Dencode.cpp368 // True only when zero in EncodeJump()
377 // True only when non-zero in EncodeJump()
931 // round to nearest integer, ties away from zero in EncodeRoundToPInf()
933 // for positive values, zero and NaN inputs rounding is done in EncodeRoundToPInf()
1317 // Select result - if zero set - tmp2, else tmp1 in EncodeCastFloatWithSmallDst()
1641 // Denominator is zero-reg in EncodeDiv()
1648 // But src1 still may be zero in EncodeDiv()
1673 // Denominator is zero-reg in EncodeMod()
1684 // But src1 still may be zero in EncodeMod()
2034 // Try move zero re in EncodeLdr()
2510 auto zero = VixlReg(GetRegfile()->GetZeroReg(), WORD_SIZE); EncodeMemCopyz() local
[all...]
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/amd64/
H A Dencode.cpp1729 // calculate result for positive/negative zero operands in EncodeMinMaxFp()
1752 // calculate result for positive/negative zero operands in EncodeMinMaxFp()
2465 auto zero = CreateLabel(); in EncodeCountLeadingZeroBits() local
2466 EncodeJump(zero, src, Condition::EQ); in EncodeCountLeadingZeroBits()
2471 BindLabel(zero); in EncodeCountLeadingZeroBits()
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/
H A Dllvm_ir_constructor.cpp515 << "and SlowPath with zero arguments: " << name << std::endl); in CheckSlowPathName()
1614 // else return zero extend of (x > y) in CreateFloatComparison()
1697 auto zero = builder_.getInt64(0); in CreateResolveVirtualCallBuiltin() local
1699 auto offset = builder_.CreateIntToPtr(zero, arrayType->getPointerTo()); in CreateResolveVirtualCallBuiltin()
1829 auto zero = is64 ? builder_.getInt64(0) : builder_.getInt32(0); in CreateRoundArm64() local
1839 // Check if rounded value less than zero (if not negative rounding is done) in CreateRoundArm64()
1842 auto lessThan = builder_.CreateICmpSLT(round, zero); in CreateRoundArm64()
2690 * * {@code value} is zero extended if the {@code sourceType} is unsigned integer
4829 // Scenario of code generation for FastPath having zero arguments and return value is not tested in LLVMIrConstructor()

Completed in 49 milliseconds

12