Indenting generated code
Adding code generation for direct loops and reductions