Home
last modified time | relevance | path

Searched refs:indexReg (Results 1 - 10 of 10) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/base/
H A Dliterals.cpp28 VReg indexReg = pg->AllocReg(); in GetTemplateObject() local
44 pg->StoreAccumulator(element, indexReg); in GetTemplateObject()
47 pg->StoreObjByValue(element, rawArr, indexReg); in GetTemplateObject()
50 pg->StoreObjByValue(element, cookedArr, indexReg); in GetTemplateObject()
60 pg->StoreAccumulator(lit, indexReg); in GetTemplateObject()
63 pg->StoreObjByValue(lit, templateArg, indexReg); in GetTemplateObject()
67 pg->StoreAccumulator(lit, indexReg); in GetTemplateObject()
70 pg->StoreObjByValue(lit, templateArg, indexReg); in GetTemplateObject()
/arkcompiler/ets_frontend/es2panda/compiler/base/
H A Dliterals.cpp31 VReg indexReg = pg->AllocReg(); in GetTemplateObject() local
47 pg->StoreAccumulator(element, indexReg); in GetTemplateObject()
50 pg->DefineFieldByValue(element, rawArr, indexReg); in GetTemplateObject()
57 pg->DefineFieldByValue(element, cookedArr, indexReg); in GetTemplateObject()
67 pg->StoreAccumulator(lit, indexReg); in GetTemplateObject()
70 pg->DefineFieldByValue(lit, templateArg, indexReg); in GetTemplateObject()
74 pg->StoreAccumulator(lit, indexReg); in GetTemplateObject()
77 pg->DefineFieldByValue(lit, templateArg, indexReg); in GetTemplateObject()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
H A Dslow_path.cpp52 ScopedTmpReg indexReg(codegen->GetEncoder()); in GenerateThrowOutOfBoundsException()
53 codegen->GetEncoder()->EncodeMov(indexReg, Imm(GetInst()->CastToBoundsCheckI()->GetImm())); in GenerateThrowOutOfBoundsException()
54 codegen->CallRuntime(GetInst(), GetEntrypoint(), INVALID_REGISTER, RegMask::GetZeroMask(), indexReg, lenReg); in GenerateThrowOutOfBoundsException() local
57 auto indexReg = codegen->ConvertRegister(GetInst()->GetSrcReg(1), GetInst()->GetInputType(1)); in GenerateThrowOutOfBoundsException() local
58 codegen->CallRuntime(GetInst(), GetEntrypoint(), INVALID_REGISTER, RegMask::GetZeroMask(), indexReg, lenReg); in GenerateThrowOutOfBoundsException() local
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Doperand.cpp183 RegOperand *indexReg = GetIndexRegister(); in Less() local
185 return indexReg->Less(*rindexReg); in Less()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch64/
H A Dencode.cpp154 auto indexReg = mem.GetIndex(); in ConvertMem() local
156 if (indexReg.GetSize() == WORD_SIZE) { in ConvertMem()
158 return vixl::aarch64::MemOperand(VixlReg(baseReg), VixlReg(indexReg), vixl::aarch64::Extend::SXTW, scale); in ConvertMem()
162 ASSERT(indexReg.GetSize() == DOUBLE_WORD_SIZE); in ConvertMem()
163 return vixl::aarch64::MemOperand(VixlReg(baseReg), VixlReg(indexReg), vixl::aarch64::LSL, scale); in ConvertMem()
166 return vixl::aarch64::MemOperand(VixlReg(baseReg), VixlReg(indexReg)); in ConvertMem()
2037 auto indexReg = mem.GetIndex(); in EncodeLdr() local
2043 (indexReg.GetId() != dst.GetId()) && // not index in EncodeLdr()
2048 auto fixMem = MemRef(dst, indexReg, mem.GetScale(), mem.GetDisp()); in EncodeLdr()
2056 auto fixMem = MemRef(tmpReg, indexReg, me in EncodeLdr()
2097 auto indexReg = mem.GetIndex(); EncodeLdrAcquireInvalid() local
2237 auto indexReg = mem.GetIndex(); EncodeStr() local
[all...]
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSCompiler.cpp159 const auto indexReg = etsg->AllocReg(); in Compile() local
166 etsg->StoreAccumulator(expr, indexReg); in Compile()
175 etsg->StoreArrayElement(expr, arr, indexReg, exprType); in Compile()
389 const auto indexReg = etsg->AllocReg(); in Compile() local
393 etsg->StoreAccumulator(expr, indexReg); in Compile()
404 etsg->StoreArrayElement(expr, arr, indexReg, expression->TsType()); in Compile()
406 etsg->StoreArrayElement(expr, arr, indexReg, expr->TsType()->AsETSArrayType()->ElementType()); in Compile()
H A DETSGen.cpp597 VReg indexReg = AllocReg(); in LoadElementDynamic() local
598 StoreAccumulator(node, indexReg); in LoadElementDynamic()
601 Ra().Emit<CallShort, 2U>(node, methodName, objectReg, indexReg); in LoadElementDynamic()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch32/
H A Dencode.cpp238 auto indexReg = mem.GetIndex(); in ConvertMem() local
241 return vixl::aarch32::MemOperand(baseReg, VixlReg(indexReg), vixl::aarch32::LSL, shift); in ConvertMem()
243 return vixl::aarch32::MemOperand(baseReg, VixlReg(indexReg)); in ConvertMem()
875 auto indexReg = mem.GetIndex(); in PrepareMemLdS() local
882 return vixl::aarch32::MemOperand(baseReg, VixlReg(indexReg), vixl::aarch32::LSL, shift); in PrepareMemLdS()
889 GetMasm()->Add(tmp, baseReg, vixl::aarch32::Operand(VixlReg(indexReg), vixl::aarch32::LSL, shift)); in PrepareMemLdS()
892 return vixl::aarch32::MemOperand(baseReg, VixlReg(indexReg)); in PrepareMemLdS()
924 auto indexReg = mem.GetIndex(); in PrepareMemLdSForFloat() local
935 GetMasm()->Add(tmp, baseReg, vixl::aarch32::Operand(VixlReg(indexReg), vixl::aarch32::LSL, scale)); in PrepareMemLdSForFloat()
938 GetMasm()->Add(tmp, baseReg, VixlReg(indexReg)); in PrepareMemLdSForFloat()
[all...]
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/amd64/
H A Dencode.cpp275 masm->shl(mem_.indexReg().as<asmjit::x86::Gp>(), asmjit::imm(bigShift_)); in Prepare()
280 auto qIndex = mem_.indexReg().as<asmjit::x86::Gp>(); in Prepare()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
H A Daarch64_cgfunc.cpp4001 auto *indexReg = SelectRegread(*static_cast<RegreadNode *>(addendExpr));
4003 indexReg, nullptr, nullptr);

Completed in 27 milliseconds