aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
AgeCommit message (Expand)AuthorFilesLines
2015-09-23re PR middle-end/67662 (-fsanitize=undefined cries wolf for X - 1 + X when X ...Richard Biener1-5/+12
2015-09-20switch from gimple to gimple*Trevor Saunders1-1/+1
2015-09-18re PR tree-optimization/66142 (Loop is not vectorized because not sufficient ...Richard Biener1-3/+26
2015-09-17Split up optabs.[hc]Richard Sandiford1-1/+1
2015-09-16re PR middle-end/67271 (ICE with -O1,2,3 on darwin14.5 x86_64)Richard Biener1-0/+4
2015-09-16re PR middle-end/67442 (GCC 5.2.0 on x86_64 creates invalid address on specif...Richard Biener1-2/+6
2015-09-08[fold-const.c] Fix bigendian HFmode in native_interpret_realAlan Lawrence1-6/+16
2015-09-03re PR tree-optimization/67351 (Missed optimisation on 64-bit field compared t...Naveen H.S1-26/+0
2015-08-31Move some comparison simplifications to match.pdMarc Glisse1-20/+0
2015-08-31Move some complex simplifications to match.pdMarc Glisse1-90/+0
2015-08-26fold-const.c (fold_binary_loc): Move Optimize root(x)*root(y) as root(x*y) to...Naveen H.S1-79/+0
2015-08-21fold-const.c (fold_binary_loc): Move sqrt(x)*sqrt(x) as x to match.pd.Naveen H.S1-189/+1
2015-08-17arm.c (neon_element_bits): Replace call to GET_MODE_BITSIZE (GET_MODE_INNER (...David Sherwood1-1/+1
2015-07-31fold-const.c (fold_binary_loc): Remove X ^ C1 == C2 -> X == (C1 ^ C2) which i...Richard Biener1-50/+0
2015-07-28arm.c (neon_element_bits, [...]): Call GET_MODE_INNER unconditionally.David Sherwood1-1/+1
2015-07-28fold-const.c (fold_comparison): Remove equality folding of decl addresses ...Richard Biener1-24/+0
2015-07-24re PR middle-end/66984 (ICE: fold_binary changes type of operand, causing fai...Gary Funck1-1/+3
2015-07-24fold-const.c (fold_binary_loc): Move simplifying of comparisons against the h...Richard Biener1-117/+0
2015-07-24fold-const.c (maybe_canonicalize_comparison_1): Move A code CST canonicalizat...Richard Biener1-66/+32
2015-07-24genmatch.c (add_operator): Allow SSA_NAME as predicate.Richard Biener1-26/+2
2015-07-23generic-match-head.c: Include cgraph.h.Richard Biener1-23/+0
2015-07-17fold-const.c (fold_binary_loc): Move A - (A & B) into ~B & A ...Marek Polacek1-24/+0
2015-07-16fold-const.c (fold_widened_comparison): Remove.Richard Biener1-158/+0
2015-07-15fold-const.c (fold_binary_loc): Move bool_var != 0 -> bool_var and bool_var =...Richard Biener1-10/+0
2015-07-10fold-const.c (distribute_bit_expr): Remove.Richard Biener1-106/+0
2015-07-10gimple-predict.h: New file.Andrew MacLeod1-0/+1
2015-07-09reduce conditional compilation for LOAD_EXTEND_OPTrevor Saunders1-6/+4
2015-07-08fold-const.c (fold_widened_comparison): Fix inverted comparison.Richard Biener1-1/+1
2015-07-08tree-core.h: Include symtab.h.Andrew MacLeod1-11/+4
2015-07-07fold-const.c (fold_binary_loc): Move (X & C2) << C1 -> (X << C1) & (C2 << C1)...Richard Biener1-21/+0
2015-07-03fold-const.c (fold_mathfn_compare): Remove.Richard Biener1-286/+0
2015-07-03fold-const.c (fold_binary_loc): Move (T)ptr & CST folding...Richard Biener1-19/+0
2015-07-02builtins.c (get_pointer_alignment_1): Handle POINTER_PLUS_EXPR.Richard Biener1-84/+8
2015-07-01fold-const.c (fold_comparison): Move X - Y CMP 0 -> X CMP Y...Richard Biener1-105/+0
2015-07-01fold-const.c (fold_binary_loc): Move ~X ^ X -> -1 and (X & Y) ^ Y -> ~X & Y t...Richard Biener1-57/+0
2015-06-30fold-const.c (fold_binary_loc): Move ~x & ~y -> ~(x | y) and ~x | ~y -> ~(x &...Richard Biener1-119/+0
2015-06-30fold-const.c (fold_unary_loc): Move abs(abs(x)) -> abs(x)...Richard Biener1-28/+6
2015-06-30fold-const.c (fold_binary_loc): Move ~X | X folding ...Marek Polacek1-18/+0
2015-06-30target-insns.def (canonicalize_funcptr_for_compare): Add.Richard Biener1-9/+3
2015-06-29fold-const.c (fold_binary_loc): Move X - (X / Y) * Y -> X % Y to ...Marek Polacek1-13/+0
2015-06-29genmatch.c (add_operator): Treat ADDR_EXPR as atom.Richard Biener1-10/+0
2015-06-26fold-const.c (fold_binary_loc): Remove -A CMP -B -> A CMP B and -A CMP CST ->...Richard Biener1-59/+0
2015-06-25function.h (ipa_opt_pass, [...]): Move forward declarations.Andrew MacLeod1-2/+0
2015-06-25hash-table.h: Update comments.Richard Sandiford1-9/+9
2015-06-25fold-const.c (fold_binary_loc): Move simplification of (X <<>> C1) & C2 ...Richard Biener1-100/+0
2015-06-22Use std::swap instead of manual swaps.Mikhail Maltsev1-3/+1
2015-06-17coretypes.h: Include input.h and as-a.h.Andrew MacLeod1-2/+0
2015-06-08coretypes.h: Include hash-table.h and hash-set.h for host files.Andrew MacLeod1-7/+0
2015-06-04coretypes.h: Include machmode.h...Andrew MacLeod1-5/+0
2015-05-26fold-const.c (fold_binary_loc): Move X % -Y -> X % Y and X % C -> X & (C - 1)...Richard Biener1-37/+0