/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
D | builtins_string_stub_builder.cpp | 39 result = ZExtInt16ToInt32(Load(VariableType::INT16(), PtrAdd(dataUtf16, in StringAt() 45 result = ZExtInt8ToInt32(Load(VariableType::INT8(), PtrAdd(dataUtf16, in StringAt() 72 GateRef dataAddr = PtrAdd(dataUtf, PtrMul(ZExtInt32ToPtr(index), IntPtr(sizeof(uint16_t)))); in CreateFromEcmaString() 79 GateRef dataAddr = PtrAdd(dataUtf, PtrMul(ZExtInt32ToPtr(index), IntPtr(sizeof(uint8_t)))); in CreateFromEcmaString() 104 GateRef dst = PtrAdd(*result, IntPtr(LineEcmaString::DATA_OFFSET)); in CreateFromEcmaString() 189 GateRef dst = PtrAdd(*result, IntPtr(LineEcmaString::DATA_OFFSET)); in FastSubUtf8String() 190 GateRef source = PtrAdd(GetNormalStringData(thisValue), ZExtInt32ToPtr(from)); in FastSubUtf8String() 214 GateRef source = PtrAdd(GetNormalStringData(thisValue), fromOffset); in FastSubUtf16String() 230 GateRef source1 = PtrAdd(GetNormalStringData(thisValue), fromOffset); in FastSubUtf16String() 231 GateRef dst = PtrAdd(*result, IntPtr(LineEcmaString::DATA_OFFSET)); in FastSubUtf16String() [all …]
|
D | builtins_stubs.cpp | 98 GateRef runtimeCallInfoArgs = PtrAdd(numArgs, IntPtr(NUM_MANDATORY_JSFUNC_ARGS)); in CallSlowPath() 908 GateRef argv = PtrAdd(argList, IntPtr(TaggedArray::DATA_OFFSET)); in DECLARE_BUILTINS() 927 GateRef elementArgv = PtrAdd(elements, IntPtr(TaggedArray::DATA_OFFSET)); in DECLARE_BUILTINS() 936 GateRef elementArgv = PtrAdd(elements, IntPtr(TaggedArray::DATA_OFFSET)); in DECLARE_BUILTINS()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | async_function_lowering.cpp | 50 GateRef val = builder_.PtrAdd(newTarget, contextOffset); in ProcessJumpTable() 55 val = builder_.PtrAdd(contextGate, bcOffset); in ProcessJumpTable()
|
D | stub_builder-inl.h | 345 inline GateRef StubBuilder::PtrAdd(GateRef x, GateRef y) in PtrAdd() function 347 return env_->GetBuilder()->PtrAdd(x, y); in PtrAdd() 1695 GateRef dataOffset = PtrAdd(offset, IntPtr(TaggedArray::DATA_OFFSET)); in SetValueToTaggedArrayWithAttr() 1703 GateRef dataOffset = PtrAdd(offset, IntPtr(TaggedArray::DATA_OFFSET)); in SetValueToTaggedArrayWithRep() 1712 GateRef dataOffset = PtrAdd(offset, IntPtr(TaggedArray::DATA_OFFSET)); in SetValueToTaggedArray() 1719 GateRef dataOffset = PtrAdd(offset, IntPtr(TaggedArray::DATA_OFFSET)); in GetValueFromTaggedArray() 1778 return PtrAdd(layout, IntPtr(TaggedArray::DATA_OFFSET)); in GetPropertiesAddrFromLayoutInfo() 2117 GateRef x = Load(VariableType::NATIVE_POINTER(), PtrAdd(IntPtr(offset), region), in InYoungGeneration() 2216 GateRef offset = PtrAdd(ZExtInt32ToPtr(index), in GetBoxFromGlobalDictionary() 2299 return PtrAdd(IntPtr(TaggedArray::DATA_OFFSET), in ComputeTaggedArraySize() [all …]
|
D | interpreter_stub.cpp | 3680 GateRef argv = PtrAdd(sp, PtrMul(ZExtInt8ToPtr(ReadInst8_2(pc)), IntPtr(8))); // 8: byteSize in DECLARE_ASM_HANDLER() 3692 GateRef argv = PtrAdd(sp, PtrMul(ZExtInt8ToPtr(ReadInst8_2(pc)), IntPtr(8))); // 8: byteSize in DECLARE_ASM_HANDLER() 3705 GateRef argv = PtrAdd(sp, PtrMul( in DECLARE_ASM_HANDLER() 3706 PtrAdd(ZExtInt8ToPtr(funcReg), IntPtr(1)), IntPtr(8))); // 1: skip function in DECLARE_ASM_HANDLER() 3720 GateRef argv = PtrAdd(sp, PtrMul( in DECLARE_ASM_HANDLER() 3721 PtrAdd(thisReg, IntPtr(1)), IntPtr(8))); // 1: skip this in DECLARE_ASM_HANDLER() 3735 GateRef argv = PtrAdd(sp, PtrMul( in DECLARE_ASM_HANDLER() 3736 PtrAdd(thisReg, IntPtr(1)), IntPtr(8))); // 1: skip this in DECLARE_ASM_HANDLER() 3750 GateRef thisValue = GetVregValue(sp, PtrAdd(funcReg, IntPtr(1))); in DECLARE_ASM_HANDLER() 3751 GateRef argv = PtrAdd(sp, PtrMul( in DECLARE_ASM_HANDLER() [all …]
|
D | circuit_builder-inl.h | 91 GateRef val = PtrAdd(base, offset); in Load() 100 GateRef val = PtrAdd(base, offset); in Load() 583 GateRef dataOffset = PtrAdd(offset, IntPtr(TaggedArray::DATA_OFFSET)); in GetValueFromTaggedArray() 591 GateRef dataOffset = PtrAdd(offset, IntPtr(TaggedArray::DATA_OFFSET)); in SetValueToTaggedArray() 602 return PtrAdd(x, IntPtr(-JSTaggedValue::TAG_WEAK)); in LoadObjectFromWeakRef()
|
D | interpreter_stub-inl.h | 332 GateRef frameTypeOffset = PtrAdd(prevOffset, IntPtr( in SetFrameState() 368 PtrAdd(frameBase, IntPtr(JSThread::RESERVE_STACK_SIZE * sizeof(JSTaggedType)))); in CheckStackOverflow() 552 GateRef newPc = PtrAdd(pc, format); in Dispatch()
|
D | common_stubs.cpp | 291 GateRef args = PtrAdd(argv, IntPtr(NUM_MANDATORY_JSFUNC_ARGS * 8)); // 8: ptr size in GenerateCircuit() 788 GateRef keyOffset = PtrAdd(gConstPointer, in GenerateCircuit() 813 … GateRef actualArgv = PtrAdd(argv, IntPtr(NUM_MANDATORY_JSFUNC_ARGS * sizeof(JSTaggedValue))); in GenerateCircuit()
|
D | typed_array_stub_builder.cpp | 66 result = PtrAdd(*result, IntPtr(ByteArray::DATA_OFFSET)); in GetDataPointFromBuffer()
|
D | type_mcr_lowering.cpp | 779 GateRef data = builder_.PtrAdd(arrbuffer, builder_.IntPtr(ByteArray::DATA_OFFSET)); in LowerTypedArrayLoadElement() 887 GateRef data = builder_.PtrAdd(arrbuffer, builder_.IntPtr(ByteArray::DATA_OFFSET)); in LowerTypedArrayStoreElement() 932 GateRef data = builder_.PtrAdd(arrbuffer, builder_.IntPtr(ByteArray::DATA_OFFSET)); in LowerUInt8ClampedArrayStoreElement()
|
D | stub_builder.cpp | 187 PtrAdd(dataoffset, capcityoffset))); in FindElementFromNumberDictionary() 244 PtrAdd(dataoffset, capcityoffset))); in FindEntryFromNameDictionary() 353 PtrAdd(dataoffset, capcityoffset))); in FindEntryFromTransitionDictionary() 1003 GateRef ptr = PtrAdd(base, offset); in Store() 1135 GateRef slotAddr = PtrAdd(TaggedCastToIntPtr(obj), offset); in SetValueWithBarrier() 1157 GateRef bitsetData = PtrAdd(oldToNewSet, IntPtr(RememberedSet::GCBITSET_DATA_OFFSET)); in SetValueWithBarrier() 2053 GateRef base = PtrAdd(array, IntPtr(TaggedArray::DATA_OFFSET)); in StoreWithTransition() 2170 GateRef dataOffset = PtrAdd(attroffset, IntPtr(TaggedArray::DATA_OFFSET)); in UpdateValueAndAttributes() 4308 auto data = PtrAdd(value, IntPtr(BigInt::DATA_OFFSET)); in FastToBoolean() 6071 GateRef address = PtrAdd(str, IntPtr(ConstantString::CONSTANT_DATA_OFFSET)); in GetNormalStringData() [all …]
|
D | new_object_stub_builder.cpp | 345 auto newTop = PtrAdd(top, size_); in AllocateInYoung()
|
D | lcr_lowering.cpp | 589 GateRef newTop = builder_.PtrAdd(top, size); in HeapAllocateInYoung()
|
D | circuit_builder.cpp | 1102 GateRef ptr = PtrAdd(base, offset); in StoreWithNoBarrier() 1540 return PtrAdd(IntPtr(TaggedArray::DATA_OFFSET), in ComputeTaggedArraySize()
|
D | stub_builder.h | 154 GateRef PtrAdd(GateRef x, GateRef y);
|
D | circuit_builder.h | 52 V(PtrAdd, Add, MachineType::ARCH) \
|
D | slowpath_lowering.cpp | 2631 GateRef dataOffset = builder_.PtrAdd(offset, builder_.IntPtr(TaggedArray::DATA_OFFSET)); in GetValueFromTaggedArray()
|