luau/CodeGen/include/Luau
Andy Friesen 74c532053f
Sync to upstream/release/604 (#1106)
New Solver

* New algorithm for inferring the types of locals that have no
annotations. This
algorithm is very conservative by default, but is augmented with some
control
  flow awareness to handle most common scenarios.
* Fix bugs in type inference of tables
* Improve performance of by switching out standard C++ containers for
`DenseHashMap`
* Infrastructure to support clearer error messages in strict mode

Native Code Generation

* Fix a lowering issue with buffer.writeu8 and 0x80-0xff values: A
constant
  argument wasn't truncated to the target type range and that causes an
  assertion failure in `build.mov`.
* Store full lightuserdata value in loop iteration protocol lowering
* Add analysis to compute function bytecode distribution
* This includes a class to analyze the bytecode operator distribution
per
function and a CLI tool that produces a JSON report. See the new cmake
      target `Luau.Bytecode.CLI`

---------

Co-authored-by: Aaron Weiss <aaronweiss@roblox.com>
Co-authored-by: Alexander McCord <amccord@roblox.com>
Co-authored-by: Andy Friesen <afriesen@roblox.com>
Co-authored-by: Aviral Goel <agoel@roblox.com>
Co-authored-by: Lily Brown <lbrown@roblox.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
2023-11-17 10:46:18 -08:00
..
AddressA64.h Sync to upstream/release/580 (#951) 2023-06-09 10:08:00 -07:00
AssemblyBuilderA64.h Sync to upstream/release/600 (#1076) 2023-10-20 18:10:30 -07:00
AssemblyBuilderX64.h Sync to upstream/release/603 (#1097) 2023-11-10 13:10:07 -08:00
BytecodeSummary.h Sync to upstream/release/604 (#1106) 2023-11-17 10:46:18 -08: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/602 (#1089) 2023-11-03 16:45:04 -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/599 (#1069) 2023-10-13 13:20:12 -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/603 (#1097) 2023-11-10 13:10:07 -08: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/603 (#1097) 2023-11-10 13:10:07 -08: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