llvm-6502/include/llvm/Transforms/Utils
Andrew Trick c7b0b7dc8f Add support to indvars for optimizing sadd.with.overflow.
Split sadd.with.overflow into add + sadd.with.overflow to allow
analysis and optimization. This should ideally be done after
InstCombine, which can perform code motion (eventually indvars should
run after all canonical instcombines). We want ISEL to recombine the
add and the check, at least on x86.

This is currently under an option for reducing live induction
variables: -liv-reduce. The next step is reducing liveness of IVs that
are live out of the overflow check paths. Once the related
optimizations are fully developed, reviewed and tested, I do expect
this to become default.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197926 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-23 23:31:49 +00:00
..
ASanStackFrameLayout.h Fix a narrowing warning due to a type mismatch (size_t vs uint64). 2013-12-06 23:09:24 +00:00
BasicBlockUtils.h [asan] don't unpoison redzones on function exit in use-after-return mode. 2013-12-23 14:15:08 +00:00
BuildLibCalls.h Enable double to float shrinking optimizations for binary functions like 'fmin/fmax'. Fix radar:15283121 2013-12-16 22:42:40 +00:00
BypassSlowDivision.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
Cloning.h Extend RemapInstruction and friends to take an optional new parameter, a ValueMaterializer. 2013-05-28 15:17:05 +00:00
CmpInstAnalysis.h Fix missing C++ mode comment 2013-12-19 05:32:44 +00:00
CodeExtractor.h Remove excess semi-colons to quiet warnings. 2012-05-08 20:45:04 +00:00
GlobalStatus.h Optimize more linkonce_odr values during LTO. 2013-10-21 17:14:55 +00:00
IntegerDivision.h Add support for software expansion of 64-bit integer division instructions. 2013-11-19 06:54:19 +00:00
Local.h Fix assert with GEP ptr vector indexing structs 2013-08-19 21:43:16 +00:00
LoopUtils.h Rename LoopSimplify.h to LoopUtils.h 2013-05-20 20:46:30 +00:00
ModuleUtils.h Respect llvm.used in Internalize. 2013-07-25 03:23:25 +00:00
PromoteMemToReg.h Revert r187191, which broke opt -mem2reg on the testcases included in PR16867. 2013-08-13 22:51:58 +00:00
SimplifyIndVar.h Add support to indvars for optimizing sadd.with.overflow. 2013-12-23 23:31:49 +00:00
SimplifyLibCalls.h instcombine: Migrate math library call simplifications 2012-11-13 04:16:17 +00:00
SpecialCaseList.h Add forgotten header guards 2013-12-05 12:52:32 +00:00
SSAUpdater.h Update comments for SSAUpdater to use the modern doxygen comment 2013-07-28 22:00:33 +00:00
SSAUpdaterImpl.h Fix SSAUpdaterImpl's RecordMatchingPHI to record exactly the 2012-02-03 01:07:01 +00:00
UnifyFunctionExitNodes.h Fix "existant" typos 2013-10-29 02:35:28 +00:00
UnrollLoop.h Add -unroll-runtime for unrolling loops with run-time trip counts. 2011-12-09 06:19:40 +00:00
ValueMapper.h Extend RemapInstruction and friends to take an optional new parameter, a ValueMaterializer. 2013-05-28 15:17:05 +00:00