llvm-project/llvm/lib/Transforms/Utils
Philip Reames 5265ac72c6 [MemoryBuiltin] Add an API for checking if an unused allocation can be removed [NFC]
Not all allocation functions are removable if unused.  An example of a non-removable allocation would be a direct call to the replaceable global allocation function in C++.  An example of a removable one - at least according to historical practice - would be malloc.
2022-01-10 15:43:39 -08:00
..
AMDGPUEmitPrintf.cpp [AMDGPU] Correction to 095c48fdf3. 2021-10-05 21:47:25 -04:00
ASanStackFrameLayout.cpp More size_t -> uint64_t fixes after 05392466 2021-10-06 15:13:47 -07:00
AddDiscriminators.cpp [SampleFDO] Place the discriminator flag variable into the used list. 2021-06-15 21:51:04 -07:00
AssumeBundleBuilder.cpp Make various assume bundle data structures use uint64_t 2021-10-13 10:38:41 -07:00
BasicBlockUtils.cpp Use a deterministic order when updating the DominatorTree 2021-11-29 13:14:50 +01:00
BreakCriticalEdges.cpp
BuildLibCalls.cpp [LibCalls] Infer same attrs for reallocf() as realloc() 2022-01-07 09:51:15 +01:00
BypassSlowDivision.cpp
CMakeLists.txt ext-tsp basic block layout 2021-12-07 07:31:10 -08:00
CallGraphUpdater.cpp [ModuleUtils] Remove dead arg from filterDeadComdatFunctions() (NFC) 2022-01-07 09:12:16 +01:00
CallPromotionUtils.cpp Use a sorted array instead of a map to store AttrBuilder string attributes 2022-01-10 14:49:53 +01:00
CanonicalizeAliases.cpp
CanonicalizeFreezeInLoops.cpp [CanonicalizeFreeze] Drop IVUsers.h include (NFC) 2021-10-09 17:01:26 +02:00
CloneFunction.cpp [CSSPGO] Unblock optimizations with pseudo probe instrumentation part 3. 2021-10-12 09:44:12 -07:00
CloneModule.cpp [Cloning] Clone metadata on function declarations 2021-12-01 15:40:05 -08:00
CodeExtractor.cpp [CodeExtractor] Remove unnecessary explicit attribute handling (NFC) 2022-01-03 14:23:25 +01:00
CodeLayout.cpp ext-tsp basic block layout 2021-12-07 07:31:10 -08:00
CodeMoverUtils.cpp [Transforms] Use make_early_inc_range (NFC) 2021-11-02 18:13:23 -07:00
CtorUtils.cpp
Debugify.cpp [Debugify] Use WeakWH map collected before Pass when checking loc drop 2021-12-21 15:54:09 +01:00
DemoteRegToStack.cpp
EntryExitInstrumenter.cpp [NPM] Added -print-pipeline-passes print params for a few passes. 2021-09-15 08:34:04 +02:00
EscapeEnumerator.cpp
Evaluator.cpp [GlobalOpt][Evaluator] Fix off by one error in bounds check (PR53002) 2022-01-05 14:06:02 +01:00
FixIrreducible.cpp [Transforms] Use {DenseSet,SetVector,SmallPtrSet}::contains (NFC) 2021-10-31 07:57:32 -07:00
FlattenCFG.cpp [Transforms] Use {DenseSet,SetVector,SmallPtrSet}::contains (NFC) 2021-10-31 07:57:32 -07:00
FunctionComparator.cpp [FunctionComparator] Use getAlign() instead of getAlignment() 2021-12-15 14:40:56 -08:00
FunctionImportUtils.cpp [ThinLTO] Respect ClearDSOLocalOnDeclarations for unimported functions 2021-07-02 17:08:25 -07:00
GlobalStatus.cpp Reapply "[GlobalOpt][FIX] Do not embed initializers into AS!=0 globals"" 2021-09-10 15:22:56 -05:00
GuardUtils.cpp [llvm][NFC] Inclusive language: Reword replace uses of sanity in llvm/lib/Transform comments and asserts 2021-11-23 13:22:55 -05:00
HelloWorld.cpp
InjectTLIMappings.cpp [Transforms] Migrate from getNumArgOperands to arg_size (NFC) 2021-10-01 09:57:40 -07:00
InlineFunction.cpp Use a sorted array instead of a map to store AttrBuilder string attributes 2022-01-10 14:49:53 +01:00
InstructionNamer.cpp
IntegerDivision.cpp
LCSSA.cpp Silence a few unused variable warnings. NFC. 2022-01-05 09:15:07 +00:00
LibCallsShrinkWrap.cpp [IR, Transforms] Use arg_empty (NFC) 2021-09-09 08:50:10 -07:00
Local.cpp [MemoryBuiltin] Add an API for checking if an unused allocation can be removed [NFC] 2022-01-10 15:43:39 -08:00
LoopPeel.cpp [llvm] Strip redundant lambda (NFC) 2021-12-17 10:51:40 -08:00
LoopRotationUtils.cpp [Transforms] Use make_early_inc_range (NFC) 2021-11-07 17:03:15 -08:00
LoopSimplify.cpp [llvm] Use range-based for loops (NFC) 2021-11-19 21:12:13 -08:00
LoopUnroll.cpp [unroll] Strengthen verification of analysis updates under expensive asserts 2022-01-06 08:51:50 -08:00
LoopUnrollAndJam.cpp [LoopUnroll] Push runtime unrolling decision up into tryToUnrollLoop() 2021-06-19 09:25:57 +02:00
LoopUnrollRuntime.cpp [LoopUnrollRuntime] Remove unnecessary pointer BECount check (NFC) 2021-12-01 10:32:37 +01:00
LoopUtils.cpp Extract a helper function for computing estimate trip count of an exiting branch 2021-12-16 17:29:32 -08:00
LoopVersioning.cpp Revert "[LoopVersioning] Allow versionLoop to create plain branch inst when no runtime check is specified" 2021-12-16 02:06:11 -08:00
LowerInvoke.cpp
LowerMemIntrinsics.cpp [LowerMemIntrinsics] Typo fix. 2021-08-08 22:38:58 -04:00
LowerSwitch.cpp [Transforms] Use make_early_inc_range (NFC) 2021-09-15 19:55:24 -07:00
MatrixUtils.cpp
Mem2Reg.cpp
MemoryOpRemark.cpp [NFC][OpaquePtr] Use GlobalValue::getValueType() more 2021-07-09 09:55:41 -07:00
MetaRenamer.cpp [MetaRenamer] Add command line options to disable renaming name with specified prefixes 2021-12-09 18:45:06 +07:00
ModuleUtils.cpp [ModuleUtils] Remove dead arg from filterDeadComdatFunctions() (NFC) 2022-01-07 09:12:16 +01:00
NameAnonGlobals.cpp
PredicateInfo.cpp [PredicateInfo] Use Intrinsic::getDeclaration now that it handles unnamed types. 2021-07-28 19:30:29 +02:00
PromoteMemoryToRegister.cpp [SROA] Support opaque pointers 2021-09-08 22:25:44 +02:00
RelLookupTableConverter.cpp [Passes] Fix relative lookup table converter pass 2021-12-12 04:40:17 +00:00
SCCPSolver.cpp [llvm] Use range-based for loops with CallBase::args (NFC) 2021-11-14 09:32:36 -08:00
SSAUpdater.cpp Reland "[LICM] Hoist LOAD without sinking the STORE" 2021-12-02 03:53:50 -08:00
SSAUpdaterBulk.cpp [Transforms] Remove HasValueForBlock (NFC) 2021-07-30 08:56:49 -07:00
SampleProfileInference.cpp Use static_assert instead of assert (NFC) 2021-12-26 14:26:44 -08:00
SampleProfileLoaderBaseUtil.cpp profi - a flow-based profile inference algorithm: Part I (out of 3) 2021-12-01 15:30:38 -08:00
SanitizerStats.cpp
ScalarEvolutionExpander.cpp [SCEV] Sequential/in-order `UMin` expression 2022-01-10 20:51:26 +03:00
SimplifyCFG.cpp [ValueTracking][SelectionDAG] Rename ComputeMinSignedBits->ComputeMaxSignificantBits. NFC 2022-01-03 11:33:30 -08:00
SimplifyIndVar.cpp Put implementation details into anonymous namespaces. NFCI. 2021-11-07 15:18:30 +01:00
SimplifyLibCalls.cpp Use a sorted array instead of a map to store AttrBuilder string attributes 2022-01-10 14:49:53 +01:00
SizeOpts.cpp
SplitModule.cpp [IR] Refactor GlobalIFunc to inherit from GlobalObject, Remove GlobalIndirectSymbol 2021-10-20 10:29:47 -07:00
StripGCRelocates.cpp
StripNonLineTableDebugInfo.cpp
SymbolRewriter.cpp [llvm] Replace report_fatal_error(std::string) uses with report_fatal_error(Twine) 2021-10-06 12:04:30 +01:00
UnifyFunctionExitNodes.cpp
UnifyLoopExits.cpp
Utils.cpp
VNCoercion.cpp [GVN][NFC] Remove redundant check 2021-11-19 20:24:36 -05:00
ValueMapper.cpp [llvm][IR] Add no_cfi constant 2021-12-20 12:55:32 -08:00