Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/bytecode_optimizer/
Dtagged_value.h59 class TaggedValue {
89 TaggedValue(void *) = delete;
92 constexpr TaggedValue() : value_(NULL_POINTER) {} in TaggedValue() function
94 constexpr explicit TaggedValue(TaggedType v) : value_(v) {} in TaggedValue() function
96 constexpr explicit TaggedValue(int v) : value_(static_cast<TaggedType>(v) | TAG_INT) {} in TaggedValue() function
98 explicit TaggedValue(unsigned int v) in TaggedValue() function
101 value_ = TaggedValue(static_cast<double>(v)).GetRawData(); in TaggedValue()
104 value_ = TaggedValue(static_cast<int32_t>(v)).GetRawData(); in TaggedValue()
107 explicit TaggedValue(int64_t v) in TaggedValue() function
110 value_ = TaggedValue(static_cast<double>(v)).GetRawData(); in TaggedValue()
[all …]
Dcodegen.cpp356 static std::optional<coretypes::TaggedValue> IsEcmaConstTemplate(Inst const *inst) in IsEcmaConstTemplate()
369 return coretypes::TaggedValue(coretypes::TaggedValue::VALUE_UNDEFINED); in IsEcmaConstTemplate()
371 return coretypes::TaggedValue(static_cast<int32_t>(const_inst->GetIntValue())); in IsEcmaConstTemplate()
373 return coretypes::TaggedValue(const_inst->GetDoubleValue()); in IsEcmaConstTemplate()
375 return coretypes::TaggedValue(static_cast<bool>(const_inst->GetInt64Value() != 0)); in IsEcmaConstTemplate()
377 return coretypes::TaggedValue(coretypes::TaggedValue::VALUE_NULL); in IsEcmaConstTemplate()
389 coretypes::TaggedValue cmp_val; in IfEcma()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dvariable_type.h91 return VariableType(MachineType::I64, GateType::TaggedValue()); in JS_ANY()
Dntype_mcr_lowering.cpp140 …GateRef array = builder_.HeapAlloc(size, GateType::TaggedValue(), RegionSpaceFlag::IN_YOUNG_SPACE); in NewJSArrayLiteral()
162 …GateRef elements = builder_.HeapAlloc(elementsSize, GateType::TaggedValue(), RegionSpaceFlag::IN_Y… in NewTaggedArray()
Dargument_accessor.cpp26 circuit_->NewArg(MachineType::I64, argIndex, GateType::TaggedValue(), argRoot_); in NewArg()
Dtype.h45 static GateType TaggedValue() in TaggedValue() function
Dcircuit_builder.cpp63 auto type = GateType::TaggedValue(); in UndefineConstant()
544 …ANYVALUE, {currentControl, currentDepend, ctor, hclassIndex, frameState}, GateType::TaggedValue()); in TypedNewAllocateThis()
556 {currentControl, currentDepend, superCtor, newTarget, frameState}, GateType::TaggedValue()); in TypedSuperAllocateThis()
568 … { currentControl, currentDepend, ctor }, GateType::TaggedValue()); in GetSuperConstructor()
751 MachineType::ARCH, GateType::TaggedValue()); in RelocatableData()
766 auto type = GateType::TaggedValue(); in HoleConstant()
772 auto type = GateType::TaggedValue(); in NullPtrConstant()
778 auto type = GateType::TaggedValue(); in NullConstant()
784 auto type = GateType::TaggedValue(); in ExceptionConstant()
1550 … { currentControl, currentDepend }, GateType::TaggedValue()); in CreateArray()
Dcircuit_builder-inl.h275 MachineType::I64, { x }, GateType::TaggedValue()); in Int64ToTaggedPtr()
294 MachineType::I64, type, GateType::TaggedValue()); in IsSpecial()
560 acc_.SetGateType(val, GateType::TaggedValue()); in DoubleToTagged()
566 …etCircuit()->GetConstantGate(MachineType::I64, JSTaggedValue::VALUE_TRUE, GateType::TaggedValue()); in TaggedTrue()
571 …tCircuit()->GetConstantGate(MachineType::I64, JSTaggedValue::VALUE_FALSE, GateType::TaggedValue()); in TaggedFalse()
Dbytecode_circuit_builder.cpp851 GateType::TaggedValue()); in NewConst()
912 GateType::TaggedValue()); in NewJSGate()
938 GateType::TaggedValue()); in NewJSGate()
1015 GateType::TaggedValue()); in NewReturn()
1357 GateType::TaggedValue()); in ResolveDef()
Dframe_states.cpp47 GateType::TaggedValue()); in BuildFrameValues()
Dgate.cpp697 {GateType::TaggedValue(), "TAGGED_VALUE"}, in GateTypeStr()
Dts_hcr_lowering.cpp1023 …esult = builder_.TypedUnaryOp<TypedUnOp::TYPED_ISFALSE>(value, valueType, GateType::TaggedValue()); in LowerTypedIsTrueOrFalse()
1025 …result = builder_.TypedUnaryOp<TypedUnOp::TYPED_ISTRUE>(value, valueType, GateType::TaggedValue()); in LowerTypedIsTrueOrFalse()
Dllvm_ir_builder.cpp2535 …LLVMTypeRef returnType = NewLType(MachineType::I64, GateType::TaggedValue()); // possibly get it … in AddFunc()
2546 …aramTys.insert(paramTys.end(), numOfRestArgs, NewLType(MachineType::I64, GateType::TaggedValue())); in AddFunc()
2552 …aramTys.insert(paramTys.end(), numOfRestArgs, NewLType(MachineType::I64, GateType::TaggedValue())); in AddFunc()
/arkcompiler/runtime_core/docs/
Dfile_format.md21 The format uses [TaggedValue](#taggedvalue) which allows to store only information we have and
95 ### TaggedValue subsection
283 | `field_data` | `TaggedValue[]` | Variable length list of tagged values. Each element must h…
352 | `method_data` | `TaggedValue[]` | Variable length list of tagged values. Each element must h…
394 | `class_data` | `TaggedValue[]` | Variable length list of tagged values. Each element must h…