llvm-project/llvm/lib/Transforms/Utils
Johannes Doerfert 282f5d7ad1 [Attributor] Derive memory location attributes (argmemonly, ...)
In addition to memory behavior attributes (readonly/writeonly) we now
derive memory location attributes (argmemonly/inaccessiblememonly/...).
The former is part of AAMemoryBehavior and the latter part of
AAMemoryLocation. While they are similar in nature it got messy when
they were put in a single AA. Location attributes for arguments and
floating values will follow later.

Note that both memory attributes kinds can derive readnone. If there are
no accesses AAMemoryBehavior will derive readnone. If there are accesses
but only to stack (=local) locations AAMemoryLocation will derive
readnone.

Reviewed By: uenoku

Differential Revision: https://reviews.llvm.org/D73426
2020-02-14 19:05:51 -06:00
..
AMDGPUEmitPrintf.cpp Fix unused variable warning. NFCI. 2020-01-16 13:02:40 +00:00
ASanStackFrameLayout.cpp Use llvm::stable_sort 2019-04-23 14:51:27 +00:00
AddDiscriminators.cpp [NFC] Fix trivial typos in comments 2020-01-06 10:50:26 +00:00
BasicBlockUtils.cpp [IndVarSimplify] Fix for MemorySSA preserve. 2020-01-23 11:06:16 -08:00
BreakCriticalEdges.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
BuildLibCalls.cpp [FunctionAttrs] Added noalias for memccpy/mempcpy arguments 2019-09-30 19:43:48 +00:00
BypassSlowDivision.cpp [BypassSlowDivision][CodeGenPrepare] avoid crashing on unused code (PR43514) 2019-10-01 21:25:36 +00:00
CMakeLists.txt Introduce a CallGraph updater helper class 2020-02-08 14:16:48 -06:00
CallGraphUpdater.cpp [Attributor] Derive memory location attributes (argmemonly, ...) 2020-02-14 19:05:51 -06:00
CallPromotionUtils.cpp [CallPromotionUtils] Add tryPromoteCall. 2020-02-10 13:43:16 -08:00
CanonicalizeAliases.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
CloneFunction.cpp Fix for "DICompileUnit not listed in llvm.dbg.cu" verification error after ... 2019-08-28 21:27:50 +00:00
CloneModule.cpp Fix for "DICompileUnit not listed in llvm.dbg.cu" verification error after ... 2019-08-28 21:27:50 +00:00
CodeExtractor.cpp Reapply "[OpenMP][IRBuilder] Perform finalization (incl. outlining) late" 2020-02-12 22:29:07 -06:00
CodeMoverUtils.cpp Fix MSVC lamdba default capture mode warning. NFCI. 2020-01-29 15:47:04 +00:00
CtorUtils.cpp
Debugify.cpp Add missing includes needed to prune LLVMContext.h include, NFC 2019-11-14 15:23:15 -08:00
DemoteRegToStack.cpp
EntryExitInstrumenter.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
EscapeEnumerator.cpp
Evaluator.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
FlattenCFG.cpp Handle successor's PHI node correctly when flattening CFG merges two if-regions 2019-09-26 15:20:17 +00:00
FunctionComparator.cpp IR: compare type attributes deeply when looking into functions. 2019-06-27 11:44:45 +00:00
FunctionImportUtils.cpp [ThinLTO] Fix importing of writeonly variables in distributed ThinLTO 2019-12-04 14:59:27 -08:00
GlobalStatus.cpp
GuardUtils.cpp Further cleanup manipulation of widenable branches [NFC] 2019-11-21 15:07:30 -08:00
ImportedFunctionsInliningStatistics.cpp [Instruction] Add hasMetadata(Kind) helper [NFC] 2019-09-04 17:28:48 +00:00
InjectTLIMappings.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
InlineFunction.cpp [Local] Do not move around dbg.declares during replaceDbgDeclare 2020-02-13 14:35:02 -08:00
InstructionNamer.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
IntegerDivision.cpp
KnowledgeRetention.cpp [NFC] Factor out function to detect if an attribute has an argument. 2020-02-03 22:27:24 +01:00
LCSSA.cpp [LCSSA] Don't use VH callbacks to invalidate SCEV when creating LCSSA phis 2019-12-06 13:21:49 +07:00
LLVMBuild.txt
LibCallsShrinkWrap.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
Local.cpp [Local] Do not move around dbg.declares during replaceDbgDeclare 2020-02-13 14:35:02 -08:00
LoopRotationUtils.cpp [LoopRotate] add ability to repeat loop rotation until non-deoptimizing exit is found 2020-01-23 15:56:24 +03:00
LoopSimplify.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
LoopUnroll.cpp [NFC] Remove extra headers included in Loop Unroll and LoopUnrollAndJam files 2020-02-12 17:57:56 +00:00
LoopUnrollAndJam.cpp [NFC] Remove extra headers included in Loop Unroll and LoopUnrollAndJam files 2020-02-12 17:57:56 +00:00
LoopUnrollPeel.cpp Revert "[Loop Peeling] Add possibility to enable peeling on loop nests." 2020-01-16 10:33:38 -08:00
LoopUnrollRuntime.cpp Revert "[SCEV] Move ScalarEvolutionExpander.cpp to Transforms/Utils (NFC)." 2020-01-04 18:44:38 +00:00
LoopUtils.cpp [IRCE] Make IRCE a Function pass. 2020-02-05 09:22:41 -08:00
LoopVersioning.cpp Revert "[SCEV] Move ScalarEvolutionExpander.cpp to Transforms/Utils (NFC)." 2020-01-04 18:44:38 +00:00
LowerInvoke.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
LowerMemIntrinsics.cpp
LowerSwitch.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
Mem2Reg.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
MetaRenamer.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
MisExpect.cpp Add missing includes needed to prune LLVMContext.h include, NFC 2019-11-14 15:23:15 -08:00
ModuleUtils.cpp [llvm][VectorUtils] Tweak VFShape for scalable vector functions. 2020-01-30 05:53:56 +00:00
NameAnonGlobals.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
PredicateInfo.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
PromoteMemoryToRegister.cpp [Mem2Reg] Delete unused PointerAllocaValues 2019-04-14 07:28:29 +00:00
SSAUpdater.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
SSAUpdaterBulk.cpp
SanitizerStats.cpp
SimplifyCFG.cpp Re-revert: Recover debug intrinsics when killing duplicated/empty blocks 2020-02-13 11:48:19 +00:00
SimplifyIndVar.cpp Revert "[SCEV] Move ScalarEvolutionExpander.cpp to Transforms/Utils (NFC)." 2020-01-04 18:44:38 +00:00
SimplifyLibCalls.cpp [SimplifyLibCalls] Add __strlen_chk. 2020-02-08 11:51:00 -08:00
SizeOpts.cpp [PGO][PGSO] Enable profile guided size optimization for non-cold code under instrumentation PGO. 2020-02-06 10:29:01 -08:00
SplitModule.cpp
StripGCRelocates.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
StripNonLineTableDebugInfo.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
SymbolRewriter.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
UnifyFunctionExitNodes.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
Utils.cpp [SVFS] Inject TLI Mappings in VFABI attribute. 2019-11-15 18:42:56 +00:00
VNCoercion.cpp [MemDepAnalysis/VNCoercion] Move static method to its only use. [NFCI] 2020-01-17 15:18:42 -08:00
ValueMapper.cpp [ValueMapper] NFC: Remove dead code to pause metadata mapping 2019-08-28 17:43:14 +00:00