/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/ |
D | typeExtractorEmitter.cpp | 133 std::string literalId = std::string(recorder->GetRecordName()) + "_" + in GenFunctionTypeInfo() local 136 prog->literalarray_table.emplace(literalId, std::move(literalArrayInstance)); in GenFunctionTypeInfo() 140 std::make_unique<ScalarValue>(ScalarValue::Create<ValueType::LITERALARRAY>(literalId))); in GenFunctionTypeInfo() 172 std::string literalId = std::string(recorder->GetRecordName()) + "_" + in GenImportOrDeclareTypeInfo() local 175 prog->literalarray_table.emplace(literalId, std::move(literalArrayInstance)); in GenImportOrDeclareTypeInfo() 178 std::make_unique<ScalarValue>(ScalarValue::Create<ValueType::LITERALARRAY>(literalId))); in GenImportOrDeclareTypeInfo() 244 std::string literalId = std::string(recorder->GetRecordName()) + "_" + std::to_string(idx); in GenTypeLiteralBuffers() local 246 prog->literalarray_table.emplace(literalId, std::move(literalArrayInstance)); in GenTypeLiteralBuffers()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | bytecode_info_collector.cpp | 459 panda_file::File::EntityId literalId) in CollectInnerMethodsFromNewLiteral() argument 462 LiteralDataExtractor::GetMethodOffsets(jsPandaFile_, literalId, methodOffsets); in CollectInnerMethodsFromNewLiteral() 500 auto literalId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC() local 502 CollectInnerMethodsFromNewLiteral(method, literalId); in CollectMethodInfoFromBC() 513 auto literalId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC() local 515 CollectInnerMethodsFromNewLiteral(method, literalId); in CollectMethodInfoFromBC() 520 auto literalId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC() local 522 CollectInnerMethodsFromNewLiteral(method, literalId); in CollectMethodInfoFromBC() 532 auto literalId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC() local 534 CollectInnerMethodsFromNewLiteral(method, literalId); in CollectMethodInfoFromBC()
|
D | bytecode_info_collector.h | 777 …llectInnerMethodsFromNewLiteral(const MethodLiteral *method, panda_file::File::EntityId literalId);
|
D | interpreter_stub.cpp | 3687 GateRef literalId = ReadInst16_3(pc); in DECLARE_ASM_HANDLER() local 3698 Int16ToTaggedInt(literalId), module, in DECLARE_ASM_HANDLER() 3720 GateRef literalId = ReadInst16_4(pc); in DECLARE_ASM_HANDLER() local 3731 Int16ToTaggedInt(literalId), module, in DECLARE_ASM_HANDLER() 3753 GateRef literalId = ReadInst16_3(pc); in DECLARE_ASM_HANDLER() local 3766 Int16ToTaggedInt(literalId), module, in DECLARE_ASM_HANDLER() 5069 GateRef literalId = ReadInst16_3(pc); in DECLARE_ASM_HANDLER() local 5071 IntToTaggedInt(count), constpool, IntToTaggedInt(literalId), module}); in DECLARE_ASM_HANDLER() 5106 GateRef literalId = ReadInst16_5(pc); in DECLARE_ASM_HANDLER() local 5116 Int16ToTaggedInt(literalId), in DECLARE_ASM_HANDLER()
|
D | slowpath_lowering.cpp | 2350 GateRef literalId = acc_.GetValueIn(gate, 1); in LowerDefineClassWithBuffer() local 2360 builder_.ToTaggedInt(methodId), builder_.ToTaggedInt(literalId), module, in LowerDefineClassWithBuffer() 3209 GateRef literalId = acc_.GetValueIn(gate, 1); in LowerCreatePrivateProperty() local 3215 builder_.ToTaggedInt(count), constpool, builder_.ToTaggedInt(literalId), module}); in LowerCreatePrivateProperty() 3241 GateRef literalId = acc_.GetValueIn(gate, 1); in LowerDefineSendableClass() local 3246 auto args = { proto, constpool, builder_.ToTaggedInt(methodId), builder_.ToTaggedInt(literalId), in LowerDefineSendableClass()
|
D | bytecodes.cpp | 1666 uint32_t literalId = READ_INST_16_3(); in InitBytecodeInfo() local 1668 info.inputs.emplace_back(Immediate(literalId)); in InitBytecodeInfo()
|
/arkcompiler/ets_runtime/ecmascript/ts_types/tests/ |
D | ts_type_test_helper.h | 30 static void AddLiteral(pandasm::Program &program, const std::string &literalId, in AddLiteral() argument 40 program.literalarray_table.emplace(literalId, literalArray); in AddLiteral()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
D | program_object.h | 284 panda_file::File::EntityId literalId = constpool->GetEntityId(literal); variable 287 … thread, jsPandaFile, literalId, constpool, entry, needSetAotFlag, entryIndexes, nullptr, 304 panda_file::File::EntityId literalId(literal); in GetFieldLiteral() 306 thread, jsPandaFile, literalId, constpool, entry, false, entryIndexes); in GetFieldLiteral()
|
D | type_literal_extractor.cpp | 75 EntityId literalId(typeOffset); in ProcessTypeLiteral() local 78 lda.EnumerateLiteralVals(literalId, in ProcessTypeLiteral()
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
D | slow_runtime_stub.h | 169 … uint16_t methodId, uint16_t literalId, JSTaggedValue module, 172 … JSTaggedValue constpool, uint16_t methodId, uint16_t literalId, 193 uint32_t count, JSTaggedValue constpool, uint32_t literalId, JSTaggedValue module);
|
D | slow_runtime_stub.cpp | 1118 … uint16_t methodId, uint16_t literalId, JSTaggedValue module, in CreateClassWithBuffer() argument 1128 constpoolHandle, methodId, literalId, in CreateClassWithBuffer() 1133 … JSTaggedValue constpool, uint16_t methodId, uint16_t literalId, in CreateSharedClass() argument 1141 literalId, length, moduleHandle); in CreateSharedClass() 1240 uint32_t count, JSTaggedValue constpool, uint32_t literalId, JSTaggedValue module) in CreatePrivateProperty() argument 1243 …untimeStubs::RuntimeCreatePrivateProperty(thread, lexicalEnv, count, constpool, literalId, module); in CreatePrivateProperty()
|
D | interpreter-inl.h | 7438 uint32_t literalId = READ_INST_16_3(); in RunInternal() local 7440 << "count:" << count << ", literalId:" << literalId; in RunInternal() 7444 count, constpool, literalId, module); in RunInternal()
|
/arkcompiler/ets_runtime/ecmascript/patch/ |
D | patch_loader.cpp | 434 auto literalId = jsPandaFile->ResolveMethodIndex(methodLiteral->GetMethodId(), in CollectClassInfo() local 437 lda.EnumerateLiteralVals(literalId, [&classInfo, className] in CollectClassInfo()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
D | runtime_stubs.h | 569 uint16_t methodId, uint16_t literalId, 575 … uint16_t methodId, uint16_t literalId, uint16_t length, 792 uint32_t count, JSTaggedValue lexicalEnv, uint32_t literalId, JSTaggedValue module);
|
D | runtime_stubs-inl.h | 865 uint16_t methodId, uint16_t literalId, in RuntimeCreateClassWithBuffer() argument 885 JSTaggedValue val = constpoolHandle->GetObjectFromCache(literalId); in RuntimeCreateClassWithBuffer() 891 …auto literalObj = ConstantPool::GetClassLiteralFromCache(thread, constpoolHandle, literalId, entry… in RuntimeCreateClassWithBuffer() 920 uint16_t methodId, uint16_t literalId, in RuntimeCreateSharedClass() argument 936 …ConstantPool::GetClassLiteralFromCache(thread, constpoolHandle, literalId, entry, ClassKind::SENDA… in RuntimeCreateSharedClass() 2974 uint32_t count, JSTaggedValue constpool, uint32_t literalId, JSTaggedValue module) in RuntimeCreatePrivateProperty() argument 2993 …lue literalObj = ConstantPool::GetClassLiteralFromCache(thread, handleConstpool, literalId, entry); in RuntimeCreatePrivateProperty()
|
D | runtime_stubs.cpp | 1345 JSTaggedValue literalId = GetArg(argv, argc, 4); // 4: means the four parameter in DEF_RUNTIME_STUBS() local 1350 static_cast<uint16_t>(literalId.GetInt()), in DEF_RUNTIME_STUBS() 1360 JSTaggedValue literalId = GetArg(argv, argc, 3); // 3: means the third parameter in DEF_RUNTIME_STUBS() local 1365 static_cast<uint16_t>(literalId.GetInt()), in DEF_RUNTIME_STUBS() 2650 …uint32_t literalId = static_cast<uint32_t>(GetArg(argv, argc, 3).GetInt()); // 3: means the third… in DEF_RUNTIME_STUBS() local 2652 …return RuntimeCreatePrivateProperty(thread, lexicalEnv, count, constpool, literalId, module).GetRa… in DEF_RUNTIME_STUBS()
|