summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* [DAGCombiner] Fix a crash visiting `AND` nodes.Davide Italiano2016-10-281-1/+6
* [DAGCombiner] Enable (urem x, (shl pow2, y)) -> (and x, (add (shl pow2, y), -...Simon Pilgrim2016-10-251-3/+3
* [DAGCombiner] Enable srem(x.y) -> urem(x,y) combine for vectorsSimon Pilgrim2016-10-251-4/+2
* [DAGCombiner] Enable sdiv(x.y) -> udiv(x,y) combine for vectorsSimon Pilgrim2016-10-251-4/+2
* [DAGCombine] Preserve shuffles when one of the vector operands is constantZvi Rackover2016-10-251-34/+75
* Use SDValue::getConstantOperandVal() helper. NFCI.Simon Pilgrim2016-10-231-4/+1
* [DAG] fold negation of sign-bitSanjay Patel2016-10-211-11/+27
* [DAG] use SDNode flags 'nsz' to enable fadd/fsub with zero foldsSanjay Patel2016-10-211-16/+20
* [Target] remove TargetRecip class; 2nd trySanjay Patel2016-10-201-11/+34
* [DAGCombiner] Add general constant vector support to (srl (shl x, c), c) -> (...Simon Pilgrim2016-10-201-8/+8
* Merged nested ifs. NFCI.Simon Pilgrim2016-10-191-7/+6
* [DAGCombiner] Add general constant vector support to (shl (add x, c1), c2) ->...Simon Pilgrim2016-10-191-4/+5
* [DAGCombiner] Add general constant vector support to (shl (sra x, c1), c1) ->...Simon Pilgrim2016-10-191-7/+6
* [DAGCombiner] Add general constant vector support to (shl (mul x, c1), c2) ->...Simon Pilgrim2016-10-191-5/+6
* [DAGCombiner] Just call isConstOrConstSplat directly. NFCI.Simon Pilgrim2016-10-191-8/+4
* [DAGCombine] Generalize distributeTruncateThroughAnd to work with any non-opa...Simon Pilgrim2016-10-191-13/+9
* revert r284495: [Target] remove TargetRecip classSanjay Patel2016-10-181-32/+9
* [Target] remove TargetRecip class; move reciprocal estimate isel functionalit...Sanjay Patel2016-10-181-9/+32
* [DAGCombiner] Add splatted vector support to (udiv x, (shl pow2, y)) -> x >>u...Simon Pilgrim2016-10-181-2/+3
* Strip trailing whitespace (NFCI)Simon Pilgrim2016-10-181-1/+1
* [DAG] make isConstOrConstSplat and isConstOrConstSplatFP more accessible; NFCSanjay Patel2016-10-171-38/+0
* [DAG] optimize away an arithmetic-right-shift of a 0 or -1 valueSanjay Patel2016-10-171-0/+4
* [DAG] avoid creating illegal node when transforming negated shifted sign bitSanjay Patel2016-10-141-2/+3
* [DAG] add folds for negated shifted sign bitSanjay Patel2016-10-141-0/+13
* Fix use-after-freesNicolai Haehnle2016-10-141-2/+2
* [DAGCombiner] Teach createBuildVecShuffle to handle cases where input vectors...Craig Topper2016-10-141-5/+9
* [DAG] hoist DL(N) and fix formatting; NFCSanjay Patel2016-10-131-24/+31
* Revert "In visitSTORE, always use FindBetterChain, rather than only when UseA...Nirav Dave2016-10-131-120/+271
* In visitSTORE, always use FindBetterChain, rather than only when UseAA is ena...Nirav Dave2016-10-131-271/+120
* [DAGCombiner] Add vector support to (mul (shl X, Y), Z) -> (shl (mul X, Z), Y...Simon Pilgrim2016-10-131-7/+6
* [DAGCombiner] Add vector support to C2-(A+C1) -> (C2-C1)-A foldingSimon Pilgrim2016-10-131-5/+5
* [DAGCombiner] Add vector support to (sub -1, x) -> (xor x, -1) canonicalizationSimon Pilgrim2016-10-131-1/+12
* [DAGCombiner] Update most ADD combines to support general vector combinesSimon Pilgrim2016-10-121-12/+54
* [DAGCombiner] Do not remove the load of stored values when optimizations are ...Konstantin Zhuravlyov2016-10-121-1/+2
* [DAG] Fix crash in build_vector -> vector_shuffle combineMichael Kuperstein2016-10-111-0/+5
* [DAG] add fold for masked negated sign-extended boolSanjay Patel2016-10-111-5/+11
* [DAG] add fold for masked negated extended boolSanjay Patel2016-10-111-2/+15
* [DAG] simplify logic; NFCSanjay Patel2016-10-111-8/+6
* [DAG] hoist DL(N) and fix formatting; NFCSanjay Patel2016-10-111-25/+32
* [DAG] fix formatting; NFCSanjay Patel2016-10-111-72/+68
* [DAG] clean up foldSelectOfConstants(); NFCISanjay Patel2016-10-071-19/+14
* [DAG] move fold (select C, 0, 1 -> xor C, 1) to a helper function; NFCSanjay Patel2016-10-071-16/+31
* Delete some dead code in SelectionDAG (NFC)Vedant Kumar2016-10-061-4/+0
* [DAG] Generalize build_vector -> vector_shuffle combine for more than 2 inputsMichael Kuperstein2016-10-061-135/+191
* fix formatting; NFCSanjay Patel2016-10-031-8/+5
* Revert "In visitSTORE, always use FindBetterChain, rather than only when UseA...Nirav Dave2016-09-281-120/+271
* In visitSTORE, always use FindBetterChain, rather than only when UseAA is ena...Nirav Dave2016-09-281-271/+120
* [DAG] Remove isVectorClearMaskLegal() check from vector_build dagcombineMichael Kuperstein2016-09-281-7/+0
* Change the order of the splitted store from high - low to low - high.Wei Mi2016-09-181-2/+2
* getValueType().getSizeInBits() -> getValueSizeInBits() ; NFCISanjay Patel2016-09-141-9/+8
OpenPOWER on IntegriCloud