level intermediate representation (HIR) which consists of a control-flow graph (CFG) in static single assignment form (SSA). During the HIR generation, actual optimizations are applied, such as constant folding, method inlining, dynamic type feedback, etc… The result is an optimized CFG that is used as input to the next compiler - Lithium.