/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | bytecodes.cpp | 476 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 …]
|
D | interpreter_stub.cpp | 1248 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 …]
|
D | interpreter_stub-inl.h | 682 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()
|
D | slowpath_lowering.cpp | 884 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 …]
|
D | access_object_stub_builder.cpp | 140 GateRef stringId = builder.GetStringId(info); in ResolvePropKey() local 141 return GetStringFromConstPool(glue, info.constpool, stringId); in ResolvePropKey()
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
D | interpreter-inl.h | 1035 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 …]
|
D | interpreter_assembly.cpp | 318 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/ |
D | 2022-08-18-isa-changelog.md | 34 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/ |
D | initialization_analysis.cpp | 227 uint16_t stringId = acc_.GetConstantValue(constData); in CheckLdObjByName() local 228 return stringId == index; in CheckLdObjByName()
|
D | method_type_infer.cpp | 647 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/ |
D | patchFix.h | 111 int64_t GetLiteralIdxFromStringId(const std::string &stringId);
|
D | patchFix.cpp | 132 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/ |
D | ts_manager.h | 574 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()
|
D | ts_manager.cpp | 1517 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/ |
D | isa.h.erb | 112 % if %i[method_id type_id field_id string_id stringId callsite_id literalarray_id].include?(nam…
|