| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | number_gate_info.h | 111 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 …]
|
| D | lcr_circuit_builder.cpp | 324 GateRef Min = Double(INT32_MIN); in DoubleCheckINFInRangeInt32() 358 GateRef Min = Double(INT32_MIN); in DoubleInRangeInt32() 393 GateRef limitMin = Double(INT32_MIN); in DoubleIsWithinInt32()
|
| D | range_analysis.cpp | 297 return RangeInfo(INT32_MIN, range.GetMax() - 1); in GetRangeOfCompare() 299 return RangeInfo(INT32_MIN, range.GetMax()); in GetRangeOfCompare()
|
| D | operations_stub_builder.cpp | 1314 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/ |
| D | js_tagged_number.h | 99 if (res > INT32_MAX || res < INT32_MIN) { 113 if (res > INT32_MAX || res < INT32_MIN) { 145 if (value == INT32_MIN) {
|
| D | js_tagged_value_internals.h | 57 static constexpr JSTaggedType TAG_INT32_DEC_MIN = INT32_MIN - 1ULL;
|
| /arkcompiler/runtime_core/bytecode_optimizer/ |
| D | bytecode_encoder.h | 52 return CanEncodeImmHelper(imm, size, INT32_MIN, INT32_MAX); in CanEncodeImmLogical()
|
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
| D | bytecode_encoder.h | 52 return CanEncodeImmHelper(imm, size, INT32_MIN, INT32_MAX); in CanEncodeImmLogical()
|
| /arkcompiler/runtime_core/taihe/test/ani_namespace/author/src/ |
| D | ns_alltest.functiontest.impl.cpp | 72 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/ |
| D | isa.yaml | 1281 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/ |
| D | JsonStringifyTest.ets | 32 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/ |
| D | litecg_stackmap_type.cpp | 87 } else if (value > INT32_MAX || value < INT32_MIN) { // large imm in ConvertToLLVMPv2Deopt()
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/ |
| D | remote_object.h | 69 if (INT32_MIN <= number && number <= INT32_MAX) {
|
| /arkcompiler/toolchain/tooling/static/types/ |
| D | remote_object.h | 69 if (INT32_MIN <= number && number <= INT32_MAX) {
|
| /arkcompiler/runtime_core/static_core/runtime/include/coretypes/ |
| D | tagged_value.h | 134 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/ |
| D | primitives_test.impl.cpp | 494 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/ |
| D | number.h | 153 if (num == INT32_MIN) {
|
| /arkcompiler/runtime_core/libpandafile/ |
| D | bytecode_emitter.cpp | 252 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/ |
| D | cl_option_parser.cpp | 209 if (i32Type && (dig > INT32_MAX || dig < INT32_MIN)) { in ParseDigit()
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | bounds_analysis_test.cpp | 465 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()
|
| D | checks_elimination_test.cpp | 1186 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/ |
| D | instruction_combine_test.cpp | 340 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/ |
| D | const_folding.cpp | 476 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/ |
| D | ark_stackmap_parser.cpp | 42 if (constant > INT32_MAX || constant < INT32_MIN) { in ParseArkDeopt()
|
| /arkcompiler/ets_runtime/ecmascript/napi/test/ |
| D | jsnapi_first_tests.cpp | 2188 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()
|