Home
last modified time | relevance | path

Searched full:int32_min (Results 1 – 25 of 41) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/
Dnumber_gate_info.h111 static const inline std::vector<int32_t> rangeBounds_ = {INT32_MIN, INT32_MIN + 1,
118 return RangeInfo(INT32_MAX, INT32_MIN); in NONE()
123 return RangeInfo(INT32_MIN, INT32_MAX); in ANY()
158 return (rhs.min_ < 0) && (min_ < INT32_MIN - rhs.min_); in MaybeAddUnderflow()
170 int32_t nmin = MaybeAddUnderflow(rhs) ? INT32_MIN : min_ + rhs.min_;
223 return INT32_MIN; in TryMul()
245 …return (lhs > 0 && rhs < 0 && rhs < INT32_MIN / lhs) || (lhs < 0 && rhs > 0 && lhs < INT32_MIN / r… in MaybeMulUnderflow()
260 return (rhs.max_ > 0) && (min_ < INT32_MIN + rhs.max_); in MaybeSubUnderflow()
272 int32_t nmin = MaybeSubUnderflow(rhs) ? INT32_MIN : min_ - rhs.max_;
322 return (min_ == INT32_MAX) && (max_ == INT32_MIN); in IsNone()
[all …]
Dlcr_circuit_builder.cpp324 GateRef Min = Double(INT32_MIN); in DoubleCheckINFInRangeInt32()
358 GateRef Min = Double(INT32_MIN); in DoubleInRangeInt32()
393 GateRef limitMin = Double(INT32_MIN); in DoubleIsWithinInt32()
Drange_analysis.cpp297 return RangeInfo(INT32_MIN, range.GetMax() - 1); in GetRangeOfCompare()
299 return RangeInfo(INT32_MIN, range.GetMax()); in GetRangeOfCompare()
Doperations_stub_builder.cpp1314 BRANCH(Int32Equal(valueInt, Int32(INT32_MIN)), &valueNotInt, &valueNoOverflow); in Dec()
1385 BRANCH(Int32Equal(valueInt, Int32(INT32_MIN)), &valueIsInt32Min, &valueNotInt32Min); in Neg()
1389 result = DoubleToTaggedDoublePtr(Double(-static_cast<double>(INT32_MIN))); in Neg()
/arkcompiler/ets_runtime/ecmascript/
Djs_tagged_number.h99 if (res > INT32_MAX || res < INT32_MIN) {
113 if (res > INT32_MAX || res < INT32_MIN) {
145 if (value == INT32_MIN) {
Djs_tagged_value_internals.h57 static constexpr JSTaggedType TAG_INT32_DEC_MIN = INT32_MIN - 1ULL;
/arkcompiler/runtime_core/bytecode_optimizer/
Dbytecode_encoder.h52 return CanEncodeImmHelper(imm, size, INT32_MIN, INT32_MAX); in CanEncodeImmLogical()
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
Dbytecode_encoder.h52 return CanEncodeImmHelper(imm, size, INT32_MIN, INT32_MAX); in CanEncodeImmLogical()
/arkcompiler/runtime_core/taihe/test/ani_namespace/author/src/
Dns_alltest.functiontest.impl.cpp72 if (result > INT32_MAX || result < INT32_MIN) { in BaseFunctionTest46()
148 if (result > INT32_MAX || result < INT32_MIN) { in BaseFunctionTest54()
531 return {"testStruct", false, INT32_MIN}; in getStruct_test()
598 if (result > INT32_MAX || result < INT32_MIN) { in getOptional_test_attribute()
649 return INT32_MIN; in BaseTest()
667 return INT32_MIN; in BaseTest()
818 if (result > INT32_MAX || result < INT32_MIN) { in BaseFunctionTest18()
1068 if (result > INT32_MAX || result < INT32_MIN) { in BaseFunctionTest42_int()
1081 return INT32_MIN; in BaseFunctionTest42_container()
/arkcompiler/runtime_core/static_core/isa/
Disa.yaml1281 if acc == INT32_MIN and vs == -1 then
1282 acc = INT32_MIN
1296 if acc == INT32_MIN and vs == -1 then
1361 if acc == INT32_MIN and vs == -1 then
1362 vd = INT32_MIN
1376 if acc == INT32_MIN and vs == -1 then
1560 if acc == INT32_MIN and imm == -1 then
1561 acc = INT32_MIN
1566 if acc == INT32_MIN and imm == -1 then
1596 if v1 == INT32_MIN and imm == -1 then
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/
DJsonStringifyTest.ets32 const INT32_MIN: number = Int.MIN_VALUE;
76 let value: Int32Array = Int32Array.of(INT32_MIN,INT32_MAX);
82 let array = [UINT32_MIN,UINT32_MAX,INT32_MIN,INT32_MAX];
/arkcompiler/ets_runtime/ecmascript/stackmap/litecg/
Dlitecg_stackmap_type.cpp87 } else if (value > INT32_MAX || value < INT32_MIN) { // large imm in ConvertToLLVMPv2Deopt()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/
Dremote_object.h69 if (INT32_MIN <= number && number <= INT32_MAX) {
/arkcompiler/toolchain/tooling/static/types/
Dremote_object.h69 if (INT32_MIN <= number && number <= INT32_MAX) {
/arkcompiler/runtime_core/static_core/runtime/include/coretypes/
Dtagged_value.h134 ASSERT(INT32_MIN <= static_cast<int32_t>(bit_cast<int64_t>(v))); in GetIntTaggedValue()
409 if ((u64 & DOUBLE_SIGN_MASK) == DOUBLE_SIGN_MASK && ret != INT32_MIN) { in JsCastDoubleToInt()
/arkcompiler/runtime_core/taihe/test/ani_primitives/author/src/
Dprimitives_test.impl.cpp494 if (result > INT32_MAX || result < INT32_MIN) { in TestBaseIntegerFunc22()
503 if (option1 > INT32_MAX || option1 < INT32_MIN) { in TestBaseIntegerFunc23()
513 if (result > INT32_MAX || result < INT32_MIN) { in TestBaseIntegerFunc24()
524 if (result > INT32_MAX || result < INT32_MIN) { in TestBaseIntegerFunc25()
/arkcompiler/ets_frontend/ets2panda/lexer/token/
Dnumber.h153 if (num == INT32_MIN) {
/arkcompiler/runtime_core/libpandafile/
Dbytecode_emitter.cpp252 if (static_cast<int64_t>(target_pc) < static_cast<int64_t>(insn_pc) + INT32_MIN || in EstimateMaxDistance()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/src/
Dcl_option_parser.cpp209 if (i32Type && (dig > INT32_MAX || dig < INT32_MIN)) { in ParseDigit()
/arkcompiler/runtime_core/static_core/compiler/tests/
Dbounds_analysis_test.cpp465 EXPECT_EQ(range.GetLeft(), INT32_MIN); in TEST_F()
648 ASSERT_EQ(range, BoundsRange(INT32_MIN / 4L, INT32_MAX / 4L)); in TEST_F()
785 ASSERT_EQ(bri->FindBoundsRange(&BB(2U), &INS(10U)), BoundsRange(INT32_MIN, INT32_MAX)); in TEST_F()
786 ASSERT_EQ(bri->FindBoundsRange(&BB(2U), &INS(14U)), BoundsRange(INT32_MIN, INT32_MAX)); in TEST_F()
Dchecks_elimination_test.cpp1186 ArithmeticTest<AppliedType::NOT_APPLIED>(INT32_MIN, INT32_MAX, Opcode::Add, -1L); in TEST_F()
1188 ArithmeticTest<AppliedType::NOT_APPLIED>(-1L, INT32_MAX, Opcode::Add, INT32_MIN); in TEST_F()
1196 ArithmeticTest<AppliedType::NOT_APPLIED>(INT32_MIN, INT32_MAX, Opcode::Sub, 1U); in TEST_F()
1198 ArithmeticTest<AppliedType::NOT_APPLIED>(1U, INT32_MAX, Opcode::Sub, INT32_MIN); in TEST_F()
1217 ArithmeticTest<AppliedType::REMOVED>(INT32_MIN, 20U, Opcode::Mul, 0U); in TEST_F()
1218 ArithmeticTest<AppliedType::REMOVED>(0U, 20U, Opcode::Mul, INT32_MIN); in TEST_F()
1221 ArithmeticTest<AppliedType::NOT_APPLIED>(INT32_MIN, 20U, Opcode::Mul, -2L); in TEST_F()
1222 ArithmeticTest<AppliedType::NOT_APPLIED>(-2L, 20U, Opcode::Mul, INT32_MIN); in TEST_F()
1225 ArithmeticTest<AppliedType::NOT_APPLIED>(INT32_MIN, 20U, Opcode::Mul, 2U); in TEST_F()
1226 ArithmeticTest<AppliedType::NOT_APPLIED>(2U, 20U, Opcode::Mul, INT32_MIN); in TEST_F()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dinstruction_combine_test.cpp340 auto const_min = builder.Int32(INT32_MIN); // Minimum int32_t value in HWTEST_F_L0()
343 // Due to overflow, -k should wrap around to INT32_MIN. in HWTEST_F_L0()
347 …EXPECT_EQ(m.Right().ResolvedValue(), INT32_MIN); // Here, we expect that -k has wrapped around to in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dconst_folding.cpp476 if (static_cast<int32_t>(cnst0->GetIntValue()) == INT32_MIN && in ConstFoldingDivInt2Int()
478 return graph->FindOrCreateConstant<uint32_t>(INT32_MIN); in ConstFoldingDivInt2Int()
628 if (static_cast<int32_t>(cnst0->GetIntValue()) == INT32_MIN && in ConstFoldingModIntConst()
/arkcompiler/ets_runtime/ecmascript/stackmap/
Dark_stackmap_parser.cpp42 if (constant > INT32_MAX || constant < INT32_MIN) { in ParseArkDeopt()
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_first_tests.cpp2188 TestNumberRef(INT32_MIN, static_cast<JSTaggedType>(INT32_MIN) | JSTaggedValue::TAG_INT); in HWTEST_F_L0()
2199 …TestNumberRef(static_cast<int64_t>(INT32_MIN), static_cast<JSTaggedType>(INT32_MIN) | JSTaggedValu… in HWTEST_F_L0()

12