Home
last modified time | relevance | path

Searched refs:objReg (Results 1 - 17 of 17) sorted by relevance

/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DmemberExpression.cpp59 compiler::VReg objReg = pg->AllocReg(); in Compile() local
60 Compile(pg, objReg); in Compile()
63 void MemberExpression::Compile(compiler::PandaGen *pg, compiler::VReg objReg) const in Compile()
65 CompileObject(pg, objReg); in Compile()
70 pg->LoadAccumulator(this, objReg); in Compile()
79 pg->Equal(this, objReg); in Compile()
82 pg->LoadAccumulator(this, objReg); in Compile()
87 pg->LoadAccumulator(this, objReg); in Compile()
97 pg->LoadSuperProperty(this, objReg, prop); in Compile()
99 pg->LoadObjProperty(this, objReg, pro in Compile()
[all...]
H A DobjectExpression.cpp335 compiler::VReg objReg) const in CompilePropertyOfGetterOrSetter()
347 pg->LoadAccumulator(prop->Value(), objReg); in CompilePropertyOfGetterOrSetter()
357 pg->DefineGetterSetterByValue(this, objReg, key, getter, setter, prop->IsComputed()); in CompilePropertyOfGetterOrSetter()
361 compiler::VReg objReg) const in CompilePropertyWithInit()
368 pg->LoadAccumulator(value, objReg); in CompilePropertyWithInit()
390 pg->DefineOwnProperty(this, objReg, key); in CompilePropertyWithInit()
392 pg->StoreOwnProperty(this, objReg, key, nameSetting); in CompilePropertyWithInit()
398 compiler::VReg objReg) const in CompileRemainingProperties()
412 pg->CopyDataProperties(spread, objReg); in CompileRemainingProperties()
421 CompilePropertyOfGetterOrSetter(pg, prop, objReg); in CompileRemainingProperties()
456 compiler::VReg objReg = pg->AllocReg(); Compile() local
[all...]
H A DobjectExpression.h92 void CompileRemainingProperties(compiler::PandaGen *pg, const util::BitSet *compiled, compiler::VReg objReg) const;
94 compiler::VReg objReg) const;
95 void CompilePropertyWithInit(compiler::PandaGen *pg, const ir::Property *prop, compiler::VReg objReg) const;
H A DmemberExpression.h92 void Compile(compiler::PandaGen *pg, compiler::VReg objReg) const;
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
H A DchainExpression.cpp56 void ChainExpression::CompileToReg(compiler::PandaGen *pg, compiler::VReg &objReg) const in CompileToReg()
61 objReg = pg->AllocReg(); in CompileToReg()
62 expression_->AsMemberExpression()->CompileToReg(pg, objReg); in CompileToReg()
64 objReg = compiler::VReg::Invalid(); in CompileToReg()
H A DmemberExpression.cpp104 compiler::VReg objReg = pg->AllocReg(); in LoadRhs() local
105 pg->StoreAccumulator(this, objReg); in LoadRhs()
108 pg->ClassPrivateFieldGet(this, ctor, objReg, name); in LoadRhs()
135 void MemberExpression::CompileToReg(compiler::PandaGen *pg, compiler::VReg objReg) const in CompileToReg()
138 pg->StoreAccumulator(this, objReg); in CompileToReg()
139 pg->OptionalChainCheck(IsOptional(), objReg); in CompileToReg() local
H A DchainExpression.h61 void CompileToReg(compiler::PandaGen *pg, compiler::VReg &objReg) const;
H A DmemberExpression.h194 void CompileToReg(compiler::PandaGen *pg, compiler::VReg objReg) const;
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/
H A Dets_codegen_extensions.cpp48 Reg objReg; in LaunchCallCodegen() local
59 objReg = ConvertRegister(location1.GetValue(), DataType::REFERENCE); in LaunchCallCodegen()
67 objReg = ConvertRegister(location.GetValue(), DataType::REFERENCE); in LaunchCallCodegen()
81 objReg, SpReg()); in LaunchCallCodegen()
84 objReg, SpReg(), thisReg); in LaunchCallCodegen()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSCompiler.cpp208 auto objReg = etsg->AllocReg(); in CreateDynamicObject() local
217 etsg->StoreAccumulator(node, objReg); in CreateDynamicObject()
220 etsg->CallDynamic(ETSGen::CallDynamicData {node, objReg, qnameStart}, qnameLen, signature, arguments); in CreateDynamicObject()
252 const ir::ForOfStatement *st, VReg objReg, VReg *countReg) in HandleUnionTypeInForOf()
258 etsg->LoadAccumulator(st->Right(), objReg); in HandleUnionTypeInForOf()
259 etsg->IsInstance(st->Right(), objReg, it); in HandleUnionTypeInForOf()
269 etsg->LoadAccumulator(st, objReg); in HandleUnionTypeInForOf()
300 VReg objReg) in GetSizeInForOf()
303 etsg->LoadArrayLength(st, objReg); in GetSizeInForOf()
305 HandleUnionTypeInForOf(etsg, exprType, st, objReg, nullpt in GetSizeInForOf()
251 HandleUnionTypeInForOf(compiler::ETSGen *etsg, checker::Type const *const exprType, const ir::ForOfStatement *st, VReg objReg, VReg *countReg) HandleUnionTypeInForOf() argument
299 GetSizeInForOf(compiler::ETSGen *etsg, checker::Type const *const exprType, const ir::ForOfStatement *st, VReg objReg) GetSizeInForOf() argument
983 compiler::VReg objReg = etsg->AllocReg(); CompileComputed() local
1035 compiler::VReg objReg = etsg->AllocReg(); Compile() local
1068 compiler::VReg objReg = etsg->AllocReg(); HandleArrayTypeLengthProperty() local
1125 compiler::VReg objReg = etsg->AllocReg(); Compile() local
1424 compiler::VReg objReg = etsg->AllocReg(); Compile() local
[all...]
H A DETSGen.cpp271 auto objReg = AllocReg(); in LoadDynamicModuleVariable() local
272 StoreAccumulator(node, objReg); in LoadDynamicModuleVariable()
276 LoadPropertyDynamic(node, Checker()->GlobalBuiltinDynamicType(lang), objReg, id->Name()); in LoadDynamicModuleVariable()
417 void ETSGen::StoreProperty(const ir::AstNode *const node, const checker::Type *propType, const VReg objReg, in StoreProperty() argument
420 const auto fullName = FormClassPropReference(GetVRegType(objReg)->AsETSObjectType(), name); in StoreProperty()
423 Ra().Emit<StobjObj>(node, objReg, fullName); in StoreProperty()
425 Ra().Emit<StobjWide>(node, objReg, fullName); in StoreProperty()
427 Ra().Emit<Stobj>(node, objReg, fullName); in StoreProperty()
431 void ETSGen::LoadProperty(const ir::AstNode *const node, const checker::Type *propType, const VReg objReg, in LoadProperty() argument
435 Ra().Emit<LdobjObj>(node, objReg, fullNam in LoadProperty()
445 StoreUnionProperty([[maybe_unused]] const ir::AstNode *node, [[maybe_unused]] const checker::Type *propType, [[maybe_unused]] VReg objReg, [[maybe_unused]] const util::StringView &propName) StoreUnionProperty() argument
462 LoadUnionProperty([[maybe_unused]] const ir::AstNode *const node, [[maybe_unused]] const checker::Type *propType, [[maybe_unused]] const VReg objReg, [[maybe_unused]] const util::StringView &propName) LoadUnionProperty() argument
480 StorePropertyDynamic(const ir::AstNode *node, const checker::Type *propType, VReg objReg, const util::StringView &propName) StorePropertyDynamic() argument
528 LoadPropertyDynamic(const ir::AstNode *node, const checker::Type *propType, VReg objReg, const util::StringView &propName) LoadPropertyDynamic() argument
[all...]
H A DETSGen.h68 void StoreProperty(const ir::AstNode *node, const checker::Type *propType, VReg objReg,
70 void LoadProperty(const ir::AstNode *node, const checker::Type *propType, VReg objReg,
72 void StorePropertyDynamic(const ir::AstNode *node, const checker::Type *propType, VReg objReg,
74 void LoadPropertyDynamic(const ir::AstNode *node, const checker::Type *propType, VReg objReg,
80 void StoreUnionProperty(const ir::AstNode *node, const checker::Type *propType, VReg objReg,
82 void LoadUnionProperty(const ir::AstNode *node, const checker::Type *propType, VReg objReg,
188 compiler::VReg objReg = AllocReg(); in ResolveConditionalResultReference() local
189 StoreAccumulator(node, objReg); in ResolveConditionalResultReference()
196 LoadAccumulator(node, objReg); in ResolveConditionalResultReference()
H A DJSCompiler.cpp903 void CompileRemainingPropertyKind(const ir::Property *prop, compiler::VReg objReg, compiler::PandaGen *pg, in CompileRemainingPropertyKind() argument
919 pg->LoadAccumulator(prop->Value(), objReg); in CompileRemainingPropertyKind()
929 pg->DefineGetterSetterByValue(expr, std::make_tuple(objReg, key, getter, setter), prop->IsComputed()); in CompileRemainingPropertyKind()
936 pg->LoadAccumulator(prop->Value(), objReg); in CompileRemainingPropertyKind()
940 pg->StoreOwnProperty(expr, objReg, key); in CompileRemainingPropertyKind()
948 pg->SetObjectWithProto(expr, proto, objReg); in CompileRemainingPropertyKind()
961 compiler::VReg objReg = pg->AllocReg(); in CompileRemainingProperties() local
963 pg->StoreAccumulator(expr, objReg); in CompileRemainingProperties()
979 pg->CopyDataProperties(spread, objReg, srcObj); in CompileRemainingProperties()
984 CompileRemainingPropertyKind(prop, objReg, p in CompileRemainingProperties()
[all...]
H A Dpandagen.cpp1741 VReg objReg = AllocReg(); in ToPropertyKey() local
1742 StoreAccumulator(prop, objReg); in ToPropertyKey()
1745 return objReg; in ToPropertyKey()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
H A Dcodegen.cpp1262 void Codegen::LoadClassFromObject(Reg classReg, Reg objReg) in LoadClassFromObject() argument
1265 GetEncoder()->EncodeLdr(reg, false, MemRef(objReg, GetRuntime()->GetObjClassOffset(GetArch()))); in LoadClassFromObject()
1372 auto objReg = codegen->ConvertRegister(location.GetValue(), inst->GetInputType(0)); in GetObjectReg() local
1373 ASSERT(objReg != INVALID_REGISTER); in GetObjectReg()
1374 return objReg; in GetObjectReg()
1435 void Codegen::IntfInlineCachePass(ResolveVirtualInst *resolver, Reg methodReg, Reg tmpReg, Reg objReg) in IntfInlineCachePass() argument
1457 if (objReg.GetId() != tmpReg.GetId()) { in IntfInlineCachePass()
1462 CallFastPath(resolver, EntrypointId::INTF_INLINE_CACHE, methodReg, {}, methodReg, objReg, in IntfInlineCachePass()
1472 CallFastPath(resolver, EntrypointId::INTF_INLINE_CACHE, methodReg, {}, methodReg, objReg, in IntfInlineCachePass()
1535 Reg objReg in EmitResolveUnknownVirtual() local
1589 Reg objReg = GetObjectReg(this, resolver); EmitResolveVirtualAot() local
[all...]
H A Dcodegen.h280 void LoadClassFromObject(Reg classReg, Reg objReg);
376 void IntfInlineCachePass(ResolveVirtualInst *resolver, Reg methodReg, Reg tmpReg, Reg objReg);
H A Dencode_visitor.cpp2562 auto [dst, objReg] = codegen->ConvertRegisters<1U>(inst); in VisitGetInstanceClass()
2563 ASSERT(objReg.IsValid()); in VisitGetInstanceClass()
2564 codegen->LoadClassFromObject(dst, objReg); in VisitGetInstanceClass()

Completed in 39 milliseconds