llvm-project/llvm/lib/Transforms
Kazu Hirata 6e30a9cc08 [Inliner] Retire DefaultInlineOrder (NFC)
DefaultInlineOrder was largely an exercise in generalizing the
traversal order of call sites within the inliner.

Now that the module inliner is starting to form its shape, there is no
point in sharing DefaultInlineOrder between the module inliner and the
CGSCC inliner.  DefaultInlineOrder and all the other inline orders are
mutually exclusive in the following sense:

- The use of DefaultInlineOrder doesn't make sense in the module
  inliner because there is no priority inherent in the order in which
  call sites are added to the list of call sites -- SmallVector.

- The use of any other inline order doesn't make sense in the CGSCC
  inliner because little prioritization can be done within one CGSCC.

This patch essentially reverts the addition of DefaultInlineOrder so
that the loop structure of Inliner.cpp looks like the state just
before we started working on the module inliner (circa June 2021).

At the same time, ww remove the choice of DefaultInlineOrder from
UseInlinePriority.

Differential Revision: https://reviews.llvm.org/D134080
2022-09-16 15:36:40 -07:00
..
AggressiveInstCombine Revert ""Recommit "[AggressiveInstCombine] Lower Table Based CTTZ""" 2022-09-12 08:23:07 +02:00
CFGuard [NFC] Fix warning 2022-08-23 20:50:37 -05:00
Coroutines [IR] Add Instruction::getInsertionPointAfterDef() 2022-08-31 10:50:10 +02:00
Hello
IPO [Inliner] Retire DefaultInlineOrder (NFC) 2022-09-16 15:36:40 -07:00
InstCombine [InstCombine] reduce code duplication in foldICmpMulConstant(); NFC 2022-09-16 10:39:54 -04:00
Instrumentation [msan] Add msan-insert-check DEBUG_COUNTER 2022-09-15 21:52:58 -07:00
ObjCARC [AA] Tracking per-location ModRef info in FunctionModRefBehavior (NFCI) 2022-09-14 16:34:41 +02:00
Scalar [SCCP] convert ashr to lshr for non-negative shift value 2022-09-15 13:54:52 -04:00
Utils [IntegerDivision][AMDGPU] Use CreateLogicalOr to block poison propagation. 2022-09-15 09:38:02 -07:00
Vectorize [SLP]Improve isUndefVector function by adding insertelement analysis. 2022-09-16 14:36:38 -07:00
CMakeLists.txt