llvm-project/llvm/lib/Transforms/InstCombine
Sanjay Patel 40e7ba0046 [InstCombine] add helper function to foldCastedBitwiseLogic() ; NFCI
This is a straight cut and paste of the existing code and is intended to
be the first step in solving part of PR26702:
https://llvm.org/bugs/show_bug.cgi?id=26702

We should be able to reuse most of this and delete the nearly identical 
existing code in visitOr(). Then, we can enhance visitXor() to use the
same code too.

llvm-svn: 261649
2016-02-23 16:36:07 +00:00
..
CMakeLists.txt Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
InstCombineAddSub.cpp Remove uses of builtin comma operator. 2016-02-18 22:09:30 +00:00
InstCombineAndOrXor.cpp [InstCombine] add helper function to foldCastedBitwiseLogic() ; NFCI 2016-02-23 16:36:07 +00:00
InstCombineCalls.cpp Revert "[attrs] Handle convergent CallSites." 2016-02-22 18:24:43 +00:00
InstCombineCasts.cpp function names start with a lowercase letter; NFC 2016-02-01 22:23:39 +00:00
InstCombineCompares.cpp Remove uses of builtin comma operator. 2016-02-18 22:09:30 +00:00
InstCombineInternal.h [InstCombine] add helper function to foldCastedBitwiseLogic() ; NFCI 2016-02-23 16:36:07 +00:00
InstCombineLoadStoreAlloca.cpp NFC: Fix formating 2016-02-17 21:21:29 +00:00
InstCombineMulDivRem.cpp Remove uses of builtin comma operator. 2016-02-18 22:09:30 +00:00
InstCombinePHI.cpp Fixed typo in r260530 2016-02-11 16:46:13 +00:00
InstCombineSelect.cpp function names start with a lowercase letter; NFC 2016-02-01 22:23:39 +00:00
InstCombineShifts.cpp function names start with a lowercase letter; NFC 2016-02-01 22:23:39 +00:00
InstCombineSimplifyDemanded.cpp function names start with a lowercase letter; NFC 2016-02-01 22:23:39 +00:00
InstCombineVectorOps.cpp function names start with a lowercase letter; NFC 2016-02-01 22:23:39 +00:00
InstructionCombining.cpp [AA] Preserve the AA results wrapper pass as well as BasicAA in a few 2016-02-19 03:12:14 +00:00
LLVMBuild.txt Update libdeps since TLI was moved from Target to Analysis in r226078. 2015-01-15 05:21:00 +00:00