| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | bounds_analysis_test.cpp | 159 ASSERT_EQ(BoundsRange::AddWithOverflowCheck(INT64_MIN, INT64_MIN), std::nullopt); in TEST_F() 160 ASSERT_EQ(BoundsRange::AddWithOverflowCheck(INT64_MIN, -1L), std::nullopt); in TEST_F() 161 ASSERT_EQ(BoundsRange::AddWithOverflowCheck(-1L, INT64_MIN), std::nullopt); in TEST_F() 165 ASSERT_EQ(BoundsRange::MulWithOverflowCheck(0U, INT64_MIN), 0U); in TEST_F() 166 ASSERT_EQ(BoundsRange::MulWithOverflowCheck(INT64_MIN, 0U), 0U); in TEST_F() 170 ASSERT_EQ(BoundsRange::MulWithOverflowCheck(INT64_MIN, INT64_MIN), std::nullopt); in TEST_F() 171 ASSERT_EQ(BoundsRange::MulWithOverflowCheck(INT64_MIN, -2L), std::nullopt); in TEST_F() 172 ASSERT_EQ(BoundsRange::MulWithOverflowCheck(INT64_MAX, INT64_MIN), std::nullopt); in TEST_F() 174 ASSERT_EQ(BoundsRange::MulWithOverflowCheck(INT64_MIN, INT64_MAX), std::nullopt); in TEST_F() 175 ASSERT_EQ(BoundsRange::MulWithOverflowCheck(INT64_MIN, 2U), std::nullopt); in TEST_F() [all …]
|
| D | const_folding_test.cpp | 3269 CastTest(-FLT_MAX, INT64_MIN, DataType::INT64); in TEST_F() 3279 CastTest(-DBL_MAX, INT64_MIN, DataType::INT64); in TEST_F() 3291 CmpTest(INT64_MIN, INT64_MAX, -1L, DataType::INT64); in TEST_F() 3292 CmpTest(INT64_MAX, INT64_MIN, 1U, DataType::INT64); in TEST_F()
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | math_helpers_test.cpp | 47 … // NB! (-num) for unsigned num is well-defined for all num values (unlike for signed -(INT64_MIN)) in TEST() 78 // NB! AbsOrMin(INT64_MIN) gives INT64_MIN (negative value) in TEST()
|
| /arkcompiler/runtime_core/taihe/test/ani_primitives/author/src/ |
| D | primitives_test.impl.cpp | 387 if (option2 > INT64_MAX || option2 < INT64_MIN) { in TestBaseIntegerFunc9() 535 if (result > INT64_MAX || result < INT64_MIN) { in TestBaseIntegerFunc26() 560 if (result > INT64_MAX || result < INT64_MIN) { in TestBaseIntegerFunc29()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/ |
| D | bounds_analysis.h | 166 static constexpr int64_t MIN_RANGE_VALUE = INT64_MIN;
|
| D | bounds_analysis.cpp | 371 return INT64_MIN; in GetMin()
|
| /arkcompiler/runtime_core/taihe/test/ani_namespace/author/src/ |
| D | ns_alltest.functiontest.impl.cpp | 84 if (result > INT64_MAX || result < INT64_MIN) { in BaseFunctionTest47() 830 if (result > INT64_MAX || result < INT64_MIN) { in BaseFunctionTest19() 908 if (result > INT64_MAX || result < INT64_MIN) { in BaseFunctionTest27()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
| D | const_folding.cpp | 303 if (value == INT64_MIN) { in ConstFoldingAbs() 484 if (static_cast<int64_t>(cnst0->GetIntValue()) == INT64_MIN && in ConstFoldingDivInt2Int() 486 return graph->FindOrCreateConstant<uint64_t>(INT64_MIN); in ConstFoldingDivInt2Int() 636 if (static_cast<int64_t>(cnst0->GetIntValue()) == INT64_MIN && in ConstFoldingModIntConst()
|
| /arkcompiler/runtime_core/static_core/isa/ |
| D | isa.yaml | 1287 if acc == INT64_MIN and vs == -1 then 1288 acc = INT64_MIN 1302 if acc == INT64_MIN and vs == -1 then 1367 if acc == INT64_MIN and vs == -1 then 1368 vd = INT64_MIN 1382 if acc == INT64_MIN and vs == -1 then
|
| /arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
| D | instruction_combine_test.cpp | 268 auto const_min = builder.Int64(INT64_MIN); // Minimum int64_t value in HWTEST_F_L0() 271 // Due to overflow, -k should wrap around to INT64_MIN. in HWTEST_F_L0() 275 …EXPECT_EQ(m.Right().ResolvedValue(), INT64_MIN); // Here, we expect that -k has wrapped around to … in HWTEST_F_L0()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/amd64/ |
| D | encode.cpp | 930 EncodeCastFloatCheckRange(dst, src, end, INT64_MIN, INT64_MAX); in EncodeCastFloatSignCheckRange() 1083 // infinite and big numbers will overflow here to INT64_MIN in EncodeFastPathDynamicCast() 1085 // check INT64_MIN in EncodeFastPathDynamicCast() 1101 …// infinite and big numbers will overflow here to INT64_MIN. If src is NaN, cvttsd2si itself retur… in EncodeJsDoubleToCharCast() 1108 // check INT64_MIN in EncodeJsDoubleToCharCast()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch64/ |
| D | encode.cpp | 1689 // infinite and big numbers will overflow here to INT64_MIN or INT64_MAX, but NaN casts to 0 in EncodeFastPathDynamicCast() 1691 // check INT64_MIN in EncodeFastPathDynamicCast() 1722 // infinite and big numbers will overflow here to INT64_MIN or INT64_MAX, but NaN casts to 0 in EncodeJsDoubleToCharCast() 1724 // check INT64_MIN in EncodeJsDoubleToCharCast() 3088 if (imm == INT64_MIN) { in CanEncodeImmAddSubCmp()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/ |
| D | constantfold.cpp | 141 pair.second->GetSXTValue() == INT64_MIN) { in PairToExpr() 1237 return INT64_MIN; in GetIntPrimTypeMin()
|
| /arkcompiler/ets_runtime/ecmascript/napi/test/ |
| D | jsnapi_first_tests.cpp | 2201 TestNumberRef(INT64_MIN, ConvertDouble(static_cast<double>(INT64_MIN))); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| D | js_api_buffer.cpp | 1408 int64_t left = INT64_MIN; in WriteBigInt64()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch32/ |
| D | encode.cpp | 3157 if (imm == INT64_MIN) { in CanEncodeImmAddSubCmp()
|
| /arkcompiler/jsvm/src/ |
| D | js_native_api_v8.cpp | 3190 // v8::Value::IntegerValue() converts NaN, +Inf, and -Inf to INT64_MIN, in OH_JSVM_GetValueInt64()
|
| /arkcompiler/runtime_core/static_core/libllvmbackend/lowering/ |
| D | llvm_ir_constructor.cpp | 1105 // infinite and big numbers will overflow here to INT64_MIN or INT64_MAX, but NaN casts to 0 in EmitJsCastDoubleToChar()
|
| /arkcompiler/runtime_core/static_core/patches/zydis/ |
| D | 0001-Simplify-Zydis-build.patch | 3922 + // this expression. This is also hit INT64_MIN is defined in `stdint.h`. 7044 +# define ZYAN_INT64_MIN INT64_MIN
|