Home
last modified time | relevance | path

Searched refs:litId (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/ets_frontend/ts2panda/ts2abc/
Dts2abc.cpp692 std::string litId = GetLiteralId(g_newLiteralArrayIndex--); in ParseFunctionTypeInfo() local
694 prog.literalarray_table.emplace(litId, std::move(literalarrayInstance)); in ParseFunctionTypeInfo()
699 panda::pandasm::ScalarValue::Create<panda::pandasm::Value::Type::LITERALARRAY>(litId))); in ParseFunctionTypeInfo()
746 std::string litId = GetLiteralId(typeIndex - LITERALBUFFERINDEXOFFSET); in CreateLiteralArrayForType() local
747 typeValueLiteral.value_ = litId; in CreateLiteralArrayForType()
754 std::string litId = GetLiteralId(g_newLiteralArrayIndex--); in CreateLiteralArrayForType() local
756 prog.literalarray_table.emplace(litId, std::move(literalarrayInstance)); in CreateLiteralArrayForType()
757 return litId; in CreateLiteralArrayForType()
774 std::string litId = CreateLiteralArrayForType(exportedTypes, prog); in ParseFunctionExportedType() local
779 … panda::pandasm::ScalarValue::Create<panda::pandasm::Value::Type::LITERALARRAY>(litId))); in ParseFunctionExportedType()
[all …]
/arkcompiler/ets_frontend/ts2panda/src/base/
DbcGenUtil.ts376 export function defineClassWithBuffer(id: string, litId: string, parameterLength: number, base: VRe…
377 return new Defineclasswithbuffer(new Imm(0), id, litId, new Imm(parameterLength), base);
DtypeSystem.ts166 let litId = getLiteralKey(CompilerDriver.srcNode, type - literalBufferIndexShift);
167 literals.push(new Literal(LiteralTag.LITERALARRAY, litId));
/arkcompiler/ets_frontend/es2panda/compiler/core/
Dpandagen.cpp1491 util::UString litId(idxStr, allocator_); in CreateObjectWithBuffer() local
1492 ra_.Emit<Createobjectwithbuffer>(node, 0, litId.View()); in CreateObjectWithBuffer()
1522 util::UString litId(idxStr, allocator_); in CreateArrayWithBuffer() local
1523 ra_.Emit<Createarraywithbuffer>(node, 0, litId.View()); in CreateArrayWithBuffer()
1679 util::UString litId(idxStr, allocator_); in DefineClassWithBuffer() local
1680 …ra_.Emit<Defineclasswithbuffer>(node, 0, ctorId, litId.View(), static_cast<int64_t>(formalParamCnt… in DefineClassWithBuffer()
1933 util::UString litId(idxStr, allocator_); in NewLexEnvWithScopeInfo() local
1934 num <= util::Helpers::MAX_INT8 ? ra_.Emit<Newlexenvwithname>(node, num, litId.View()) : in NewLexEnvWithScopeInfo()
1935 ra_.Emit<WideNewlexenvwithname>(node, num, litId.View()); in NewLexEnvWithScopeInfo()
/arkcompiler/ets_frontend/ts2panda/src/
Dpandagen.ts380 let litId = getLiteralKey(CompilerDriver.srcNode, PandaGen.literalArrayBuffer.length);
381 litBuf.setKey(litId);
383 return litId;
1317 …defineClassWithBuffer(node: ts.Node, name: string, litId: string, parameterLength: number, base: V…
1320 defineClassWithBuffer(name, litId, parameterLength, base)
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
Demitter.cpp391 … auto litId = std::string(context->Binder()->Program()->RecordName()) + "_" + std::to_string(idx); in AddFunction() local
392 prog_->literalarray_table.emplace(litId, std::move(literalArrayInstance)); in AddFunction()
/arkcompiler/ets_frontend/ts2panda/src/statement/
DclassStatement.ts265 let litId: string = PandaGen.appendLiteralArrayBuffer(classBuffer);
272 pandaGen.defineClassWithBuffer(stmt, internalName, litId, parameterLength, vregs[0]);