Changes to get PA with 0.5 to the point in Parallel IR where the lowering is starting to happen. This is after all the initial optimizations.
Changes to get PA with 0.5 to the point in Parallel IR where the lowering is starting to happen.
This is after all the initial optimizations.

We have to be careful because we won't go through a :lambda Expr so if we know there's a routine where
we expect a LambdaInfo then we should process the lambda at that point.  To help effect this,
I pulled out the lambda body processing code to from_lambda_body and both from_lambda and from_expr(::LambdaInfo)
call it now.

Change printLambda to use LambdaHandling's show method.

Update processAndUpdateBody to use LambdaHandling.

Switched a bunch of "lives = CompilerTools.LivenessAnalysis.from_expr(ast, DomainIR.dir_live_cb, nothing)"
to the clearer "lives = computeLiveness(ast, LambdaVarInfo)".

Fixed addStatementsToBeginning to use LambdaHandling although this routine should be rewritten to use
processAndUpdateBody.

IntelLabs/ParallelAccelerator.jl,JuliaPackageMirrors/ParallelAccelerator.jl,malekbr/julia-to-tiramisu