Mercurial > lcfOS
view doc/ir.rst @ 400:0374c65cb437
Move compiler to seperate repo
author | Windel Bouwman |
---|---|
date | Mon, 14 Jul 2014 22:23:55 +0200 |
parents | 0615b5308710 |
children |
line wrap: on
line source
IR-code ======= Front ends generate this IR-code. Backends transform it into machine code. The IR-code is implemented in the ir package. .. autoclass:: ppci.ir.Module .. autoclass:: ppci.ir.Function .. autoclass:: ppci.ir.Block A block contains a sequence of statements. .. autoclass:: ppci.ir.Statement .. autoclass:: ppci.ir.Move Jump instructions: .. autoclass:: ppci.ir.Jump .. autoclass:: ppci.ir.CJump Statements can contain again expressions. .. autoclass:: ppci.ir.Expression .. autoclass:: ppci.ir.Const .. autoclass:: ppci.ir.Binop .. autoclass:: ppci.ir.Call .. autoclass:: ppci.ir.Eseq