Lines Matching +full:- +full:- +full:-
7 * http://www.apache.org/licenses/LICENSE-2.0
42 // * Runtime (C++) -> AOTCompiler:
181 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
206 …size_t slotOffset = static_cast<size_t>(Index::PrevFpIndex) - static_cast<size_t>(Index::TypeIndex… in ComputeReservedSize()
226 return reinterpret_cast<OptimizedFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
246 // +--------------------------+ ---------
248 // callerSP ---> |--------------------------| |
250 // |--------------------------| BuiltinBuiltinFrame
252 // fp ---> |--------------------------| |
254 // +--------------------------+ ---------
256 // calleeSP ---> +--------------------------+
258 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
283 …size_t slotOffset = static_cast<size_t>(Index::PrevFpIndex) - static_cast<size_t>(Index::TypeIndex… in ComputeReservedSize()
308 return reinterpret_cast<BaselineBuiltinFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
364 return reinterpret_cast<AsmBridgeFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
383 // callerSP ---> |--------------------------| ---------------
385 // |--------------------------| |
387 // fp ---> |--------------------------| OptimizedUnfoldArgVFrame
389 // |--------------------------| |
391 // calleESP ---> +--------------------------+ ---------------
393 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
432 … return reinterpret_cast<OptimizedJSFunctionUnfoldArgVFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
457 // +--------------------------+
458 // | arg[N-1] |
459 // +--------------------------+
461 // +--------------------------+
463 // +--------------------------+
465 // sp ---> +--------------------------+ -----------------
468 // fp ---> |--------------------------| OptimizedJSFunctionArgsConfigFrame
471 // +--------------------------+ -----------------
473 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
503 … return reinterpret_cast<OptimizedJSFunctionArgConfigFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
520 // +----------------------------------------+
521 // | arg[N-1] |
522 // +----------------------------------------+
524 // +----------------------------------------+
526 // +----------------------------------------+
528 // +----------------------------------------+
530 // +----------------------------------------+
531 // | new-target [not exist in fastcall] |
532 // +----------------------------------------+
533 // | call-target |
534 // argv ---> +----------------------------------------+
536 // |----------------------------------------|
538 // callerSp ---> |----------------------------------------|----------------
540 // |----------------------------------------| |
542 // fp ---> |----------------------------------------| OptimizedJSFunctionFrame
544 // |----------------------------------------| |
545 // | call-target | v
546 // calleeSP ---> +----------------------------------------+----------------
548 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
567 … return static_cast<size_t>(Index::ReturnAddrIndex) - static_cast<size_t>(Index::JSFuncIndex); in GetFunctionDeltaReturnAddr()
629 …size_t slotOffset = static_cast<size_t>(Index::PrevFpIndex) - static_cast<size_t>(Index::JSFuncInd… in ComputeReservedJSFuncOffset()
635 return -(int)sizeof(uintptr_t); in GetFrmaeTypeToFpDelta()
640 int slotOffset = static_cast<int>(Index::JSFuncIndex) - static_cast<int>(Index::TypeIndex); in GetFunctionToFpDelta()
659 return reinterpret_cast<OptimizedJSFunctionFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
663 // dynamic callee saveregisters for x86-64
677 // +--------------------------+
679 // callerSP --> +--------------------------+ -----------------
681 // fp --> |--------------------------| |
683 // |--------------------------| |
685 // calleeSP --> +--------------------------+ -----------------
721 …size_t slotOffset = static_cast<size_t>(Index::PrevFpIndex) - static_cast<size_t>(Index::PreLeaveF… in ComputeReservedSize()
734 return reinterpret_cast<OptimizedEntryFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
754 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
772 return reinterpret_cast<InterpretedFrameBase *>(const_cast<JSTaggedType *>(sp)) - 1; in GetFrameFromSp()
790 alignas(EAS) JSTaggedType *prev {nullptr}; // for llvm :c-fp ; for interrupt: thread-fp for gc
798 // +----------------------------------+
799 // | argv[n-1] |
800 // |----------------------------------|
802 // |----------------------------------|
804 // |----------------------------------|
806 // |----------------------------------|
808 // |----------------------------------|
810 // +----------------------------------+--------+
812 // |----------------------------------| |
814 // |----------------------------------| |
816 // |----------------------------------| |
818 // |----------------------------------| |
820 // |----------------------------------| |
822 // |----------------------------------| InterpretedFrame
824 // |----------------------------------| |
826 // |----------------------------------| |
828 // |----------------------------------| |
830 // +----------------------------------+--------+
832 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
863 return reinterpret_cast<InterpretedFrame *>(const_cast<JSTaggedType *>(sp)) - 1; in GetFrameFromSp()
918 // |--------------------------| ---------------
922 // |--------------------------| InterpretedBuiltinFrame
923 // | bytecode-PC | |
924 // |--------------------------| |
925 // | call-target | v
926 // +--------------------------+ ---------------
928 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
948 return reinterpret_cast<InterpretedBuiltinFrame *>(const_cast<JSTaggedType *>(sp)) - 1; in GetFrameFromSp()
984 // +----------------------------------+
985 // | argv[n-1] |
986 // |----------------------------------|
988 // |----------------------------------|
990 // |----------------------------------|
992 // |----------------------------------|
994 // |----------------------------------|
996 // +----------------------------------+--------+
1000 // |----------------------------------| |
1002 // |----------------------------------| |
1004 // |----------------------------------| AsmInterpretedFrame
1006 // |----------------------------------| |
1008 // |----------------------------------| |
1010 // |----------------------------------| |
1012 // |----------------------------------| |
1013 // | call-target | v
1014 // +----------------------------------+--------+
1016 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1052 return reinterpret_cast<AsmInterpretedFrame *>(const_cast<JSTaggedType *>(sp)) - 1; in GetFrameFromSp()
1155 // +----------------------------------+---------------
1159 // |----------------------------------| |
1161 // |----------------------------------|---------------
1163 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1181 return reinterpret_cast<InterpretedEntryFrame *>(const_cast<JSTaggedType *>(sp)) - 1; in GetFrameFromSp()
1211 // +----------------------------------+---------------
1215 // |----------------------------------| |
1217 // |----------------------------------|---------------
1219 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1242 return reinterpret_cast<AsmInterpretedEntryFrame *>(const_cast<JSTaggedType *>(sp)) - 1; in GetFrameFromSp()
1262 // +----------------------------------+---------------
1263 // | ret-address | ^
1264 // |----------------------------------| |
1268 // |----------------------------------|---------------
1270 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1283 return reinterpret_cast<AsmInterpretedBridgeFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1327 // * Optimized-leaved-frame layout as the following:
1328 // +--------------------------+
1329 // | argv[N-1] |
1330 // |--------------------------|
1332 // |--------------------------|
1334 // +--------------------------+-------------
1336 // |--------------------------| |
1338 // callerSP --> |--------------------------| OptimizedLeaveFrame
1339 // | ret-addr | |
1340 // |--------------------------| |
1342 // fp --> |--------------------------| |
1344 // calleeSP --> +--------------------------+-------------
1346 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1353 // argv[0]...argv[argc-1] dynamic according to agc
1356 return reinterpret_cast<OptimizedLeaveFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1399 // * Optimized-leaved-frame-with-argv layout as the following:
1400 // +--------------------------+
1402 // +--------------------------+-------------
1404 // |--------------------------| |
1406 // callerSP --> |--------------------------| |
1408 // |--------------------------| |
1410 // fp --> |--------------------------| |
1412 // calleeSP --> +--------------------------+-------------
1422 return reinterpret_cast<OptimizedWithArgvLeaveFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1465 // * Optimized-builtin-leave-frame layout as the following:
1466 // +--------------------------+
1467 // | argv[N-1] |
1468 // |--------------------------|
1470 // |--------------------------|
1472 // +--------------------------+-------------
1474 // |--------------------------| |
1476 // callerSP --> +--------------------------+ |
1477 // | ret-addr | |
1478 // |--------------------------| OptimizedBuiltinLeaveFrame
1480 // fp --> |--------------------------| |
1482 // |--------------------------| |
1484 // calleeSP --> +--------------------------+-------------
1486 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1496 return reinterpret_cast<OptimizedBuiltinLeaveFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1553 // argv[0]...argv[argc-1] dynamic according to agc
1557 // +--------------------------+
1558 // | argV[N - 1] |
1559 // |--------------------------|
1561 // |--------------------------+
1563 // +--------------------------+
1564 // | argV[1]=new-target |
1565 // +--------------------------+
1566 // | argV[0]=call-target |
1567 // +--------------------------+ ---------
1569 // |--------------------------| |
1571 // callerSP --> |--------------------------| |
1573 // |--------------------------| |
1575 // fp --> |--------------------------| |
1577 // calleeSP --> +--------------------------+ ---------
1579 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1600 return reinterpret_cast<BuiltinFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1622 return offset - GetPreFpOffset(isArch32); in GetNumArgsToFpDelta()
1628 return offset - GetPreFpOffset(isArch32); in GetStackArgsToFpDelta()
1683 // +--------------------------+ ---------
1685 // callerSP --> |--------------------------| |
1687 // |--------------------------| |
1689 // fp --> |--------------------------| |
1691 // +--------------------------+ |
1693 // +--------------------------+ ---------
1695 // +--------------------------+
1697 // +--------------------------+
1699 // calleeSP --> +--------------------------+
1701 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1707 StackArgsTopIndex = -1,
1708 NumArgsIndex = -1,
1718 return reinterpret_cast<BuiltinWithArgvFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1737 return topAddress - static_cast<uint32_t>(numberArgs) * sizeof(uintptr_t); in GetStackArgsAddress()
1782 // +--------------------------+
1783 // | arg[N-1] |
1784 // +--------------------------+
1786 // +--------------------------+
1788 // +--------------------------+
1790 // +--------------------------+
1792 // +--------------------------+
1793 // | new-target |
1794 // +--------------------------+
1795 // | call-target |
1796 // |--------------------------|
1798 // callerSp ---> |--------------------------| ---------------
1800 // |--------------------------| |
1802 // |--------------------------| |
1804 // |--------------------------| |
1805 // | call-target | |
1806 // |--------------------------| |
1808 // calleeSP ---> +--------------------------+ ---------------
1810 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1831 … return static_cast<size_t>(Index::ReturnAddrIndex) - static_cast<size_t>(Index::JSFuncIndex); in GetFunctionDeltaReturnAddr()
1893 …size_t slotOffset = static_cast<size_t>(Index::PrevFpIndex) - static_cast<size_t>(Index::JSFuncInd… in ComputeReservedJSFuncOffset()
1899 … size_t slotOffset = static_cast<size_t>(Index::PrevFpIndex) - static_cast<size_t>(Index::PcIndex); in ComputeReservedPcOffset()
1905 return -(int)sizeof(uintptr_t); in GetFrmaeTypeToFpDelta()
1910 int slotOffset = static_cast<int>(Index::JSFuncIndex) - static_cast<int>(Index::TypeIndex); in GetFunctionToFpDelta()
1934 return reinterpret_cast<FASTJITFunctionFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1940 return reinterpret_cast<uintptr_t>(sp) - MEMBER_OFFSET(FASTJITFunctionFrame, type); in GetFuncAddrFromSp()
1943 // dynamic callee saveregisters for x86-64
1968 reinterpret_cast<uintptr_t>(current_) - sizeof(FrameType)); in GetFrameType()