Home
last modified time | relevance | path

Searched refs:PtrAdd (Results 1 – 17 of 17) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_string_stub_builder.cpp39 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 …]
Dbuiltins_stubs.cpp98 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/
Dasync_function_lowering.cpp50 GateRef val = builder_.PtrAdd(newTarget, contextOffset); in ProcessJumpTable()
55 val = builder_.PtrAdd(contextGate, bcOffset); in ProcessJumpTable()
Dstub_builder-inl.h345 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 …]
Dinterpreter_stub.cpp3680 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 …]
Dcircuit_builder-inl.h91 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()
Dinterpreter_stub-inl.h332 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()
Dcommon_stubs.cpp291 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()
Dtyped_array_stub_builder.cpp66 result = PtrAdd(*result, IntPtr(ByteArray::DATA_OFFSET)); in GetDataPointFromBuffer()
Dtype_mcr_lowering.cpp779 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()
Dstub_builder.cpp187 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 …]
Dnew_object_stub_builder.cpp345 auto newTop = PtrAdd(top, size_); in AllocateInYoung()
Dlcr_lowering.cpp589 GateRef newTop = builder_.PtrAdd(top, size); in HeapAllocateInYoung()
Dcircuit_builder.cpp1102 GateRef ptr = PtrAdd(base, offset); in StoreWithNoBarrier()
1540 return PtrAdd(IntPtr(TaggedArray::DATA_OFFSET), in ComputeTaggedArraySize()
Dstub_builder.h154 GateRef PtrAdd(GateRef x, GateRef y);
Dcircuit_builder.h52 V(PtrAdd, Add, MachineType::ARCH) \
Dslowpath_lowering.cpp2631 GateRef dataOffset = builder_.PtrAdd(offset, builder_.IntPtr(TaggedArray::DATA_OFFSET)); in GetValueFromTaggedArray()