1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/test
David Bolvansky b35f0af3c7 Enrich inline messages
Summary:
This patch improves Inliner to provide causes/reasons for negative inline decisions.
1. It adds one new message field to InlineCost to report causes for Always and Never instances. All Never and Always instantiations must provide a simple message.
2. Several functions that used to return the inlining results as boolean are changed to return InlineResult which carries the cause for negative decision.
3. Changed remark priniting and debug output messages to provide the additional messages and related inline cost.
4. Adjusted tests for changed printing.

Patch by: yrouban (Yevgeny Rouban)


Reviewers: craig.topper, sammccall, sgraenitz, NutshellySima, shchenz, chandlerc, apilipenko, javed.absar, tejohnson, dblaikie, sanjoy, eraman, xbolva00

Reviewed By: tejohnson, xbolva00

Subscribers: xbolva00, llvm-commits, arsenm, mehdi_amini, eraman, haicheng, steven_wu, dexonsmith

Differential Revision: https://reviews.llvm.org/D49412

llvm-svn: 338494
2018-08-01 07:37:16 +00:00
..
Analysis [BasicAA] Use PhiValuesAnalysis if available when handling phi alias 2018-07-30 11:52:08 +00:00
Assembler
Bindings
Bitcode
BugPoint
CodeGen [X86] Adding more test patterns for lea-opt (PR37939) 2018-08-01 03:53:27 +00:00
DebugInfo [DWARF] Basic support for producing DWARFv5 .debug_addr section 2018-08-01 05:48:06 +00:00
Demangle Resubmit r338340 "[MS Demangler] Better demangling of template arguments." 2018-07-31 17:16:44 +00:00
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation [InstrProf] Don't register __llvm_profile_runtime_user 2018-07-27 22:21:35 +00:00
Integer
JitListener [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
Linker
LTO Enrich inline messages 2018-08-01 07:37:16 +00:00
MC [AArch64] Disallow the MachO specific .loh directive for windows 2018-08-01 06:50:18 +00:00
Object
ObjectYAML
Other Revert r338431: "Add DebugCounters to DivRemPairs" 2018-07-31 21:18:44 +00:00
SafepointIRVerifier
SymbolRewriter [PM] Port SymbolRewriter to the new PM 2016-07-25 20:52:00 +00:00
TableGen
ThinLTO/X86 Enrich inline messages 2018-08-01 07:37:16 +00:00
tools Enrich inline messages 2018-08-01 07:37:16 +00:00
Transforms Enrich inline messages 2018-08-01 07:37:16 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh