aboutsummaryrefslogtreecommitdiff
path: root/gcc/match.pd
AgeCommit message (Expand)AuthorFilesLines
2023-05-24PR middle-end/109840: Preserve popcount/parity type in match.pd.Roger Sayle1-10/+17
2023-05-21atch.pd: Ensure (op CONSTANT_CLASS_P CONSTANT_CLASS_P) is simplified [PR109505]Jakub Jelinek1-10/+10
2023-05-16MATCH: [PR109424] Simplify min/max of boolean argumentsAndrew Pinski1-0/+8
2023-05-14MATCH: Add pattern for `signbit(x) ? x : -x` into abs (and swapped)Andrew Pinski1-0/+10
2023-05-12MATCH: Fix PR 109834, ICE with popcount combined with bswapAndrew Pinski1-2/+2
2023-05-12tree-optimization/109791 - simplify (unsigned)&foo - (unsigned)(&foo + o)Richard Biener1-0/+12
2023-05-11aarch64: convert vector shift + bitwise and + multiply to vector comparemtsamis1-0/+61
2023-05-11match.pd: Simplify popcount(X&Y)+popcount(X|Y) as popcount(X)+popcount(Y)Roger Sayle1-0/+19
2023-05-11match.pd: Simplify popcount/parity of bswap/rotate.Roger Sayle1-0/+50
2023-05-05MATCH: Add ABSU<a> == 0 to a == 0 simplificationAndrew Pinski1-5/+6
2023-05-02MATCH: Port CLRSB part of builtin_zero_patternAndrew Pinski1-0/+8
2023-05-02tree-optimization: [PR109702] MATCH: Fix a ? func(a) : N patternsAndrew Pinski1-8/+8
2023-04-30MATCH: add some of what phiopt's builtin_zero_pattern didAndrew Pinski1-2/+39
2023-04-28PHIOPT: Move two_value_replacement to match.pdAndrew Pinski1-0/+94
2023-04-28MATCH: Add patterns from phiopt's minmax_replacementAndrew Pinski1-0/+16
2023-04-28MATCH: Factor out code that for min max detection with constantsAndrew Pinski1-28/+1
2023-04-27wrong GIMPLE from (bit_field_ref CTOR ..) simplificationRichard Biener1-2/+7
2023-04-26Remove some uses of deprecated irange API.Aldy Hernandez1-5/+5
2023-04-22match.pd: Fix fneg/fadd optimization [PR109583]Jakub Jelinek1-1/+2
2023-04-18match.pd: Improve fneg/fadd optimization [PR109240]Jakub Jelinek1-54/+67
2023-04-04sanitizer: missing signed integer overflow errors [PR109107]Marek Polacek1-3/+3
2023-03-26match.pd: Fix up fneg/fadd simplification [PR109230]Jakub Jelinek1-0/+1
2023-02-18Remove #if GIMPLE around 1 - a patternAndrew Pinski1-2/+0
2023-02-14Simplify "1 - bool_val" to "bool_val ^ 1"Andrew Pinski1-0/+13
2023-02-09match.pd: Simplify BFR of insert when extracting exactly all inserted bits [P...Jakub Jelinek1-3/+6
2023-02-09match.pd: When simplifying BFR of an insert, require a mode precision integra...Andrew Pinski1-1/+3
2023-01-27Add support for conditional xorsign [PR96373]Richard Sandiford1-0/+14
2023-01-12PR tree-optimization/92342: Optimize b & -(a==c) in match.pdRoger Sayle1-3/+13
2023-01-02Update copyright years.Jakub Jelinek1-1/+1
2022-12-21Fix PR 105532: match.pd patterns calling tree_nonzero_bits with vector typesAndrew Pinski1-11/+14
2022-12-12middle-end: simplify complex if expressions where comparisons are inverse of ...Tamar Christina1-0/+55
2022-12-12Revert parts of ADDR_EXPR/CONSTRUCTOR treatment change in match.pdRichard Biener1-7/+15
2022-12-12tree-optimization/89317 - another pattern for &p->x != p + 4Richard Biener1-1/+1
2022-12-11tree-optimization/89317 - missed folding of (p + 4) - &p->dRichard Biener1-0/+11
2022-12-11Treat ADDR_EXPR and CONSTRUCTOR as GIMPLE/GENERIC magicallyRichard Biener1-8/+4
2022-12-08tree-optimization/107699 - missed &data._M_elems + _1 != &data._M_elems foldingRichard Biener1-8/+13
2022-12-05match.pd: Don't fold nan < x etc. for -ftrapping-math [PR106805]Jakub Jelinek1-0/+2
2022-12-02match.pd: rewrite select to branchless expressionMichael Collison1-0/+24
2022-11-28Fix comment for (A / (1 << B)) -> (A >> B).Andrew Pinski1-1/+1
2022-11-26tree-optimization/103356 Add missing (~a) == b folding for _BoolAndrew Pinski1-0/+7
2022-11-17Fix PR 107734: valgrind errors with sbitmap in match.pdAndrew Pinski1-0/+2
2022-11-17middle-end: ensure that VEC_PERM operands get lowered to the same SSA_NAME. [...Tamar Christina1-2/+2
2022-11-17middle-end: replace GET_MODE_WIDER_MODE with GET_MODE_NEXT_MODETamar Christina1-4/+7
2022-11-15Optimize VEC_PERM_EXPR with same permutation index and operationHongyu Wang1-0/+54
2022-11-14middle-end: Fix addsub patch removing return statementsTamar Christina1-39/+39
2022-11-14middle-end: Add optimized float addsub without needing VEC_PERM_EXPR.Tamar Christina1-0/+59
2022-11-14remove duplicate match.pd patternsRichard Biener1-33/+30
2022-10-21match.pd: Fix up gcc.dg/pr54346.c on i686-linux [PR54346]Jakub Jelinek1-1/+10
2022-10-19match.pd: Add 2 TYPE_OVERFLOW_SANITIZED checks [PR106990]Jakub Jelinek1-4/+6
2022-10-13diagnose return statement in match.pd (with { ... } expressionsRichard Biener1-148/+145