llvm-project/llvm/lib/Transforms/InstCombine
Sanjay Patel c56d1ccd79 [InstCombine] move folds for shift-shift pairs; NFCI
Although this is 'no-functional-change-intended', I'm adding tests
for shl-shl and lshr-lshr pairs because there is no existing test 
coverage for those folds.

It seems like we should be able to remove some code from foldShiftedShift()
at this point because we're handling those patterns on the general path.

llvm-svn: 293814
2017-02-01 21:31:34 +00:00
..
CMakeLists.txt [CMake] NFC. Updating CMake dependency specifications 2016-11-17 04:36:50 +00:00
InstCombineAddSub.cpp [InstCombine] add a wrapper for a common pair of transforms; NFCI 2017-01-10 23:49:07 +00:00
InstCombineAndOrXor.cpp [InstCombine] Fold ((C1 OP zext(X)) & C2) -> zext((C1 OP X) & C2) 2017-01-17 18:08:06 +00:00
InstCombineCalls.cpp [InstCombine] Allow InstCombine to merge adjacent guards 2017-02-01 16:34:55 +00:00
InstCombineCasts.cpp fix formatting; NFC 2017-01-31 17:25:42 +00:00
InstCombineCompares.cpp fix formatting; NFC 2017-01-31 17:25:42 +00:00
InstCombineInternal.h [Instcombine] Combine consecutive identical fences 2017-01-31 18:09:05 +00:00
InstCombineLoadStoreAlloca.cpp Don't combine stores to a swifterror pointer operand to a different type 2017-01-31 17:53:49 +00:00
InstCombineMulDivRem.cpp [InstCombine] add a wrapper for a common pair of transforms; NFCI 2017-01-10 23:49:07 +00:00
InstCombinePHI.cpp fix formatting; NFC 2017-01-31 17:25:42 +00:00
InstCombineSelect.cpp Use InstCombine's builder in foldSelectCttzCtlz instead of creating a new one. 2017-01-24 17:48:25 +00:00
InstCombineShifts.cpp [InstCombine] move folds for shift-shift pairs; NFCI 2017-02-01 21:31:34 +00:00
InstCombineSimplifyDemanded.cpp [InstCombine][X86] MULDQ/MULUDQ undef -> zero 2017-01-24 11:07:41 +00:00
InstCombineVectorOps.cpp [InstCombine] Use getVectorNumElements instead of explicitly casting to VectorType and calling getNumElements. NFC 2016-12-29 07:03:18 +00:00
InstructionCombining.cpp fix formatting; NFC 2017-01-31 17:25:42 +00:00
LLVMBuild.txt Update libdeps since TLI was moved from Target to Analysis in r226078. 2015-01-15 05:21:00 +00:00