Add flags -Rpass-missed and -Rpass-analysis.
authorDiego Novillo <dnovillo@google.com>
Thu, 29 May 2014 19:55:06 +0000 (19:55 +0000)
committerDiego Novillo <dnovillo@google.com>
Thu, 29 May 2014 19:55:06 +0000 (19:55 +0000)
commitd23ec94393bf2d0af4b5c6f94458f1d796eb928b
treeb39af4eb6dfd4e0be3554492956698f7c8e567c7
parent20daf3276d1a32701ed7b5da9b6c3af49af5f7e1
Add flags -Rpass-missed and -Rpass-analysis.

Summary:
These two flags are in the same family as -Rpass, but are used in
different situations.

-Rpass-missed is used by optimizers to inform the user when they tried
to apply an optimization but couldn't (or wouldn't).

-Rpass-analysis is used by optimizers to report analysis results back
to the user (e.g., why the transformation could not be applied).

Depends on D3682.

Reviewers: rsmith

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D3683

llvm-svn: 209839
clang/include/clang/Basic/DiagnosticFrontendKinds.td
clang/include/clang/Basic/DiagnosticGroups.td
clang/include/clang/Driver/Options.td
clang/include/clang/Frontend/CodeGenOptions.h
clang/lib/CodeGen/CodeGenAction.cpp
clang/lib/Driver/Tools.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/Frontend/optimization-remark.c