Lines Matching refs:editor
29 AdvancedReducer::Editor* editor, Node* node, in Reduce() argument
33 CommonOperatorReducer reducer(editor, graph(), common(), &machine); in Reduce()
39 StrictMock<MockAdvancedReducerEditor> editor; in Reduce() local
40 return Reduce(&editor, node, flags); in Reduce()
81 StrictMock<MockAdvancedReducerEditor> editor; in TEST_F() local
82 EXPECT_CALL(editor, Replace(if_true, IsDead())); in TEST_F()
83 EXPECT_CALL(editor, Replace(if_false, control)); in TEST_F()
84 Reduction const r = Reduce(&editor, branch); in TEST_F()
98 StrictMock<MockAdvancedReducerEditor> editor; in TEST_F() local
99 EXPECT_CALL(editor, Replace(if_true, control)); in TEST_F()
100 EXPECT_CALL(editor, Replace(if_false, IsDead())); in TEST_F()
101 Reduction const r = Reduce(&editor, branch); in TEST_F()
115 StrictMock<MockAdvancedReducerEditor> editor; in TEST_F() local
116 EXPECT_CALL(editor, Replace(if_true, IsDead())); in TEST_F()
117 EXPECT_CALL(editor, Replace(if_false, control)); in TEST_F()
118 Reduction const r = Reduce(&editor, branch); in TEST_F()
132 StrictMock<MockAdvancedReducerEditor> editor; in TEST_F() local
133 EXPECT_CALL(editor, Replace(if_true, control)); in TEST_F()
134 EXPECT_CALL(editor, Replace(if_false, IsDead())); in TEST_F()
135 Reduction const r = Reduce(&editor, branch); in TEST_F()
213 StrictMock<MockAdvancedReducerEditor> editor; in TEST_F() local
214 EXPECT_CALL(editor, Revisit(merge)); in TEST_F()
216 Reduce(&editor, graph()->NewNode(common()->EffectPhi(value_input_count), in TEST_F()
231 StrictMock<MockAdvancedReducerEditor> editor; in TEST_F() local
232 EXPECT_CALL(editor, Revisit(loop)); in TEST_F()
233 Reduction const r = Reduce(&editor, ephi); in TEST_F()
259 StrictMock<MockAdvancedReducerEditor> editor; in TEST_F() local
260 EXPECT_CALL(editor, Revisit(merge)); in TEST_F()
262 &editor, graph()->NewNode(common()->Phi(rep, value_input_count), in TEST_F()
279 StrictMock<MockAdvancedReducerEditor> editor; in TEST_F() local
280 EXPECT_CALL(editor, Revisit(loop)); in TEST_F()
281 Reduction const r = Reduce(&editor, phi); in TEST_F()
299 StrictMock<MockAdvancedReducerEditor> editor; in TEST_F() local
300 EXPECT_CALL(editor, Revisit(merge)); in TEST_F()
301 Reduction r = Reduce(&editor, phi); in TEST_F()
319 StrictMock<MockAdvancedReducerEditor> editor; in TEST_F() local
320 EXPECT_CALL(editor, Revisit(merge)); in TEST_F()
321 Reduction r = Reduce(&editor, phi); in TEST_F()
337 StrictMock<MockAdvancedReducerEditor> editor; in TEST_F() local
338 EXPECT_CALL(editor, Revisit(merge)); in TEST_F()
339 Reduction r = Reduce(&editor, phi, MachineOperatorBuilder::kFloat32Max); in TEST_F()
355 StrictMock<MockAdvancedReducerEditor> editor; in TEST_F() local
356 EXPECT_CALL(editor, Revisit(merge)); in TEST_F()
357 Reduction r = Reduce(&editor, phi, MachineOperatorBuilder::kFloat64Max); in TEST_F()
373 StrictMock<MockAdvancedReducerEditor> editor; in TEST_F() local
374 EXPECT_CALL(editor, Revisit(merge)); in TEST_F()
375 Reduction r = Reduce(&editor, phi, MachineOperatorBuilder::kFloat32Min); in TEST_F()
391 StrictMock<MockAdvancedReducerEditor> editor; in TEST_F() local
392 EXPECT_CALL(editor, Revisit(merge)); in TEST_F()
393 Reduction r = Reduce(&editor, phi, MachineOperatorBuilder::kFloat64Min); in TEST_F()
418 StrictMock<MockAdvancedReducerEditor> editor; in TEST_F() local
419 EXPECT_CALL(editor, Replace(merge, IsDead())); in TEST_F()
420 Reduction const r = Reduce(&editor, ret); in TEST_F()