llvm-project/llvm/lib/Transforms/IPO
Mircea Trofin 7d541eb4d4 [inliner] Mandatory inlining decisions produce remarks
This also removes the need to disable the mandatory inlining phase in
tests.

In a departure from the previous remark, we don't output a 'cost' in
this case, because there's no such thing. We just report that inlining
happened because of the attribute.

Differential Revision: https://reviews.llvm.org/D110891
2021-10-05 14:01:25 -07:00
..
AlwaysInliner.cpp [inliner] Mandatory inlining decisions produce remarks 2021-10-05 14:01:25 -07:00
Annotation2Metadata.cpp
ArgumentPromotion.cpp [IR] Return AAMDNodes from Instruction::getMetadata() (NFC) 2021-09-16 21:06:57 +02:00
Attributor.cpp [OpenMP] Add options to change Attributor max iterations in OpenMPOpt 2021-10-04 09:39:04 -04:00
AttributorAttributes.cpp [APInt] Stop using soft-deprecated constructors and methods in llvm. NFC. 2021-10-04 08:57:44 +01:00
BarrierNoopPass.cpp
BlockExtractor.cpp Internalize some cl::opt global variables or move them under namespace llvm 2021-05-07 11:15:43 -07:00
CMakeLists.txt [OpenMP][OpenMPIRBuilder] Implement loop unrolling. 2021-09-04 19:18:58 -05:00
CalledValuePropagation.cpp
ConstantMerge.cpp [IPO] Use make_early_inc_range (NFC) 2021-09-14 08:59:36 -07:00
CrossDSOCFI.cpp
DeadArgumentElimination.cpp [IPO] Use make_early_inc_range (NFC) 2021-09-14 08:59:36 -07:00
ElimAvailExtern.cpp
ExtractGV.cpp [Transforms] Use range-based for loops (NFC) 2021-02-08 22:33:53 -08:00
ForceFunctionAttrs.cpp [ForceFunctionAttrs] Add const (NFC) 2021-09-03 22:29:58 -07:00
FunctionAttrs.cpp [Transforms] Migrate from getNumArgOperands to arg_size (NFC) 2021-10-01 09:57:40 -07:00
FunctionImport.cpp [ThinLTO] Add noRecurse and noUnwind thinlink function attribute propagation 2021-09-27 12:28:07 -07:00
FunctionSpecialization.cpp [FuncSpec] Don't specialise (or crash) on poison or constexpr values 2021-09-27 14:58:53 +01:00
GlobalDCE.cpp [GlobalDCE] Handle relative pointers in VFE (for Swift vtables) 2021-08-31 07:07:22 -07:00
GlobalOpt.cpp [GlobalOpt] Do not shrink global to bool for an unfavorable AS 2021-09-16 23:13:30 -04:00
GlobalSplit.cpp
HotColdSplitting.cpp Calculate getTerminator only when necessary 2021-06-13 20:16:07 -07:00
IPO.cpp Function Specialization Pass 2021-06-11 09:11:29 +01:00
IROutliner.cpp Fix Wdocumentation warnings. NFCI. 2021-09-17 12:45:56 +01:00
InferFunctionAttrs.cpp [inferattrs] Don't infer lib func attributes for nobuiltin functions 2021-04-16 15:36:15 -07:00
InlineSimple.cpp
Inliner.cpp [inliner] Mandatory inlining decisions produce remarks 2021-10-05 14:01:25 -07:00
Internalize.cpp [IR] Rename `comdat noduplicates` to `comdat nodeduplicate` 2021-07-20 12:47:10 -07:00
LoopExtractor.cpp [NPM] Added -print-pipeline-passes print params for a few passes. 2021-09-15 08:34:04 +02:00
LowerTypeTests.cpp [Transforms] Migrate from getNumArgOperands to arg_size (NFC) 2021-10-01 09:57:40 -07:00
MergeFunctions.cpp [OpaquePtr] Use GlobalValue::getValueType() more 2021-07-13 09:34:34 -07:00
OpenMPOpt.cpp [OpenMP] Add options to change Attributor max iterations in OpenMPOpt 2021-10-04 09:39:04 -04:00
PartialInlining.cpp NFC: Migrate PartialInlining to work on InstructionCost 2021-03-30 11:59:45 +01:00
PassManagerBuilder.cpp [Passes] Run vector-combine early with -fenable-matrix. 2021-09-22 12:48:32 +01:00
PruneEH.cpp [Local] Do not introduce a new `llvm.trap` before `unreachable` 2021-07-26 23:33:36 -05:00
SCCP.cpp Function Specialization Pass 2021-06-11 09:11:29 +01:00
SampleContextTracker.cpp [CSSPGO] Rename the field of SampleContextFrame 2021-10-04 19:06:59 -07:00
SampleProfile.cpp [inliner] Mandatory inlining decisions produce remarks 2021-10-05 14:01:25 -07:00
SampleProfileProbe.cpp [CSSPGO] Undoing the concept of dangling pseudo probe 2021-06-18 15:14:11 -07:00
StripDeadPrototypes.cpp [IPO] Use make_early_inc_range (NFC) 2021-09-14 08:59:36 -07:00
StripSymbols.cpp [Transforms] Use range-based for loops (NFC) 2021-02-08 22:33:53 -08:00
SyntheticCountsPropagation.cpp Internalize some cl::opt global variables or move them under namespace llvm 2021-05-07 11:15:43 -07:00
ThinLTOBitcodeWriter.cpp [Transforms] Use make_early_inc_range (NFC) 2021-09-15 19:55:24 -07:00
WholeProgramDevirt.cpp [NFC] Replace Function handling of attributes with less confusing calls 2021-08-17 21:05:40 -07:00