~/talk

Let's Build a Computation-Graph JIT Compiler in C++

TalkinJapaneseat iOSDC Japan 2020 · 2020-09-19..09-21· [compilers-and-language-design, c-and-cpp]
links:none on file
slides:none on file

Shows how to implement a computation graph in C++ and use LLVM’s JIT to generate and execute binary code at runtime. Covers practical LLVM internals by walking through C++ code that builds the graph, invokes LLVM for just-in-time compilation, and runs the generated functions, aimed at a beginner perspective after about six months of learning LLVM.

AI-written summary · about

  1. 0:00Start
  2. 1:37Today's source code, etc.
  3. 2:50Creating something with LLVM ~ My own language
  4. 6:25Computation graph
  5. 9:33Installing LLVM
  6. 10:04Creating a function with LLVM
  7. 10:57Programming with LLVM
  8. 12:45Building processing blocks
  9. 13:04Getting the argument list from the Function class
  10. 13:29Performing operations (addition this time)
  11. 13:52Checking in text format
  12. 17:03Wrapping results in Expr
~/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.