Lines Matching refs:reduction

101     Reduction reduction = reducer.Reduce(n);  in CheckFoldBinop()  local
102 CHECK(reduction.Changed()); in CheckFoldBinop()
103 CHECK_NE(n, reduction.replacement()); in CheckFoldBinop()
104 CHECK_EQ(expect, ValueOf<T>(reduction.replacement()->op())); in CheckFoldBinop()
113 Reduction reduction = reducer.Reduce(n); in CheckBinop() local
114 CHECK(reduction.Changed()); in CheckBinop()
115 CHECK_EQ(expect, reduction.replacement()); in CheckBinop()
125 Reduction reduction = reducer.Reduce(n); in CheckFoldBinop() local
126 CHECK(reduction.Changed()); in CheckFoldBinop()
127 CHECK_EQ(binop, reduction.replacement()->op()); in CheckFoldBinop()
128 CHECK_EQ(left_expect, reduction.replacement()->InputAt(0)); in CheckFoldBinop()
129 CHECK_EQ(right_expect, reduction.replacement()->InputAt(1)); in CheckFoldBinop()
172 Reduction reduction = reducer.Reduce(n); in CheckPutConstantOnRight() local
173 CHECK(!reduction.Changed() || reduction.replacement() == n); in CheckPutConstantOnRight()
180 Reduction reduction = reducer.Reduce(n); in CheckPutConstantOnRight() local
181 CHECK(!reduction.Changed()); in CheckPutConstantOnRight()
196 Reduction reduction = reducer.Reduce(n); in CheckDontPutConstantOnRight() local
197 CHECK(!reduction.Changed()); in CheckDontPutConstantOnRight()
666 Reduction reduction = reducer.Reduce(load); in TEST() local
667 CHECK(!reduction.Changed()); // loads should not be reduced. in TEST()
675 Reduction reduction = reducer.Reduce(store); in TEST() local
676 CHECK(!reduction.Changed()); // stores should not be reduced. in TEST()