Major release of xocc C compiler, 1.2.1, based on BSD license!

Steven Su <>
Sat, 27 Mar 2021 11:29:12 -0400 (EDT)

          From comp.compilers

Related articles
Major release of xocc C compiler, 1.2.1, based on BSD license! (Steven Su) (2021-03-27)
| List of all articles for this month |

From: Steven Su <>
Newsgroups: comp.compilers
Date: Sat, 27 Mar 2021 11:29:12 -0400 (EDT)
Organization: Compilers Central
Injection-Info:; posting-host=""; logging-data="42850"; mail-complaints-to=""
Keywords: C, available
Posted-Date: 27 Mar 2021 11:29:12 EDT

Hello everybody,
I'm glad to announce the major release of xocc C compiler, 1.2.1,
based on BSD license.

xocc is a C compiler that based on XOC infrastructure, XGEN code
generator and XOCFE C frontend.

Both xocc, XOC, XGEN, and XOCFE are based on BSD license.
XOC provides multi-level IRs, flexibility, and the capability of
representing almost all popular languages.

There are mainly two level IRs used throughout all phases of the compilation.
In addition to basic IR, XOC also provides IR builder, BB manipulating
api, Control Flow Graph(CFG),
IR lowering, Control Dependent Graph, Dominator Tree, Register SSA,
Memory SSA, Agressive Flow Sensitive Alias Analysis,
Flow Insensitive Alias Analysis, Agressive Field Sensitive Alias
Analysis, Interprocedual Analysis Framework, Inliner,
Dead Code Elimination, Copy Propagation, GCSE, GVN, and a lot of
sophisticated control flow and peephole optimizations.
Moveover, XOC does not use any std library, it provides all basic
algorithm library such Vector, List, Map, Dense Bitset,
Sparse Bitset, Graph, Mempool, Big-Integer, Linear Algebraic library,
Linear Programming Solver, just read
Manual.txt of XOC.

XGEN provides a retargetable machine code generator.
For now, it could generate ARM, x86 code.
XGEN provides IR2OR translator, Instruction Scheduling, Register
Allocation, Instruction Packager, Assembly.

XOCFE is C frontend, it prints AST as output.
XOCC is a driver that composes XOCFE, AST2IR, XOC and XGEN into
complete C compiler.
All features provided by XOCC, XOC, XGEN, XOCFE empower you developing
any compiler and analysis tools.

Any feedback on the compiler and its components would be much appreciated!

To build xocc, see for details.
Get them here:

Contact: or

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.