llvm-6502/lib/Transforms/InstCombine
Benjamin Kramer b70ebd2aa3 InstCombine: Reduce "X shift (A srem B)" to "X shift (A urem B)" iff B is positive.
This allows to transform the rem in "1 << ((int)x % 8);" to an and.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120028 91177308-0d34-0410-b5e6-96231b3b80d8
2010-11-23 18:52:42 +00:00
..
CMakeLists.txt Removed a bunch of unnecessary target_link_libraries. 2010-09-28 22:39:14 +00:00
InstCombine.h Exploit distributive laws (eg: And distributes over Or, Mul over Add, etc) in a 2010-11-23 14:23:47 +00:00
InstCombineAddSub.cpp Exploit distributive laws (eg: And distributes over Or, Mul over Add, etc) in a 2010-11-23 14:23:47 +00:00
InstCombineAndOrXor.cpp Exploit distributive laws (eg: And distributes over Or, Mul over Add, etc) in a 2010-11-23 14:23:47 +00:00
InstCombineCalls.cpp Teach instcombine to set the alignment arguments for NEON load/store intrinsics. 2010-10-22 21:41:48 +00:00
InstCombineCasts.cpp Fix a serious performance regression introduced by r108687 on linux: 2010-09-07 20:01:38 +00:00
InstCombineCompares.cpp duncan's spider sense was right, I completely reversed the condition 2010-11-23 02:42:04 +00:00
InstCombineLoadStoreAlloca.cpp Fix a case where instcombine was stripping metadata (and alignment) 2010-10-25 16:16:27 +00:00
InstCombineMulDivRem.cpp InstCombine: Add a missing irem identity (X % X -> 0). 2010-11-17 19:11:46 +00:00
InstCombinePHI.cpp Teach InstructionSimplify about phi nodes. I chose to have it simply 2010-11-14 13:30:18 +00:00
InstCombineSelect.cpp Teach InstCombine not to use Add and Neg on FP. PR 8490. 2010-10-27 23:45:18 +00:00
InstCombineShifts.cpp InstCombine: Reduce "X shift (A srem B)" to "X shift (A urem B)" iff B is positive. 2010-11-23 18:52:42 +00:00
InstCombineSimplifyDemanded.cpp use ArgOperand API 2010-06-28 16:45:00 +00:00
InstCombineVectorOps.cpp Clean up indentation and other whitespace. 2010-10-29 22:20:45 +00:00
InstCombineWorklist.h I got tired of VISIBILITY_HIDDEN colliding with the gcc enum. Rename it 2010-05-11 20:16:09 +00:00
InstructionCombining.cpp Propagate LeftDistributes and RightDistributes into their only uses. 2010-11-23 15:28:14 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00