Home
last modified time | relevance | path

Searched full:int32_min (Results 1 – 25 of 34) 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 …]
Drange_analysis.cpp297 return RangeInfo(INT32_MIN, range.GetMax() - 1); in GetRangeOfCompare()
299 return RangeInfo(INT32_MIN, range.GetMax()); in GetRangeOfCompare()
Dlcr_circuit_builder.cpp273 GateRef Min = Double(INT32_MIN); in DoubleCheckINFInRangeInt32()
307 GateRef Min = Double(INT32_MIN); in DoubleInRangeInt32()
Doperations_stub_builder.cpp1305 BRANCH(Int32Equal(valueInt, Int32(INT32_MIN)), &valueNotInt, &valueNoOverflow); in Dec()
1365 BRANCH(Int32Equal(valueInt, Int32(INT32_MIN)), &valueIsInt32Min, &valueNotInt32Min); in Neg()
1369 result = DoubleToTaggedDoublePtr(Double(-static_cast<double>(INT32_MIN))); in Neg()
Dtyped_native_inline_lowering.cpp694 BRANCH_CIR(builder_.Equal(value, builder_.Int32(INT32_MIN)), &isIntMin, &isResultInt); in BuildTNumberAbs()
818 …builder_.DeoptCheck(builder_.NotEqual(value, builder_.Int32(INT32_MIN)), frameState, DeoptType::NO… in LowerIntAbs()
2141 return builder_.BitOr(builder_.Int32LessThanOrEqual(intValue, builder_.Int32(INT32_MIN)), in BuildTaggedPointerOverflowInt32()
/arkcompiler/ets_runtime/ecmascript/
Djs_tagged_number.h99 if (res > INT32_MAX || res < INT32_MIN) {
113 if (res > INT32_MAX || res < INT32_MIN) {
140 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/static_core/isa/
Disa.yaml1277 if acc == INT32_MIN and vs == -1 then
1278 acc = INT32_MIN
1292 if acc == INT32_MIN and vs == -1 then
1357 if acc == INT32_MIN and vs == -1 then
1358 vd = INT32_MIN
1372 if acc == INT32_MIN and vs == -1 then
1556 if acc == INT32_MIN and imm == -1 then
1557 acc = INT32_MIN
1562 if acc == INT32_MIN and imm == -1 then
1592 if v1 == INT32_MIN and imm == -1 then
[all …]
/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()
408 if ((u64 & DOUBLE_SIGN_MASK) == DOUBLE_SIGN_MASK && ret != INT32_MIN) { in JsCastDoubleToInt()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/
Dremote_object.h69 if (INT32_MIN <= number && number <= INT32_MAX) {
/arkcompiler/ets_frontend/ets2panda/lexer/token/
Dnumber.h157 if (num == INT32_MIN) {
/arkcompiler/runtime_core/libpandafile/
Dbytecode_emitter.cpp255 if (static_cast<int64_t>(target_pc) < static_cast<int64_t>(insn_pc) + INT32_MIN || in EstimateMaxDistance()
/arkcompiler/ets_runtime/ecmascript/stackmap/
Dark_stackmap_parser.cpp245 if (constant > INT32_MAX || constant < INT32_MIN) { in ParseArkDeopt()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/src/
Dcl_option_parser.cpp211 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/base/
Dnumber_helper.cpp704 if (d >= INT32_MIN + 1 && d <= INT32_MAX && d == static_cast<double>(static_cast<int32_t>(d))) { in DoubleToEcmaString()
1139 if ((u64 & DOUBLE_SIGN_MASK) == DOUBLE_SIGN_MASK && ret != INT32_MIN) { in DoubleToInt()
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_first_tests.cpp2095 TestNumberRef(INT32_MIN, static_cast<JSTaggedType>(INT32_MIN) | JSTaggedValue::TAG_INT); in HWTEST_F_L0()
2106 …TestNumberRef(static_cast<int64_t>(INT32_MIN), static_cast<JSTaggedType>(INT32_MIN) | JSTaggedValu… in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dinterpreter-inl.cpp1710 if ((a0 > 0 && a1 > INT32_MAX - a0) || (a0 < 0 && a1 < INT32_MIN - a0)) { in RunInternal()
1741 if ((a0 > 0 && a1 > INT32_MAX - a0) || (a0 < 0 && a1 < INT32_MIN - a0)) { in RunInternal()
4755 } else if (value.GetInt() == INT32_MIN) { in RunInternal()
4756 SET_ACC(JSTaggedValue(-static_cast<double>(INT32_MIN))); in RunInternal()
4893 if (UNLIKELY(a0 == INT32_MIN)) { in RunInternal()
4919 if (UNLIKELY(a0 == INT32_MIN)) { in RunInternal()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_typedarray_stub_builder.cpp2850 GateRef valueLessthanMin = Int32LessThanOrEqual(intValue, Int32(INT32_MIN)); in SetValueToBuffer()
2858 GateRef valueLessthanMin = Int32LessThanOrEqual(intValue, Int32(INT32_MIN)); in SetValueToBuffer()
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
Dbounds_analysis.cpp369 return INT32_MIN; in GetMin()

12