Home
last modified time | relevance | path

Searched refs:stringId (Results 1 – 15 of 15) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
Dbytecodes.cpp476 uint16_t stringId = READ_INST_16_0(); in InitBytecodeInfo() local
477 info.inputs.emplace_back(ConstDataId(ConstDataIDType::StringIDType, stringId)); in InitBytecodeInfo()
611 uint16_t stringId = READ_INST_16_1(); in InitBytecodeInfo() local
612 info.inputs.emplace_back(ICSlotId(stringId)); in InitBytecodeInfo()
928 uint16_t stringId = READ_INST_16_1(); in InitBytecodeInfo() local
930 info.inputs.emplace_back(ConstDataId(ConstDataIDType::StringIDType, stringId)); in InitBytecodeInfo()
935 uint16_t stringId = READ_INST_16_2(); in InitBytecodeInfo() local
937 info.inputs.emplace_back(ConstDataId(ConstDataIDType::StringIDType, stringId)); in InitBytecodeInfo()
942 uint16_t stringId = READ_INST_16_1(); in InitBytecodeInfo() local
944 info.inputs.emplace_back(ConstDataId(ConstDataIDType::StringIDType, stringId)); in InitBytecodeInfo()
[all …]
Dinterpreter_stub.cpp1248 GateRef stringId = ReadInst16_1(pc); in DECLARE_ASM_HANDLER() local
1249 GateRef str = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); in DECLARE_ASM_HANDLER()
1444 GateRef stringId = ReadInst16_1(pc); in DECLARE_ASM_HANDLER() local
1447 GateRef propKey = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); in DECLARE_ASM_HANDLER()
1454 GateRef stringId = ReadInst16_2(pc); in DECLARE_ASM_HANDLER() local
1457 GateRef propKey = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); in DECLARE_ASM_HANDLER()
1832 GateRef stringId = ReadInst16_1(pc); in DECLARE_ASM_HANDLER() local
1833 GateRef propKey = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); in DECLARE_ASM_HANDLER()
1870 GateRef stringId = ReadInst16_2(pc); in DECLARE_ASM_HANDLER() local
1871 GateRef propKey = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); in DECLARE_ASM_HANDLER()
[all …]
Dinterpreter_stub-inl.h682 GateRef stringId; in GetStringId() local
686 stringId = ZExtInt16ToInt32(ReadInst16_0(info.pc)); in GetStringId()
694 stringId = ZExtInt16ToInt32(ReadInst16_1(info.pc)); in GetStringId()
696 stringId = ReadInst32_1(info.pc); in GetStringId()
704 stringId = ZExtInt16ToInt32(ReadInst16_2(info.pc)); in GetStringId()
715 return stringId; in GetStringId()
Dslowpath_lowering.cpp884 GateRef stringId = acc_.GetValueIn(gate, 1); // 1: the second parameter in LowerTryLdGlobalByName() local
885 LowerCallStubWithIC(gate, CommonStubCSigns::TryLdGlobalByName, { stringId }); in LowerTryLdGlobalByName()
1531 GateRef stringId = acc_.GetValueIn(gate, 0); in LowerLdBigInt() local
1532 GateRef numberBigInt = builder_.LoadObjectFromConstPool(jsFunc, stringId); in LowerLdBigInt()
1831 GateRef stringId = acc_.GetValueIn(gate, 0); in LowerCreateRegExpWithLiteral() local
1832 GateRef pattern = builder_.LoadObjectFromConstPool(jsFunc, stringId); in LowerCreateRegExpWithLiteral()
1914 GateRef stringId = acc_.GetValueIn(gate, 0); in LowerStOwnByName() local
1915 GateRef propKey = builder_.LoadObjectFromConstPool(jsFunc, stringId); in LowerStOwnByName()
2006 GateRef stringId = acc_.GetValueIn(gate, 1); // 1: the second parameter in LowerTryStGlobalByName() local
2008 LowerCallStubWithIC(gate, CommonStubCSigns::TryStGlobalByName, { stringId, value }); in LowerTryStGlobalByName()
[all …]
Daccess_object_stub_builder.cpp140 GateRef stringId = builder.GetStringId(info); in ResolvePropKey() local
141 return GetStringFromConstPool(glue, info.constpool, stringId); in ResolvePropKey()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dinterpreter-inl.h1035 uint16_t stringId = READ_INST_16_0(); in RunInternal() local
1036 LOG_INST() << "lda.str " << std::hex << stringId; in RunInternal()
1038 SET_ACC(GET_STR_FROM_CACHE(stringId)); in RunInternal()
2270 uint16_t stringId = READ_INST_16_1(); in RunInternal() local
2273 << "v" << v0 << " stringId:" << stringId; in RunInternal()
2279 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); in RunInternal()
2296 auto propKey = GET_STR_FROM_CACHE(stringId); // Maybe moved by GC in RunInternal()
2306 uint16_t stringId = READ_INST_16_2(); in RunInternal() local
2309 << "v" << v0 << " stringId:" << stringId; in RunInternal()
2315 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); in RunInternal()
[all …]
Dinterpreter_assembly.cpp318 uint16_t stringId = READ_INST_16_0(); in HandleLdaStrId16() local
319 LOG_INST() << "lda.str " << std::hex << stringId; in HandleLdaStrId16()
321 SET_ACC(ConstantPool::GetStringFromCache(thread, constpool, stringId)); in HandleLdaStrId16()
1885 uint16_t stringId = READ_INST_16_1(); in HandleThrowUndefinedifholewithnamePrefId16() local
1886 LOG_INST() << "intrinsic::throwundefinedifholewithname" << std::hex << stringId; in HandleThrowUndefinedifholewithnamePrefId16()
1888 JSTaggedValue obj = ConstantPool::GetStringFromCache(thread, constpool, stringId); in HandleThrowUndefinedifholewithnamePrefId16()
1899 uint16_t stringId = READ_INST_16_1(); in HandleStownbynameImm8Id16V8() local
1902 << "v" << v0 << " stringId:" << stringId; in HandleStownbynameImm8Id16V8()
1908 JSTaggedValue propKey = ConstantPool::GetStringFromCache(thread, constpool, stringId); in HandleStownbynameImm8Id16V8()
1925 …auto propKey = ConstantPool::GetStringFromCache(thread, constpool, stringId); // Maybe moved by GC in HandleStownbynameImm8Id16V8()
[all …]
/arkcompiler/runtime_core/docs/
D2022-08-18-isa-changelog.md34 such that the instructions can get consective indexes for methodId, stringId and literalarrayId.
37 stringId and literalarrayId in a class should be put in a same index header.
38 Instead, we only ask that all methodId, stringId and literalarrayId in a method should be put in on…
39 As we use 16-bit to encode methodId, stringId and literalarrayId, the number of these Ids in one me…
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dinitialization_analysis.cpp227 uint16_t stringId = acc_.GetConstantValue(constData); in CheckLdObjByName() local
228 return stringId == index; in CheckLdObjByName()
Dmethod_type_infer.cpp647 uint16_t stringId = 0; in SetStGlobalBcType() local
652 stringId = std::get<ConstDataId>(byteCodeInfo.inputs[1]).GetId(); in SetStGlobalBcType()
659 stringId = std::get<ConstDataId>(byteCodeInfo.inputs[0]).GetId(); in SetStGlobalBcType()
664 if (stringIdToGateType_.find(stringId) != stringIdToGateType_.end()) { in SetStGlobalBcType()
665 stringIdToGateType_[stringId] = inValueType; in SetStGlobalBcType()
667 stringIdToGateType_.emplace(stringId, inValueType); in SetStGlobalBcType()
676 auto stringId = std::get<ConstDataId>(byteCodeInfo.inputs[1]).GetId(); in InferLdGlobalVar() local
677 auto iter = stringIdToGateType_.find(stringId); in InferLdGlobalVar()
1002 auto stringId = std::get<ConstDataId>(byteCodeInfo.inputs[1]).GetId(); in InferTryLdGlobalByName() local
1003 auto iter = stringIdToGateType_.find(stringId); in InferTryLdGlobalByName()
/arkcompiler/ets_frontend/es2panda/util/
DpatchFix.h111 int64_t GetLiteralIdxFromStringId(const std::string &stringId);
DpatchFix.cpp132 int64_t PatchFix::GetLiteralIdxFromStringId(const std::string &stringId) in GetLiteralIdxFromStringId() argument
135 auto idxStr = stringId.substr(recordPrefix.size()); in GetLiteralIdxFromStringId()
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_manager.h574 JSTaggedValue PUBLIC_API GetStringFromConstantPool(const uint16_t stringId) const;
576 inline std::string PUBLIC_API GetStdStringFromConstantPool(const uint16_t stringId) const in GetStdStringFromConstantPool() argument
578 JSTaggedValue str = GetStringFromConstantPool(stringId); in GetStdStringFromConstantPool()
Dts_manager.cpp1517 JSTaggedValue TSManager::GetStringFromConstantPool(const uint16_t stringId) const in GetStringFromConstantPool()
1520 return ConstantPool::GetStringFromCache(thread_, constantPool.GetTaggedValue(), stringId); in GetStringFromConstantPool()
/arkcompiler/ets_frontend/es2panda/compiler/templates/
Disa.h.erb112 % if %i[method_id type_id field_id string_id stringId callsite_id literalarray_id].include?(nam…