File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
chapter_compiler_frontend Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -51,3 +51,14 @@ source programs and generating optimized compiled code. Table
5151different IR types. It is important to design IR structures carefully,
5252considering the specific requirements of the compiler's design.
5353
54+ :::: center
55+ :::
56+ | IR Structure | Characteristics | Examples |
57+ | --------------| --------------------------------------| ----------------------------------------------
58+ | Linear IR | Based on linear code | Stack machine code, three-address code |
59+ | Graphical IR | Based on graphs | Abstract syntax tree, directed acyclic graph |
60+ | Hybrid IR | Based on both graphs and linear code | LLVM IR |
61+ :label : ` ch06/ch06-categorize `
62+ : Types of IRs
63+ :::
64+ ::::
You can’t perform that action at this time.
0 commit comments