• Home
  • Raw
  • Download

Lines Matching full:-

7  *     http://www.apache.org/licenses/LICENSE-2.0
42 // * Runtime (C++) -> AOTCompiler:
181 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
202 …size_t slotOffset = static_cast<size_t>(Index::PrevFpIndex) - static_cast<size_t>(Index::TypeIndex… in ComputeReservedSize()
222 return reinterpret_cast<OptimizedFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
242 // +--------------------------+ ---------
244 // callerSP ---> |--------------------------| |
246 // |--------------------------| BuiltinBuiltinFrame
248 // fp ---> |--------------------------| |
250 // +--------------------------+ ---------
252 // calleeSP ---> +--------------------------+
254 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
275 …size_t slotOffset = static_cast<size_t>(Index::PrevFpIndex) - static_cast<size_t>(Index::TypeIndex… in ComputeReservedSize()
300 return reinterpret_cast<BaselineBuiltinFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
351 return reinterpret_cast<AsmBridgeFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
370 // callerSP ---> |--------------------------| ---------------
372 // |--------------------------| |
374 // fp ---> |--------------------------| OptimizedUnfoldArgVFrame
376 // |--------------------------| |
378 // calleESP ---> +--------------------------+ ---------------
380 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
414 … return reinterpret_cast<OptimizedJSFunctionUnfoldArgVFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
439 // +--------------------------+
440 // | arg[N-1] |
441 // +--------------------------+
443 // +--------------------------+
445 // +--------------------------+
447 // sp ---> +--------------------------+ -----------------
450 // fp ---> |--------------------------| OptimizedJSFunctionArgsConfigFrame
453 // +--------------------------+ -----------------
455 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
485 … return reinterpret_cast<OptimizedJSFunctionArgConfigFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
502 // +----------------------------------------+
503 // | arg[N-1] |
504 // +----------------------------------------+
506 // +----------------------------------------+
508 // +----------------------------------------+
510 // +----------------------------------------+
512 // +----------------------------------------+
513 // | new-target [not exist in fastcall] |
514 // +----------------------------------------+
515 // | call-target |
516 // argv ---> +----------------------------------------+
518 // |----------------------------------------|
520 // callerSp ---> |----------------------------------------|----------------
522 // |----------------------------------------| |
524 // fp ---> |----------------------------------------| OptimizedJSFunctionFrame
526 // |----------------------------------------| |
527 // | call-target | v
528 // calleeSP ---> +----------------------------------------+----------------
530 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
549 … return static_cast<size_t>(Index::ReturnAddrIndex) - static_cast<size_t>(Index::JSFuncIndex); in GetFunctionDeltaReturnAddr()
612 …size_t slotOffset = static_cast<size_t>(Index::PrevFpIndex) - static_cast<size_t>(Index::JSFuncInd… in ComputeReservedJSFuncOffset()
631 return reinterpret_cast<OptimizedJSFunctionFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
635 // dynamic callee saveregisters for x86-64
649 // +--------------------------+
651 // callerSP --> +--------------------------+ -----------------
653 // fp --> |--------------------------| |
655 // |--------------------------| |
657 // calleeSP --> +--------------------------+ -----------------
693 …size_t slotOffset = static_cast<size_t>(Index::PrevFpIndex) - static_cast<size_t>(Index::PreLeaveF… in ComputeReservedSize()
706 return reinterpret_cast<OptimizedEntryFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
726 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
744 return reinterpret_cast<InterpretedFrameBase *>(const_cast<JSTaggedType *>(sp)) - 1; in GetFrameFromSp()
762 alignas(EAS) JSTaggedType *prev {nullptr}; // for llvm :c-fp ; for interrupt: thread-fp for gc
770 // +----------------------------------+
771 // | argv[n-1] |
772 // |----------------------------------|
774 // |----------------------------------|
776 // |----------------------------------|
778 // |----------------------------------|
780 // |----------------------------------|
782 // +----------------------------------+--------+
784 // |----------------------------------| |
786 // |----------------------------------| |
788 // |----------------------------------| |
790 // |----------------------------------| |
792 // |----------------------------------| |
794 // |----------------------------------| InterpretedFrame
796 // |----------------------------------| |
798 // |----------------------------------| |
800 // |----------------------------------| |
802 // +----------------------------------+--------+
804 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
835 return reinterpret_cast<InterpretedFrame *>(const_cast<JSTaggedType *>(sp)) - 1; in GetFrameFromSp()
890 // |--------------------------| ---------------
894 // |--------------------------| InterpretedBuiltinFrame
895 // | bytecode-PC | |
896 // |--------------------------| |
897 // | call-target | v
898 // +--------------------------+ ---------------
900 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
920 return reinterpret_cast<InterpretedBuiltinFrame *>(const_cast<JSTaggedType *>(sp)) - 1; in GetFrameFromSp()
956 // +----------------------------------+
957 // | argv[n-1] |
958 // |----------------------------------|
960 // |----------------------------------|
962 // |----------------------------------|
964 // |----------------------------------|
966 // |----------------------------------|
968 // +----------------------------------+--------+
972 // |----------------------------------| |
974 // |----------------------------------| |
976 // |----------------------------------| AsmInterpretedFrame
978 // |----------------------------------| |
980 // |----------------------------------| |
982 // |----------------------------------| |
984 // |----------------------------------| |
985 // | call-target | v
986 // +----------------------------------+--------+
988 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1024 return reinterpret_cast<AsmInterpretedFrame *>(const_cast<JSTaggedType *>(sp)) - 1; in GetFrameFromSp()
1128 // +----------------------------------+---------------
1132 // |----------------------------------| |
1134 // |----------------------------------|---------------
1136 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1154 return reinterpret_cast<InterpretedEntryFrame *>(const_cast<JSTaggedType *>(sp)) - 1; in GetFrameFromSp()
1185 // +----------------------------------+---------------
1189 // |----------------------------------| |
1191 // |----------------------------------|---------------
1193 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1216 return reinterpret_cast<AsmInterpretedEntryFrame *>(const_cast<JSTaggedType *>(sp)) - 1; in GetFrameFromSp()
1236 // +----------------------------------+---------------
1237 // | ret-address | ^
1238 // |----------------------------------| |
1242 // |----------------------------------|---------------
1244 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1257 return reinterpret_cast<AsmInterpretedBridgeFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1301 // * Optimized-leaved-frame layout as the following:
1302 // +--------------------------+
1303 // | argv[N-1] |
1304 // |--------------------------|
1306 // |--------------------------|
1308 // +--------------------------+-------------
1310 // |--------------------------| |
1312 // callerSP --> |--------------------------| OptimizedLeaveFrame
1313 // | ret-addr | |
1314 // |--------------------------| |
1316 // fp --> |--------------------------| |
1318 // calleeSP --> +--------------------------+-------------
1320 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1328 // argv[0]...argv[argc-1] dynamic according to agc
1331 return reinterpret_cast<OptimizedLeaveFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1363 // * Optimized-leaved-frame-with-argv layout as the following:
1364 // +--------------------------+
1366 // +--------------------------+-------------
1368 // |--------------------------| |
1370 // callerSP --> |--------------------------| |
1372 // |--------------------------| |
1374 // fp --> |--------------------------| |
1376 // calleeSP --> +--------------------------+-------------
1387 return reinterpret_cast<OptimizedWithArgvLeaveFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1420 // +--------------------------+
1421 // | argv[N-1] |
1422 // |--------------------------|
1424 // |--------------------------|
1426 // +--------------------------+-------------
1428 // |--------------------------| |
1430 // callerSP --> +--------------------------+ |
1431 // | ret-addr | |
1432 // |--------------------------| OptimizedBuiltinLeaveFrame
1434 // fp --> |--------------------------| |
1436 // |--------------------------| |
1438 // calleeSP --> +--------------------------+-------------
1440 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1445 return reinterpret_cast<OptimizedBuiltinLeaveFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1497 // argv[0]...argv[argc-1] dynamic according to agc
1501 // +--------------------------+
1502 // | argV[N - 1] |
1503 // |--------------------------|
1505 // |--------------------------+
1507 // +--------------------------+
1508 // | argV[1]=new-target |
1509 // +--------------------------+
1510 // | argV[0]=call-target |
1511 // +--------------------------+ ---------
1513 // |--------------------------| |
1515 // callerSP --> |--------------------------| |
1517 // |--------------------------| |
1519 // fp --> |--------------------------| |
1521 // calleeSP --> +--------------------------+ ---------
1523 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1544 return reinterpret_cast<BuiltinFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1566 return offset - GetPreFpOffset(isArch32); in GetNumArgsToFpDelta()
1572 return offset - GetPreFpOffset(isArch32); in GetStackArgsToFpDelta()
1622 // +--------------------------+ ---------
1624 // callerSP --> |--------------------------| |
1626 // |--------------------------| |
1628 // fp --> |--------------------------| |
1630 // +--------------------------+ |
1632 // +--------------------------+ ---------
1634 // +--------------------------+
1636 // +--------------------------+
1638 // calleeSP --> +--------------------------+
1640 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1646 StackArgsTopIndex = -1,
1647 NumArgsIndex = -1,
1657 return reinterpret_cast<BuiltinWithArgvFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1676 return topAddress - static_cast<uint32_t>(numberArgs) * sizeof(uintptr_t); in GetStackArgsAddress()
1716 // +--------------------------+
1717 // | arg[N-1] |
1718 // +--------------------------+
1720 // +--------------------------+
1722 // +--------------------------+
1724 // +--------------------------+
1726 // +--------------------------+
1727 // | new-target |
1728 // +--------------------------+
1729 // | call-target |
1730 // |--------------------------|
1732 // callerSp ---> |--------------------------| ---------------
1734 // |--------------------------| |
1736 // |--------------------------| |
1738 // |--------------------------| |
1739 // | call-target | |
1740 // |--------------------------| |
1742 // calleeSP ---> +--------------------------+ ---------------
1744 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1765 … return static_cast<size_t>(Index::ReturnAddrIndex) - static_cast<size_t>(Index::JSFuncIndex); in GetFunctionDeltaReturnAddr()
1828 …size_t slotOffset = static_cast<size_t>(Index::PrevFpIndex) - static_cast<size_t>(Index::JSFuncInd… in ComputeReservedJSFuncOffset()
1834 … size_t slotOffset = static_cast<size_t>(Index::PrevFpIndex) - static_cast<size_t>(Index::PcIndex); in ComputeReservedPcOffset()
1858 return reinterpret_cast<FASTJITFunctionFrame *>(reinterpret_cast<uintptr_t>(sp) - in GetFrameFromSp()
1864 return reinterpret_cast<uintptr_t>(sp) - MEMBER_OFFSET(FASTJITFunctionFrame, type); in GetFuncAddrFromSp()
1867 // dynamic callee saveregisters for x86-64
1892 reinterpret_cast<uintptr_t>(current_) - sizeof(FrameType)); in GetFrameType()