| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/07.variable_and_constant_declarations/01.variable_declarations/ |
| D | var_decl.sts | 16 {% for vd in var_decl %} 22 {{vd.decl}} 25 {{vd.use}} 26 assert {{vd.assert}}
|
| D | incorrect_var_decl.sts | 16 {% for vd in var_decl %} 23 {{vd}}
|
| /arkcompiler/ets_frontend/ets2panda/compiler/core/ |
| D | regSpiller.cpp | 81 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()
|
| D | regSpiller.h | 53 …[[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;
|
| D | codeGen.h | 95 [[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;
|
| D | pandagen.h | 73 [[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);
|
| D | ETSGen.cpp | 175 IRNode *ETSGen::AllocMov(const ir::AstNode *const node, const VReg vd, const VReg vs) in AllocMov() argument 179 auto *const mov = [this, sourceType, node, vd, vs]() -> IRNode * { in AllocMov() 181 return Allocator()->New<MovObj>(node, vd, vs); in AllocMov() 184 return Allocator()->New<MovWide>(node, vd, vs); in AllocMov() 186 return Allocator()->New<Mov>(node, vd, vs); in AllocMov() 189 SetVRegType(vd, sourceType); in AllocMov() 193 IRNode *ETSGen::AllocMov(const ir::AstNode *const node, OutVReg vd, const VReg vs) in AllocMov() argument 195 ASSERT(vd.type != OperandType::ANY && vd.type != OperandType::NONE); in AllocMov() 197 switch (vd.type) { in AllocMov() 199 return Allocator()->New<MovObj>(node, *vd.reg, vs); in AllocMov() [all …]
|
| D | pandagen.cpp | 341 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()
|
| D | ETSGen.h | 50 [[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/ |
| D | abs_int_inl.h | 307 // 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/ |
| D | catchphi_static.cpp | 83 } 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/ |
| D | ValidDateTest.sts | 23 let vd = date.isDateValid(); 25 if ((vd || vdComplex) != check[i]) return 1;
|
| /arkcompiler/runtime_core/libabckit/tests/scenarios/replace_call_site/dynamic/ |
| D | replace_call_site_test.cpp | 132 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/runtime/interpreter/ |
| D | interpreter-inl.h | 135 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/ |
| D | interpreter.irt | 844 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/ |
| D | isa.yaml | 292 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/libabckit/tests/clean_scenarios/c_api/dynamic/replace_call_site/ |
| D | replace_call_site_test.cpp | 272 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/libabckit/tests/scenarios/add_log/ |
| D | add_log_dynamic_test.cpp | 140 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/ |
| D | add_log_dynamic_test.cpp | 227 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/ |
| D | codegen_static.cpp | 1347 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/ |
| D | codegen.cpp | 1541 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/ |
| D | interpreter_handlers.irt | 93 macro(:handle_ets_movundefined) do |vd| 94 set_object(vd, ets_undefined).ref
|
| /arkcompiler/runtime_core/static_core/plugins/ets/isa/ |
| D | isa.yaml | 198 vd = undefined_object
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interpreter/ |
| D | interpreter-inl.h | 459 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/ |
| D | pandagen.h | 307 void MoveVreg(const ir::AstNode *node, VReg vd, VReg vs);
|