/arkcompiler/runtime_core/bytecode_optimizer/ |
D | tagged_value.h | 59 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 …]
|
D | codegen.cpp | 356 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/ |
D | variable_type.h | 91 return VariableType(MachineType::I64, GateType::TaggedValue()); in JS_ANY()
|
D | ntype_mcr_lowering.cpp | 140 …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()
|
D | argument_accessor.cpp | 26 circuit_->NewArg(MachineType::I64, argIndex, GateType::TaggedValue(), argRoot_); in NewArg()
|
D | type.h | 45 static GateType TaggedValue() in TaggedValue() function
|
D | circuit_builder.cpp | 63 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()
|
D | circuit_builder-inl.h | 275 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()
|
D | bytecode_circuit_builder.cpp | 851 GateType::TaggedValue()); in NewConst() 912 GateType::TaggedValue()); in NewJSGate() 938 GateType::TaggedValue()); in NewJSGate() 1015 GateType::TaggedValue()); in NewReturn() 1357 GateType::TaggedValue()); in ResolveDef()
|
D | frame_states.cpp | 47 GateType::TaggedValue()); in BuildFrameValues()
|
D | gate.cpp | 697 {GateType::TaggedValue(), "TAGGED_VALUE"}, in GateTypeStr()
|
D | ts_hcr_lowering.cpp | 1023 …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()
|
D | llvm_ir_builder.cpp | 2535 …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/ |
D | file_format.md | 21 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…
|