Hi Diego, For the part I can comment on (OptimizationRemarkHandler), this LGTM. For the rest, I leave to Richard the final OK. Thanks, Quentin http://llvm-reviews.chandlerc.com/D3226