1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-01-02 07:32:52 +00:00
llvm-6502/lib/Transforms/Scalar
Duncan Sands 3cd652d530 Add a small pass that sets the readnone/readonly
attributes on functions, based on the result of
alias analysis.  It's not hardwired to use
GlobalsModRef even though this is the only (AFAIK)
alias analysis that results in this pass actually
doing something.  Enable as follows:
  opt ... -globalsmodref-aa -markmodref ...
Advantages of this pass: (1) records the result
of globalsmodref in the bitcode, meaning it is
available for use by later passes (currently
the pass manager isn't smart enough to magically
make an advanced alias analysis available to all
later passes), which may expose more optimization
opportunities; (2) hopefully speeds up compilation
when code is optimized twice, for example when a
file is compiled to bitcode, then later LTO is done
on it: marking functions readonly/readnone when
producing the initial bitcode should speed up alias
analysis during LTO; (3) good for discovering that
globalsmodref doesn't work very well :)
Not currently turned on by default.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55604 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-01 11:40:11 +00:00
..
ADCE.cpp
BasicBlockPlacement.cpp
CodeGenPrepare.cpp Rename SDOperand to SDValue. 2008-07-27 21:46:04 +00:00
CondPropagate.cpp
ConstantProp.cpp Fix comment typos. 2008-08-01 12:23:49 +00:00
DCE.cpp
DeadStoreElimination.cpp Don't remove volatile loads. Thanks to Duncan for noticing this one. 2008-07-28 20:52:42 +00:00
GVN.cpp Put a heuristic in place to prevent GVN from falling into bad cases with massively complicated CFGs. 2008-08-26 22:07:42 +00:00
GVNPRE.cpp
IndVarSimplify.cpp Pass the computed iteration count value to RewriteLoopExitValues 2008-08-05 22:34:21 +00:00
InstructionCombining.cpp Revert r54876 r54877 r54906 and r54907. Evan found that these caused a 20% 2008-08-21 05:56:10 +00:00
JumpThreading.cpp Enable first-class aggregates support. 2008-07-23 00:34:11 +00:00
LICM.cpp Put the LICM of constant GlobalVariables, introduced in r53945, under a 2008-07-24 23:57:25 +00:00
LoopDeletion.cpp
LoopIndexSplit.cpp Use empty() instead of begin() == end(). 2008-08-14 18:13:49 +00:00
LoopRotation.cpp Enable first-class aggregates support. 2008-07-23 00:34:11 +00:00
LoopStrengthReduce.cpp Do not apply the transformation if the target does not support DestTy natively. 2008-08-27 20:55:23 +00:00
LoopUnroll.cpp Add -unroll-allow-partial command line option that enabled the loop unroller to 2008-07-29 13:21:23 +00:00
LoopUnswitch.cpp Do not try to update dominator info while manipulating CFG. This code does not handle all cases and keeps invalid dom info around some cases, which misleads other passes down stream. 2008-07-03 17:37:52 +00:00
Makefile
MarkModRef.cpp Add a small pass that sets the readnone/readonly 2008-09-01 11:40:11 +00:00
MemCpyOptimizer.cpp
PredicateSimplifier.cpp Switch the asmprinter (.ll) and all the stuff it requires over to 2008-08-23 22:23:09 +00:00
Reassociate.cpp don't use the result of WriteAsOperand 2008-08-19 04:45:19 +00:00
Reg2Mem.cpp
Scalar.cpp
ScalarReplAggregates.cpp Fix PR2423 by checking all indices for out of range access, not only 2008-08-23 05:21:06 +00:00
SCCP.cpp improve encapsulation of the BBExecutable set. 2008-08-23 23:39:31 +00:00
SimplifyCFGPass.cpp
SimplifyLibCalls.cpp Have IRBuilder take a template argument on whether or not to preserve 2008-08-08 19:39:37 +00:00
TailDuplication.cpp
TailRecursionElimination.cpp