Lines Matching refs:reduction

87   // Check that the reduction of this binop applied to constants {a} and {b}
94 // Check that the reduction of this binop applied to {a} and {b} yields
101 Reduction reduction = reducer.Reduce(n);
102 CHECK(reduction.Changed());
103 CHECK_NE(n, reduction.replacement());
104 CHECK_EQ(expect, ValueOf<T>(reduction.replacement()->op()));
107 // Check that the reduction of this binop applied to {a} and {b} yields
113 Reduction reduction = reducer.Reduce(n);
114 CHECK(reduction.Changed());
115 CHECK_EQ(expect, reduction.replacement());
118 // Check that the reduction of this binop applied to {left} and {right} yields
125 Reduction reduction = reducer.Reduce(n);
126 CHECK(reduction.Changed());
127 CHECK_EQ(binop, reduction.replacement()->op());
128 CHECK_EQ(left_expect, reduction.replacement()->InputAt(0));
129 CHECK_EQ(right_expect, reduction.replacement()->InputAt(1));
132 // Check that the reduction of this binop applied to {left} and {right} yields
147 // Check that the reduction of this binop applied to {left} and {right} yields
172 Reduction reduction = reducer.Reduce(n);
173 CHECK(!reduction.Changed() || reduction.replacement() == n);
180 Reduction reduction = reducer.Reduce(n);
181 CHECK(!reduction.Changed());
196 Reduction reduction = reducer.Reduce(n);
197 CHECK(!reduction.Changed());
666 Reduction reduction = reducer.Reduce(load);
667 CHECK(!reduction.Changed()); // loads should not be reduced.
675 Reduction reduction = reducer.Reduce(store);
676 CHECK(!reduction.Changed()); // stores should not be reduced.