Lines Matching +full:- +full:- +full:-
7 * http://www.apache.org/licenses/LICENSE-2.0
40 // * Runtime (C++) -> AOTCompiler:
170 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
189 …size_t slotOffset = static_cast<size_t>(Index::PrevFpIndex) - static_cast<size_t>(Index::TypeIndex… in ComputeReservedSize()
204 - MEMBER_OFFSET(OptimizedFrame, prevFp)); in GetFrameFromSp()
257 return reinterpret_cast<AsmBridgeFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
276 // sp ----> |--------------------------| ---------------
278 // currentFp--> |--------------------------| |
280 // |--------------------------| OptimizedUnfoldArgVFrame
282 // |--------------------------| |
284 // +--------------------------+ ---------------
286 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
314 - MEMBER_OFFSET(OptimizedJSFunctionUnfoldArgVFrame, prevFp)); in GetFrameFromSp()
338 // +--------------------------+
339 // | arg[N-1] |
340 // +--------------------------+
342 // +--------------------------+
344 // +--------------------------+
346 // sp ---> +--------------------------+ -----------------
349 // |--------------------------| OptimizedJSFunctionArgsConfigFrame
352 // +--------------------------+ -----------------
354 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
378 - MEMBER_OFFSET(OptimizedJSFunctionArgConfigFrame, prevFp)); in GetFrameFromSp()
393 // +--------------------------+
394 // | arg[N-1] |
395 // +--------------------------+
397 // +--------------------------+
399 // +--------------------------+
401 // +--------------------------+
403 // +--------------------------+
404 // | new-target |
405 // +--------------------------+
406 // | call-target |
407 // |--------------------------|
409 // |--------------------------|
411 // sp ----> |--------------------------| ---------------
413 // |--------------------------| |
415 // |--------------------------| OptimizedJSFunctionFrame
417 // |--------------------------| |
418 // | call-target | v
419 // +--------------------------+ ---------------
421 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
440 … return static_cast<size_t>(Index::ReturnAddrIndex) - static_cast<size_t>(Index::JSFuncIndex); in GetFunctionDeltaReturnAddr()
492 …size_t slotOffset = static_cast<size_t>(Index::PrevFpIndex) - static_cast<size_t>(Index::JSFuncInd… in ComputeReservedJSFuncOffset()
507 - MEMBER_OFFSET(OptimizedJSFunctionFrame, prevFp)); in GetFrameFromSp()
510 // dynamic callee saveregisters for x86-64
524 // +--------------------------+
526 // sp ---> +--------------------------+ -----------------
528 // |--------------------------| |
530 // |--------------------------| |
532 // +--------------------------+ -----------------
568 …size_t slotOffset = static_cast<size_t>(Index::PrevFpIndex) - static_cast<size_t>(Index::PreLeaveF… in ComputeReservedSize()
579 return reinterpret_cast<OptimizedEntryFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
585 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
603 return reinterpret_cast<InterpretedFrameBase *>(const_cast<JSTaggedType *>(sp)) - 1; in GetFrameFromSp()
621 alignas(EAS) JSTaggedType *prev {nullptr}; // for llvm :c-fp ; for interrupt: thread-fp for gc
629 // +----------------------------------+
630 // | argv[n-1] |
631 // |----------------------------------|
633 // |----------------------------------|
635 // |----------------------------------|
637 // |----------------------------------|
639 // |----------------------------------|
641 // +----------------------------------+--------+
643 // |----------------------------------| |
645 // |----------------------------------| |
647 // |----------------------------------| |
649 // |----------------------------------| |
651 // |----------------------------------| |
653 // |----------------------------------| InterpretedFrame
655 // |----------------------------------| |
657 // |----------------------------------| |
659 // |----------------------------------| |
661 // +----------------------------------+--------+
663 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
694 return reinterpret_cast<InterpretedFrame *>(const_cast<JSTaggedType *>(sp)) - 1; in GetFrameFromSp()
726 // |--------------------------| ---------------
730 // |--------------------------| InterpretedBuiltinFrame
731 // | bytecode-PC | |
732 // |--------------------------| |
733 // | call-target | v
734 // +--------------------------+ ---------------
736 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
756 return reinterpret_cast<InterpretedBuiltinFrame *>(const_cast<JSTaggedType *>(sp)) - 1; in GetFrameFromSp()
775 // +----------------------------------+
776 // | argv[n-1] |
777 // |----------------------------------|
779 // |----------------------------------|
781 // |----------------------------------|
783 // |----------------------------------|
785 // |----------------------------------|
787 // +----------------------------------+--------+
791 // |----------------------------------| |
793 // |----------------------------------| |
795 // |----------------------------------| AsmInterpretedFrame
797 // |----------------------------------| |
799 // |----------------------------------| |
801 // |----------------------------------| |
803 // |----------------------------------| |
804 // | call-target | v
805 // +----------------------------------+--------+
807 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
843 return reinterpret_cast<AsmInterpretedFrame *>(const_cast<JSTaggedType *>(sp)) - 1; in GetFrameFromSp()
922 // +----------------------------------+---------------
926 // |----------------------------------| |
928 // |----------------------------------|---------------
930 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
948 return reinterpret_cast<InterpretedEntryFrame *>(const_cast<JSTaggedType *>(sp)) - 1; in GetFrameFromSp()
967 // +----------------------------------+---------------
971 // |----------------------------------| |
973 // |----------------------------------|---------------
975 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
998 return reinterpret_cast<AsmInterpretedEntryFrame *>(const_cast<JSTaggedType *>(sp)) - 1; in GetFrameFromSp()
1006 // +----------------------------------+---------------
1007 // | ret-address | ^
1008 // |----------------------------------| |
1012 // |----------------------------------|---------------
1014 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1027 return reinterpret_cast<AsmInterpretedBridgeFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1057 // * Optimized-leaved-frame layout as the following:
1058 // +--------------------------+
1059 // | argv[N-1] |
1060 // |--------------------------|
1062 // |--------------------------|
1064 // +--------------------------+-------------
1066 // |--------------------------| |
1068 // sp --> |--------------------------| OptimizedLeaveFrame
1069 // | ret-addr | |
1070 // |--------------------------| |
1072 // |--------------------------| |
1074 // +--------------------------+-------------
1076 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1083 // argv[0]...argv[argc-1] dynamic according to agc
1086 return reinterpret_cast<OptimizedLeaveFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1105 // * Optimized-leaved-frame-with-argv layout as the following:
1106 // +--------------------------+
1108 // +--------------------------+-------------
1110 // |--------------------------| |
1112 // sp --> |--------------------------| |
1114 // |--------------------------| |
1116 // |--------------------------| |
1118 // +--------------------------+-------------
1129 return reinterpret_cast<OptimizedWithArgvLeaveFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1148 // +--------------------------+
1149 // | argv[N-1] |
1150 // |--------------------------|
1152 // |--------------------------|
1154 // +--------------------------+-------------
1156 // |--------------------------| |
1158 // +--------------------------+ |
1159 // | ret-addr | |
1160 // sp --> |--------------------------| OptimizedBuiltinLeaveFrame
1162 // |--------------------------| |
1164 // |--------------------------| |
1166 // +--------------------------+-------------
1168 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1173 return reinterpret_cast<OptimizedBuiltinLeaveFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1208 // argv[0]...argv[argc-1] dynamic according to agc
1212 // +--------------------------+
1213 // | argV[N - 1] |
1214 // |--------------------------|
1216 // |--------------------------+
1218 // +--------------------------+
1219 // | argV[1]=new-target |
1220 // +--------------------------+
1221 // | argV[0]=call-target |
1222 // +--------------------------+ ---------
1224 // |--------------------------| |
1226 // |--------------------------| |
1228 // |--------------------------| |
1230 // |--------------------------| |
1232 // +--------------------------+ ---------
1234 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1255 return reinterpret_cast<BuiltinFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1273 return offset - GetPreFpOffset(isArch32); in GetNumArgsToFpDelta()
1278 return offset - GetPreFpOffset(isArch32); in GetStackArgsToFpDelta()
1308 // +--------------------------+ ---------
1310 // |--------------------------| |
1312 // |--------------------------| |
1314 // |--------------------------| |
1316 // +--------------------------+ |
1318 // +--------------------------+ ---------
1320 // +--------------------------+
1322 // +--------------------------+
1324 // +--------------------------+
1326 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1332 StackArgsTopIndex = -1,
1333 NumArgsIndex = -1,
1343 return reinterpret_cast<BuiltinWithArgvFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1359 return topAddress - static_cast<uint32_t>(numberArgs) * sizeof(uintptr_t); in GetStackArgsAddress()
1396 reinterpret_cast<uintptr_t>(current_) - sizeof(FrameType)); in GetFrameType()