[code-reflection] Integrated: Binding Schame to iface mappinsg an switched C99 codegen to use Schema for Typedefs

Gary Frost gfrost at openjdk.org
Thu Jul 11 10:45:52 UTC 2024


Finally we can switch to using Schema. 
The BoundSchema is now 'attached' to the iface mapped interface. 
So now we can extract the schema, the layout and the bound array dimensions from an iface mapped buffer directly
This simplifies C99 code gen. 
It will also allow us to pass the BoundSchema down at first kernel dispatch, so that SSA based code gen can determine relative offsets.

-------------

Commit messages:
 - Switching C99 codegen to use Schema for Typedefs

Changes: https://git.openjdk.org/babylon/pull/176/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=176&range=00
  Stats: 1133 lines in 61 files changed: 531 ins; 223 del; 379 mod
  Patch: https://git.openjdk.org/babylon/pull/176.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/176/head:pull/176

PR: https://git.openjdk.org/babylon/pull/176


More information about the babylon-dev mailing list