Home
last modified time | relevance | path

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

12

/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.ets16 {% for vd in var_decl %}
22 {{vd.decl}}
25 {{vd.use}}
26 assertTrue( {{vd.assert}} )
Dincorrect_var_decl.ets16 {% 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;
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);
DETSGen.cpp178 IRNode *ETSGen::AllocMov(const ir::AstNode *const node, const VReg vd, const VReg vs) in AllocMov() argument
182 auto *const mov = [this, sourceType, node, vd, vs]() -> IRNode * { in AllocMov()
184 return Allocator()->New<MovObj>(node, vd, vs); in AllocMov()
187 return Allocator()->New<MovWide>(node, vd, vs); in AllocMov()
189 return Allocator()->New<Mov>(node, vd, vs); in AllocMov()
192 SetVRegType(vd, sourceType); in AllocMov()
196 IRNode *ETSGen::AllocMov(const ir::AstNode *const node, OutVReg vd, const VReg vs) in AllocMov() argument
198 ES2PANDA_ASSERT(vd.type != OperandType::ANY && vd.type != OperandType::NONE); in AllocMov()
200 switch (vd.type) { in AllocMov()
202 return Allocator()->New<MovObj>(node, *vd.reg, vs); in AllocMov()
[all …]
Dpandagen.cpp342 IRNode *PandaGen::AllocMov(const ir::AstNode *node, const VReg vd, const VReg vs) in AllocMov() argument
344 return Allocator()->New<MovDyn>(node, vd, vs); in AllocMov()
347 IRNode *PandaGen::AllocMov(const ir::AstNode *node, OutVReg vd, const VReg vs) in AllocMov() argument
349 ES2PANDA_ASSERT(vd.type == OperandType::ANY); in AllocMov()
350 return Allocator()->New<MovDyn>(node, *vd.reg, vs); in AllocMov()
353 void PandaGen::MoveVreg(const ir::AstNode *node, VReg vd, VReg vs) in MoveVreg() argument
355 Ra().Emit<MovDyn>(node, vd, vs); in MoveVreg()
/arkcompiler/runtime_core/static_core/verification/absint/
Dabs_int_inl.h307 // Names meanings: vs - v_source, vd - v_destination
313 uint16_t vd = inst_.GetVReg<FORMAT, 0x00>(); in HandleMov() local
322 AssignRegToReg(vd, vs); in HandleMov()
332 uint16_t vd = inst_.GetVReg<FORMAT, 0x00>(); in HandleMovWide() local
341 AssignRegToReg(vd, vs); in HandleMovWide()
351 uint16_t vd = inst_.GetVReg<FORMAT, 0x00>(); in HandleMovObj() local
359 AssignRegToReg(vd, vs); in HandleMovObj()
390 uint16_t vd = inst_.GetVReg<FORMAT>(); in HandleMovi() local
392 SetReg(vd, i32_); in HandleMovi()
402 uint16_t vd = inst_.GetVReg<FORMAT>(); in HandleMoviWide() local
[all …]
/arkcompiler/runtime_core/libabckit/tests/ut/ir_core/catchphi/
Dcatchphi_static.cpp83 } vd {g_implG, nullptr}; in TEST_F() local
85 g_implG->gVisitBlocksRpo(graph, &vd, [](AbckitBasicBlock *curBB, void *data) { in TEST_F()
96 AbckitBasicBlock *returnBB = vd.returnBB; in TEST_F()
126 } vd {g_implG, nullptr}; in TEST_F() local
128 g_implG->gVisitBlocksRpo(graph, &vd, [](AbckitBasicBlock *curBB, void *data) { in TEST_F()
139 AbckitBasicBlock *returnBB = vd.returnBB; in TEST_F()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/time/
DValidDateTest.ets23 let vd = date.isDateValid();
25 if ((vd || vdComplex) != check[i]) return 1;
/arkcompiler/runtime_core/libabckit/tests/scenarios/replace_call_site/dynamic/
Dreplace_call_site_test.cpp132 VisitData vd; in ReplaceCallSite() local
133 vd.ctxG = ctxG; in ReplaceCallSite()
134 vd.ci = coreImport; in ReplaceCallSite()
135 vd.ud = &userData; in ReplaceCallSite()
136 vd.newInst = helpers::FindFirstInst(ctxG, ABCKIT_ISA_API_DYNAMIC_OPCODE_NEWOBJRANGE); in ReplaceCallSite()
138 …g_implG->gVisitBlocksRpo(ctxG, &vd, [](AbckitBasicBlock *bb, void *data) -> bool { return VisitBlo… in ReplaceCallSite()
/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/runtime/interpreter/
Dinterpreter-inl.h134 uint16_t vd = this->GetInst().template GetVReg<FORMAT, 0>(); in HandleMov() local
136 LOG_INST() << "mov v" << vd << ", v" << vs; in HandleMov()
138 curFrameHandler.GetVReg(vd).MovePrimitive(curFrameHandler.GetVReg(vs)); in HandleMov()
145 uint16_t vd = this->GetInst().template GetVReg<FORMAT, 0>(); in HandleMovWide() local
147 LOG_INST() << "mov.64 v" << vd << ", v" << vs; in HandleMovWide()
149 curFrameHandler.GetVReg(vd).MovePrimitive(curFrameHandler.GetVReg(vs)); in HandleMovWide()
156 uint16_t vd = this->GetInst().template GetVReg<FORMAT, 0>(); in HandleMovObj() local
158 LOG_INST() << "mov.obj v" << vd << ", v" << vs; in HandleMovObj()
160 curFrameHandler.GetVReg(vd).MoveReference(curFrameHandler.GetVReg(vs)); in HandleMovObj()
167 uint16_t vd = this->GetInst().template GetVReg<FORMAT, 0>(); in HandleMovDyn() local
[all …]
/arkcompiler/runtime_core/static_core/isa/
Disa.yaml294 vd = vs
317 vd = imm
346 vd = null
488 vd = acc
997 vd = (acc + vs) % 2^32
999 vd = (acc + vs) % 2^64
1001 vd = (acc - vs) % 2^32
1003 vd = (acc - vs) % 2^64
1005 vd = (acc * vs) % 2^32
1009 vd = acc & vs
[all …]
/arkcompiler/runtime_core/libabckit/tests/regression/issue_IC78XV/c_api/replace_call_site_ohmurl/
Dreplace_call_site_test.cpp262 VisitData vd; in ReplaceCallSite() local
263 vd.ctxG = ctxG; in ReplaceCallSite()
264 vd.ci = coreImport; in ReplaceCallSite()
265 vd.ud = &userData; in ReplaceCallSite()
266 vd.newInst = FindFirstInst(ctxG, ABCKIT_ISA_API_DYNAMIC_OPCODE_NEWOBJRANGE); in ReplaceCallSite()
268 …g_implG->gVisitBlocksRpo(ctxG, &vd, [](AbckitBasicBlock *bb, void *data) -> bool { return VisitBlo… in ReplaceCallSite()
/arkcompiler/runtime_core/libabckit/tests/clean_scenarios/c_api/dynamic/replace_call_site/
Dreplace_call_site_test.cpp272 VisitData vd; in ReplaceCallSite() local
273 vd.ctxG = ctxG; in ReplaceCallSite()
274 vd.ci = coreImport; in ReplaceCallSite()
275 vd.ud = &userData; in ReplaceCallSite()
276 vd.newInst = FindFirstInst(ctxG, ABCKIT_ISA_API_DYNAMIC_OPCODE_NEWOBJRANGE); in ReplaceCallSite()
278 …g_implG->gVisitBlocksRpo(ctxG, &vd, [](AbckitBasicBlock *bb, void *data) -> bool { return VisitBlo… in ReplaceCallSite()
/arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/test/cookbook_tests/
Darkts-esobject-is-any.d.ets19 export declare let vd: Any;
Darkts-esobject-is-any.ts26 export let vd = 1 as ESObject variable
/arkcompiler/runtime_core/libabckit/tests/scenarios/add_log/
Dadd_log_dynamic_test.cpp140 VisitData vd; in TransformIr() local
141 vd.ud = userData; in TransformIr()
142 vd.time = time; in TransformIr()
144 g_implG->gVisitBlocksRpo(graph, &vd, [](AbckitBasicBlock *bb, void *data) { in TransformIr()
/arkcompiler/runtime_core/libabckit/tests/clean_scenarios/c_api/dynamic/add_log/
Dadd_log_dynamic_test.cpp227 VisitData vd; in TransformIr() local
228 vd.ud = userData; in TransformIr()
229 vd.time = time; in TransformIr()
231 g_implG->gVisitBlocksRpo(graph, &vd, [](AbckitBasicBlock *bb, void *data) { in TransformIr()
/arkcompiler/runtime_core/libabckit/src/codegen/
Dcodegen_static.cpp1347 compiler::Register vd = inst->GetSrcReg(1U); in VisitStoreObjectIntrinsic() local
1363 enc->result_.emplace_back(pandasm::Create_STOBJ(vd, id)); in VisitStoreObjectIntrinsic()
1365 enc->result_.emplace_back(pandasm::Create_STOBJ_V(vd, vs, id)); in VisitStoreObjectIntrinsic()
1372 enc->result_.emplace_back(pandasm::Create_STOBJ_64(vd, id)); in VisitStoreObjectIntrinsic()
1374 enc->result_.emplace_back(pandasm::Create_STOBJ_V_64(vd, vs, id)); in VisitStoreObjectIntrinsic()
1379 enc->result_.emplace_back(pandasm::Create_STOBJ_OBJ(vd, id)); in VisitStoreObjectIntrinsic()
1381 enc->result_.emplace_back(pandasm::Create_STOBJ_V_OBJ(vd, vs, id)); in VisitStoreObjectIntrinsic()
1432 compiler::Register vd = inst->GetDstReg(); in VisitLoadObjectIntrinsic() local
1449 enc->result_.emplace_back(pandasm::Create_LDOBJ_V(vd, vs, id)); in VisitLoadObjectIntrinsic()
1458 enc->result_.emplace_back(pandasm::Create_LDOBJ_V_64(vd, vs, id)); in VisitLoadObjectIntrinsic()
[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/runtime/interpreter/
Dinterpreter-inl.h352 uint16_t vd = this->GetInst().template GetVReg<FORMAT>(); in HandleEtsMovnullvalue() local
353 LOG_INST() << "ets.movnullvalue v" << vd; in HandleEtsMovnullvalue()
355 this->GetFrameHandler().GetVReg(vd).SetReference(GetCoro()->GetNullValue()); in HandleEtsMovnullvalue()
/arkcompiler/runtime_core/static_core/plugins/ets/irtoc_scripts/
Dinterpreter_handlers.irt111 macro(:handle_ets_movnullvalue) do |vd|
112 set_object(vd, ets_nullvalue).ref

12