~/talk

Compiling pattern matching to in-place modifications

Talkat GPCE 2021 · 2021-10-17..10-18· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
slides:none on file

Prototype compiles pattern-match rewrite rules on tree-shaped ADTs stored as arrays only into in-place memory moves, not pointer rewrites. It cuts trees into BFS layers (phi_k), expresses move dependencies as linear relations, hands them to an ILP scheduling step and then emits C loops via a polyhedral scanner (Quillere algorithm). The prototype produces correct sequential code for non-recursive, guard-free rules and plans to add recursion, guards and parallel code generation.

AI-written summary · about

  1. 0:00Intro
  2. 1:29A Language to Describe Structural Transformations
  3. 2:17Stepl: Compute Subtree Movements on Pull Up
  4. 3:02Use Layers to Subdivide Memory Movements on Pull Up
  5. 3:34Layer-aware movements (1/2) on Pull Up
  6. 5:00Characterizing Memory Movements of Pull Up (Source)
  7. 5:34Characterizing Memory Movements of Pull Up (Dependencies)
  8. 6:02Scheduling as an Integer Linear Program Problem
  9. 6:38From Schedule to Code
  10. 6:53Conclusion & Future Work
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.