llvm-6502/lib/Transforms
Diego Novillo d16404a0e7 Add support for missed and analysis optimization remarks.
Summary:
This adds two new diagnostics: -pass-remarks-missed and
-pass-remarks-analysis. They take the same values as -pass-remarks but
are intended to be triggered in different contexts.

-pass-remarks-missed is used by LLVMContext::emitOptimizationRemarkMissed,
which passes call when they tried to apply a transformation but
couldn't.

-pass-remarks-analysis is used by LLVMContext::emitOptimizationRemarkAnalysis,
which passes call when they want to inform the user about analysis
results.

The patch also:

1- Adds support in the inliner for the two new remarks and a
   test case.

2- Moves emitOptimizationRemark* functions to the llvm namespace.

3- Adds an LLVMContext argument instead of making them member functions
   of LLVMContext.

Reviewers: qcolombet

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209442 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-22 14:19:46 +00:00
..
Hello
InstCombine Added inst-combine for 'MIN(MIN(A, 97), 23)' and 'MAX(MAX(A, 23), 97)' 2014-05-19 07:08:32 +00:00
Instrumentation Delete getAliasedGlobal. 2014-05-16 22:37:03 +00:00
IPO Add support for missed and analysis optimization remarks. 2014-05-22 14:19:46 +00:00
ObjCARC
Scalar Add support for missed and analysis optimization remarks. 2014-05-22 14:19:46 +00:00
Utils Add support for missed and analysis optimization remarks. 2014-05-22 14:19:46 +00:00
Vectorize Add support for missed and analysis optimization remarks. 2014-05-22 14:19:46 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile