Home
last modified time | relevance | path

Searched refs:TAG_INT (Results 1 – 14 of 14) sorted by relevance

/arkcompiler/runtime_core/arkplatform/tests/
Djsnapi_test.cpp88 TestNumberRef(static_cast<int32_t>(0), JSValueRefInternals::TAG_INT); in TEST_F()
89 TestNumberRef(INT32_MIN, static_cast<JSTaggedType>(INT32_MIN) | JSValueRefInternals::TAG_INT); in TEST_F()
90 TestNumberRef(INT32_MAX, static_cast<JSTaggedType>(INT32_MAX) | JSValueRefInternals::TAG_INT); in TEST_F()
93 TestNumberRef(static_cast<uint32_t>(0), JSValueRefInternals::TAG_INT); in TEST_F()
95 TestNumberRef(u32input, u32input | JSValueRefInternals::TAG_INT); in TEST_F()
102 TestNumberRef(i64input, i64input | JSValueRefInternals::TAG_INT); in TEST_F()
104 TestNumberRef(i64input, i64input | JSValueRefInternals::TAG_INT); in TEST_F()
/arkcompiler/runtime_core/bytecode_optimizer/
Dtagged_value.h65 static constexpr TaggedType TAG_INT = TAG_MASK; variable
67 static constexpr TaggedType OBJECT_MASK = ~TAG_INT;
82 static constexpr TaggedType VALUE_ZERO = TAG_INT | 0x00ULL;
96 constexpr explicit TaggedValue(int v) : value_(static_cast<TaggedType>(v) | TAG_INT) {} in TaggedValue()
150 return bit_cast<TaggedType>(value) >= (TAG_INT - DOUBLE_ENCODE_OFFSET); in IsImpureNaN()
/arkcompiler/runtime_core/static_core/runtime/include/coretypes/
Dtagged_value.h88 static constexpr TaggedType TAG_INT = TAG_MASK; variable
90 static constexpr TaggedType OBJECT_MASK = ~TAG_INT;
105 static constexpr TaggedType VALUE_ZERO = TAG_INT | 0x00ULL;
121 …cit TaggedValue(int v) : value_((static_cast<TaggedType>(panda::helpers::ToUnsigned(v))) | TAG_INT) in TaggedValue()
138 return static_cast<uint32_t>(v) | TAG_INT; in GetIntTaggedValue()
216 return (value_ & TAG_MASK) == TAG_INT; in IsInt()
359 return bit_cast<TaggedType>(value) >= (TAG_INT - DOUBLE_ENCODE_OFFSET); in IsImpureNaN()
375 return static_cast<TaggedType>(v | TAG_INT); in PackPrimitiveData()
380 ASSERT((v & TAG_MASK) == TAG_INT); in UnpackPrimitiveData()
/arkcompiler/ets_runtime/ecmascript/
Djs_tagged_value_internals.h55 static constexpr JSTaggedType TAG_INT = TAG_MARK; variable
80 static constexpr JSTaggedType VALUE_ZERO = TAG_INT | 0x00ULL;
Djs_tagged_value.h89 …_INLINE constexpr explicit JSTaggedValue(int v) : value_(static_cast<JSTaggedType>(v) | TAG_INT) {} in JSTaggedValue()
165 return (value_ & TAG_MARK) == TAG_INT; in IsInt()
267 return base::bit_cast<JSTaggedType>(value) >= (TAG_INT - DOUBLE_ENCODE_OFFSET); in IsImpureNaN()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dlcr_circuit_builder.h209 return Int64Or(val, Int64(JSTaggedValue::TAG_INT)); in Int32ToTaggedInt()
215 return Int64ToTaggedPtr(Int64Or(val, Int64(JSTaggedValue::TAG_INT))); in Int32ToTaggedPtr()
226 return Int64Or(x, Int64(JSTaggedValue::TAG_INT)); in ToTaggedInt()
231 return Int64ToTaggedPtr(Int64Or(x, Int64(JSTaggedValue::TAG_INT))); in ToTaggedIntPtr()
Dmcr_circuit_builder.h32 Int64(JSTaggedValue::TAG_INT)); in TaggedIsInt()
39 auto left = NotEqual(x, Int64(JSTaggedValue::TAG_INT)); in TaggedIsDouble()
Dbytecodes.h521 return value_ | JSTaggedValue::TAG_INT; in ToJSTaggedValueInt()
Dllvm_ir_builder.cpp2496 auto tagMask = LLVMConstInt(GetInt64T(), JSTaggedValue::TAG_INT, 0); in ConvertInt32ToTaggedInt()
Dlitecg_ir_builder.cpp2111 …mirBuilder_->ConstVal(lmirBuilder_->CreateIntConst(lmirBuilder_->i64Type, JSTaggedValue::TAG_INT)); in ConvertInt32ToTaggedInt()
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/x64/
Dextended_assembler_x64.cpp104 Movabs(JSTaggedValue::TAG_INT, tempArgcRegister); in PushArgc()
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/
Dextend_assembler.cpp118 Orr(op, argc, LogicalImmediate::Create(JSTaggedValue::TAG_INT, RegXSize)); in PushArgc()
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/x64/
Doptimized_call.cpp525 __ Movabs(JSTaggedValue::TAG_INT, rdx); // IsTaggedInt in JSCallCheck()
555 __ Movabs(JSTaggedValue::TAG_INT, r10); in ThrowNonCallableInternal()
/arkcompiler/ets_runtime/ecmascript/tests/
Dtagged_value_test.cpp76 …double pureNaN = JSTaggedValue::CastTaggedToDouble(JSTaggedValue::TAG_INT - JSTaggedValue::DOUBLE_… in HWTEST_F_L0()