Home | History | Annotate | Download | only in compiler

Lines Matching refs:Node

9 #include "test/unittests/compiler/node-test-utils.h"
25 Reduction Reduce(AdvancedReducer::Editor* editor, Node* node) {
27 return reducer.Reduce(node);
30 Reduction Reduce(Node* node) {
32 return Reduce(&editor, node);
59 Node* const value = Parameter(0);
60 Node* const effect = graph()->start();
61 Node* const dead = graph()->NewNode(common()->Dead());
62 Node* const node = graph()->NewNode(&kOp0, value, effect, dead);
63 Reduction const r = Reduce(node);
144 Node* const dead = graph()->NewNode(common()->Dead());
145 Node* const start = graph()->start();
153 Node* inputs[kMaxInputs];
171 Node* inputs[kMaxInputs + 1];
185 Node* const v0 = Parameter(0);
186 Node* const v1 = Parameter(1);
187 Node* const c0 =
189 Node* const c1 = graph()->NewNode(common()->Dead());
190 Node* const e0 = graph()->NewNode(&kOp0, v0, graph()->start(), c0);
191 Node* const e1 = graph()->NewNode(&kOp0, v1, graph()->start(), c1);
192 Node* const merge = graph()->NewNode(common()->Merge(2), c0, c1);
193 Node* const phi = graph()->NewNode(
195 Node* const ephi = graph()->NewNode(common()->EffectPhi(2), e0, e1, merge);
206 Node* const v0 = Parameter(0);
207 Node* const v1 = Parameter(1);
208 Node* const v2 = Parameter(2);
209 Node* const v3 = Parameter(3);
210 Node* const c0 =
212 Node* const c1 = graph()->NewNode(common()->Dead());
213 Node* const c2 = graph()->NewNode(common()->Dead());
214 Node* const c3 = graph()->NewNode(&kOp0, v3, graph()->start(), c0);
215 Node* const e0 = graph()->start();
216 Node* const e1 = graph()->NewNode(&kOp0, v1, e0, c0);
217 Node* const e2 = graph()->NewNode(&kOp0, v2, e1, c0);
218 Node* const e3 = graph()->NewNode(&kOp0, v3, graph()->start(), c3);
219 Node* const merge = graph()->NewNode(common()->Merge(4), c0, c1, c2, c3);
220 Node* const phi = graph()->NewNode(
222 Node* const ephi =
241 Node* inputs[kMaxInputs + 1];
256 Node* inputs[kMaxInputs + 1];
270 Node* const v0 = Parameter(0);
271 Node* const v1 = Parameter(1);
272 Node* const c0 =
274 Node* const c1 = graph()->NewNode(common()->Dead());
275 Node* const e0 = graph()->NewNode(&kOp0, v0, graph()->start(), c0);
276 Node* const e1 = graph()->NewNode(&kOp0, v1, graph()->start(), c1);
277 Node* const loop = graph()->NewNode(common()->Loop(2), c0, c1);
278 Node* const phi = graph()->NewNode(
280 Node* const ephi = graph()->NewNode(common()->EffectPhi(2), e0, e1, loop);
281 Node* const terminate = graph()->NewNode(common()->Terminate(), ephi, loop);
293 Node* const v0 = Parameter(0);
294 Node* const v1 = Parameter(1);
295 Node* const v2 = Parameter(2);
296 Node* const v3 = Parameter(3);
297 Node* const c0 =
299 Node* const c1 = graph()->NewNode(common()->Dead());
300 Node* const c2 = graph()->NewNode(common()->Dead());
301 Node* const c3 = graph()->NewNode(&kOp0, v3, graph()->start(), c0);
302 Node* const e0 = graph()->start();
303 Node* const e1 = graph()->NewNode(&kOp0, v1, e0, c0);
304 Node* const e2 = graph()->NewNode(&kOp0, v2, e1, c0);
305 Node* const e3 = graph()->NewNode(&kOp0, v3, graph()->start(), c3);
306 Node* const loop = graph()->NewNode(common()->Loop(4), c0, c1, c2, c3);
307 Node* const phi = graph()->NewNode(
309 Node* const ephi =
328 Node* inputs[kMaxInputs + 1];
349 Node* inputs[kMaxInputs + 1];