Home
last modified time | relevance | path

Searched full:vd (Results 1 – 23 of 23) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/07.variable_and_constant_declarations/01.variable_declarations/
Dvar_decl.sts16 {% for vd in var_decl %}
22 {{vd.decl}}
25 {{vd.use}}
26 assert {{vd.assert}}
Dincorrect_var_decl.sts16 {% for vd in var_decl %}
23 {{vd}}
/arkcompiler/ets_frontend/ets2panda/compiler/core/
DregSpiller.cpp81 IRNode *DynamicRegSpiller::MoveReg(const ir::AstNode *const node, const VReg vd, const VReg vs, in MoveReg() argument
84 return GetCodeGen()->AllocMov(node, vd, vs); in MoveReg()
112 IRNode *StaticRegSpiller::MoveReg(const ir::AstNode *const node, const VReg vd, const VReg vs, cons… in MoveReg() argument
114 if (vd == vs) { in MoveReg()
123 GetCodeGen()->SetVRegType(vd, sourceType); in MoveReg()
125 spills_.emplace_back(vd, vs); in MoveReg()
128 return GetCodeGen()->AllocMov(node, vd, vs); in MoveReg()
DregSpiller.h53 …[[nodiscard]] virtual IRNode *MoveReg(const ir::AstNode *node, VReg vd, VReg vs, bool spillMov) = …
80 … [[nodiscard]] IRNode *MoveReg(const ir::AstNode *node, VReg vd, VReg vs, bool spillMov) override;
97 … [[nodiscard]] IRNode *MoveReg(const ir::AstNode *node, VReg vd, VReg vs, bool spillMov) override;
DcodeGen.h95 [[nodiscard]] virtual IRNode *AllocMov(const ir::AstNode *node, VReg vd, VReg vs) = 0;
96 [[nodiscard]] virtual IRNode *AllocMov(const ir::AstNode *node, OutVReg vd, VReg vs) = 0;
DETSGen.cpp172 IRNode *ETSGen::AllocMov(const ir::AstNode *const node, const VReg vd, const VReg vs) in AllocMov() argument
176 auto *const mov = [this, sourceType, node, vd, vs]() -> IRNode * { in AllocMov()
178 return Allocator()->New<MovObj>(node, vd, vs); in AllocMov()
181 return Allocator()->New<MovWide>(node, vd, vs); in AllocMov()
183 return Allocator()->New<Mov>(node, vd, vs); in AllocMov()
186 SetVRegType(vd, sourceType); in AllocMov()
190 IRNode *ETSGen::AllocMov(const ir::AstNode *const node, OutVReg vd, const VReg vs) in AllocMov() argument
192 ASSERT(vd.type != OperandType::ANY && vd.type != OperandType::NONE); in AllocMov()
194 switch (vd.type) { in AllocMov()
196 return Allocator()->New<MovObj>(node, *vd.reg, vs); in AllocMov()
[all …]
Dpandagen.h73 [[nodiscard]] IRNode *AllocMov(const ir::AstNode *node, VReg vd, VReg vs) override;
74 [[nodiscard]] IRNode *AllocMov(const ir::AstNode *node, OutVReg vd, VReg vs) override;
75 void MoveVreg(const ir::AstNode *node, VReg vd, VReg vs);
Dpandagen.cpp341 IRNode *PandaGen::AllocMov(const ir::AstNode *node, const VReg vd, const VReg vs) in AllocMov() argument
343 return Allocator()->New<MovDyn>(node, vd, vs); in AllocMov()
346 IRNode *PandaGen::AllocMov(const ir::AstNode *node, OutVReg vd, const VReg vs) in AllocMov() argument
348 ASSERT(vd.type == OperandType::ANY); in AllocMov()
349 return Allocator()->New<MovDyn>(node, *vd.reg, vs); in AllocMov()
352 void PandaGen::MoveVreg(const ir::AstNode *node, VReg vd, VReg vs) in MoveVreg() argument
354 Ra().Emit<MovDyn>(node, vd, vs); in MoveVreg()
DETSGen.h50 [[nodiscard]] IRNode *AllocMov(const ir::AstNode *node, VReg vd, VReg vs) override;
51 [[nodiscard]] IRNode *AllocMov(const ir::AstNode *node, OutVReg vd, VReg vs) override;
52 void MoveVreg(const ir::AstNode *node, VReg vd, VReg vs);
/arkcompiler/runtime_core/static_core/verification/absint/
Dabs_int_inl.h304 // Names meanings: vs - v_source, vd - v_destination
310 uint16_t vd = inst_.GetVReg<FORMAT, 0x00>(); in HandleMov() local
319 AssignRegToReg(vd, vs); in HandleMov()
329 uint16_t vd = inst_.GetVReg<FORMAT, 0x00>(); in HandleMovWide() local
338 AssignRegToReg(vd, vs); in HandleMovWide()
348 uint16_t vd = inst_.GetVReg<FORMAT, 0x00>(); in HandleMovObj() local
356 AssignRegToReg(vd, vs); in HandleMovObj()
387 uint16_t vd = inst_.GetVReg<FORMAT>(); in HandleMovi() local
389 SetReg(vd, i32_); in HandleMovi()
399 uint16_t vd = inst_.GetVReg<FORMAT>(); in HandleMoviWide() local
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/time/
DValidDateTest.sts23 let vd = date.isDateValid();
25 if ((vd || vdComplex) != check[i]) return 1;
/arkcompiler/runtime_core/static_core/runtime/interpreter/
Dinterpreter-inl.h135 uint16_t vd = this->GetInst().template GetVReg<FORMAT, 0>(); in HandleMov() local
137 LOG_INST() << "mov v" << vd << ", v" << vs; in HandleMov()
139 curFrameHandler.GetVReg(vd).MovePrimitive(curFrameHandler.GetVReg(vs)); in HandleMov()
146 uint16_t vd = this->GetInst().template GetVReg<FORMAT, 0>(); in HandleMovWide() local
148 LOG_INST() << "mov.64 v" << vd << ", v" << vs; in HandleMovWide()
150 curFrameHandler.GetVReg(vd).MovePrimitive(curFrameHandler.GetVReg(vs)); in HandleMovWide()
157 uint16_t vd = this->GetInst().template GetVReg<FORMAT, 0>(); in HandleMovObj() local
159 LOG_INST() << "mov.obj v" << vd << ", v" << vs; in HandleMovObj()
161 curFrameHandler.GetVReg(vd).MoveReference(curFrameHandler.GetVReg(vs)); in HandleMovObj()
168 uint16_t vd = this->GetInst().template GetVReg<FORMAT, 0>(); in HandleMovDyn() local
[all …]
/arkcompiler/runtime_core/static_core/irtoc/scripts/
Dinterpreter.irt844 macro(:handle_movi) do |vd, imm|
845 set_primitive(vd, imm).i32
848 macro(:handle_movi_64) do |vd, imm|
849 set_primitive(vd, imm).i64
852 macro(:handle_mov) do |vd, vs|
853 set_primitive(vd, vs).u32
903 macro(:handle_sta_v8) do |vd|
904 set_primitive(vd, acc.u32).u32
907 macro(:handle_sta_64_v8) do |vd|
908 set_primitive(vd, acc.u64).u64
[all …]
/arkcompiler/runtime_core/static_core/isa/
Disa.yaml292 vd = vs
315 vd = imm
344 vd = null
486 vd = acc
995 vd = (acc + vs) % 2^32
997 vd = (acc + vs) % 2^64
999 vd = (acc - vs) % 2^32
1001 vd = (acc - vs) % 2^64
1003 vd = (acc * vs) % 2^32
1007 vd = acc & vs
[all …]
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
Dcodegen.cpp1541 compiler::Register vd = inst->GetSrcReg(0U); in VisitStoreObject() local
1557 enc->result_.emplace_back(pandasm::Create_STOBJ(vd, id)); in VisitStoreObject()
1559 enc->result_.emplace_back(pandasm::Create_STOBJ_V(vs, vd, id)); in VisitStoreObject()
1566 enc->result_.emplace_back(pandasm::Create_STOBJ_64(vd, id)); in VisitStoreObject()
1568 enc->result_.emplace_back(pandasm::Create_STOBJ_V_64(vs, vd, id)); in VisitStoreObject()
1573 enc->result_.emplace_back(pandasm::Create_STOBJ_OBJ(vd, id)); in VisitStoreObject()
1575 enc->result_.emplace_back(pandasm::Create_STOBJ_V_OBJ(vs, vd, id)); in VisitStoreObject()
1641 compiler::Register vd = inst->GetDstReg(); in VisitLoadObject() local
1658 enc->result_.emplace_back(pandasm::Create_LDOBJ_V(vd, vs, id)); in VisitLoadObject()
1667 enc->result_.emplace_back(pandasm::Create_LDOBJ_V_64(vd, vs, id)); in VisitLoadObject()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/irtoc_scripts/
Dinterpreter_handlers.irt93 macro(:handle_ets_movundefined) do |vd|
94 set_object(vd, ets_undefined).ref
/arkcompiler/runtime_core/static_core/plugins/ets/isa/
Disa.yaml198 vd = undefined_object
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interpreter/
Dinterpreter-inl.h459 uint16_t vd = this->GetInst().template GetVReg<FORMAT>(); in HandleEtsMovundefined() local
460 LOG_INST() << "ets.movundefined v" << vd; in HandleEtsMovundefined()
462 this->GetFrameHandler().GetVReg(vd).SetReference(GetCoro()->GetUndefinedObject()); in HandleEtsMovundefined()
/arkcompiler/ets_frontend/es2panda/compiler/core/
Dpandagen.h305 void MoveVreg(const ir::AstNode *node, VReg vd, VReg vs);
Dpandagen.cpp776 void PandaGen::MoveVreg(const ir::AstNode *node, VReg vd, VReg vs) in MoveVreg() argument
778 ra_.Emit<Mov>(node, vd, vs); in MoveVreg()
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Dcocos_worker_test.js25210 let vd;
25256 }(vd || (vd = {}));
25258 [vd.CONSTANT]: B_,
25259 [vd.LINEAR]: D_,
25260 [vd.QUAD_IN]: P_,
25261 [vd.QUAD_OUT]: O_,
25262 [vd.QUAD_IN_OUT]: N_,
25263 [vd.QUAD_OUT_IN]: ud,
25264 [vd.CUBIC_IN]: L_,
25265 [vd.CUBIC_OUT]: F_,
[all …]
/arkcompiler/runtime_core/isa/
Disa.yaml1728 vd = vs
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2VD(s),(function(t,r,n){e.containsParseError(t)||JD(r,!!(8388608&t.flags))||(o||(o=[])).push(a(a({}… class