luau/CodeGen/include/Luau
Andy Friesen 36e0e64715
Sync to upstream/release/598 (#1063)
* Include `windows.h` rather than `Windows.h` to make things compile on
MinGW.
* Custom implementation of timegm/os.time for all platforms
* Disable builtin constant folding when getfenv/setfenv are used
* Fixes https://github.com/Roblox/luau/issues/1042
* Fixes https://github.com/Roblox/luau/issues/1043

New Type Checker

* Initial work toward type states.
* Rework most overloadable operators to use type families.
* Initial work toward our new nonstrict mode.


Native Codegen

* Fix native code generation for dead loops
* Annotate top-level functions as cold
* Slightly smaller/faster x64 Luau calls
* emitInstCall used to not set savedpc itself, but now it does for
consistency with all other implementations
* Implement cmov support for X64
* Fix assertion in luau-compile when module is empty
* Optimize A64 calls at some code size cost
* Inline constant array index offset into the load/store instruction
* Increase x64 spill slots from 5 to 13

---------

Co-authored-by: Arseny Kapoulkine <arseny.kapoulkine@gmail.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
Co-authored-by: Lily Brown <lbrown@roblox.com>
Co-authored-by: Aaron Weiss <aaronweiss@roblox.com>
Co-authored-by: Alexander McCord <amccord@roblox.com>
2023-10-06 12:02:32 -07:00
..
AddressA64.h Sync to upstream/release/580 (#951) 2023-06-09 10:08:00 -07:00
AssemblyBuilderA64.h Sync to upstream/release/593 (#1024) 2023-09-01 10:58:27 -07:00
AssemblyBuilderX64.h Sync to upstream/release/598 (#1063) 2023-10-06 12:02:32 -07:00
CodeAllocator.h Sync to upstream/release/590 (#1008) 2023-08-11 07:42:37 -07:00
CodeBlockUnwind.h Sync to upstream/release/576 (#928) 2023-05-12 10:50:47 -07:00
CodeGen.h Sync to upstream/release/598 (#1063) 2023-10-06 12:02:32 -07:00
ConditionA64.h Sync to upstream/release/573 (#903) 2023-04-21 15:14:26 -07:00
ConditionX64.h Sync to upstream/release/590 (#1008) 2023-08-11 07:42:37 -07:00
IrAnalysis.h Sync to upstream/release/591 (#1012) 2023-08-18 11:15:41 -07:00
IrBuilder.h Sync to upstream/release/594 (#1036) 2023-09-07 17:13:49 -07:00
IrCallWrapperX64.h Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
IrData.h Sync to upstream/release/594 (#1036) 2023-09-07 17:13:49 -07:00
IrDump.h Sync to upstream/release/581 (#958) 2023-06-16 10:35:18 -07:00
IrRegAllocX64.h Sync to upstream/release/596 (#1050) 2023-09-22 12:12:15 -07:00
IrUtils.h Sync to upstream/release/595 (#1044) 2023-09-15 10:26:59 -07:00
IrVisitUseDef.h Sync to upstream/release/596 (#1050) 2023-09-22 12:12:15 -07:00
Label.h Sync to upstream/release/529 (#505) 2022-05-26 15:08:16 -07:00
OperandX64.h Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
OptimizeConstProp.h Sync to upstream/release/574 (#910) 2023-04-28 12:55:13 -07:00
OptimizeFinalX64.h Sync to upstream/release/563 (#833) 2023-02-10 11:40:38 -08:00
RegisterA64.h Sync to upstream/release/593 (#1024) 2023-09-01 10:58:27 -07:00
RegisterX64.h Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
UnwindBuilder.h Sync to upstream/release/592 (#1018) 2023-08-25 10:23:55 -07:00
UnwindBuilderDwarf2.h Sync to upstream/release/592 (#1018) 2023-08-25 10:23:55 -07:00
UnwindBuilderWin.h Sync to upstream/release/592 (#1018) 2023-08-25 10:23:55 -07:00