Searched refs:TAG_INT (Results 1 – 14 of 14) sorted by relevance
/arkcompiler/runtime_core/arkplatform/tests/ |
D | jsnapi_test.cpp | 88 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/ |
D | tagged_value.h | 65 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/ |
D | tagged_value.h | 88 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/ |
D | js_tagged_value_internals.h | 55 static constexpr JSTaggedType TAG_INT = TAG_MARK; variable 80 static constexpr JSTaggedType VALUE_ZERO = TAG_INT | 0x00ULL;
|
D | js_tagged_value.h | 89 …_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/ |
D | lcr_circuit_builder.h | 209 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()
|
D | mcr_circuit_builder.h | 32 Int64(JSTaggedValue::TAG_INT)); in TaggedIsInt() 39 auto left = NotEqual(x, Int64(JSTaggedValue::TAG_INT)); in TaggedIsDouble()
|
D | bytecodes.h | 521 return value_ | JSTaggedValue::TAG_INT; in ToJSTaggedValueInt()
|
D | llvm_ir_builder.cpp | 2496 auto tagMask = LLVMConstInt(GetInt64T(), JSTaggedValue::TAG_INT, 0); in ConvertInt32ToTaggedInt()
|
D | litecg_ir_builder.cpp | 2111 …mirBuilder_->ConstVal(lmirBuilder_->CreateIntConst(lmirBuilder_->i64Type, JSTaggedValue::TAG_INT)); in ConvertInt32ToTaggedInt()
|
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/x64/ |
D | extended_assembler_x64.cpp | 104 Movabs(JSTaggedValue::TAG_INT, tempArgcRegister); in PushArgc()
|
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/ |
D | extend_assembler.cpp | 118 Orr(op, argc, LogicalImmediate::Create(JSTaggedValue::TAG_INT, RegXSize)); in PushArgc()
|
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/x64/ |
D | optimized_call.cpp | 525 __ Movabs(JSTaggedValue::TAG_INT, rdx); // IsTaggedInt in JSCallCheck() 555 __ Movabs(JSTaggedValue::TAG_INT, r10); in ThrowNonCallableInternal()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | tagged_value_test.cpp | 76 …double pureNaN = JSTaggedValue::CastTaggedToDouble(JSTaggedValue::TAG_INT - JSTaggedValue::DOUBLE_… in HWTEST_F_L0()
|