Home | History | Annotate | Download | only in compiler

Lines Matching refs:Node

8 #include "src/compiler/node-matchers.h"
11 #include "test/unittests/compiler/node-test-utils.h"
48 Node* Checkpoint() {
54 ZoneVector<Node*> local_inputs(locals_count_, nullptr, zone());
58 Node* locals =
68 Node* result =
80 class CheckpointMatcher : public MatcherInterface<Node*> {
82 explicit CheckpointMatcher(const char* liveness, Node* empty_values,
83 int locals_count, Node* replacement)
95 bool MatchAndExplain(Node* frame_state,
127 if (value.node == replacement_) {
128 *listener << "whose local #" << i << " was " << value.node->opcode()
132 .MatchAndExplain(value.node, &value_listener)) {
140 if (value.node != replacement_) {
141 *listener << "whose local #" << i << " is " << value.node
156 Node* empty_values_;
158 Node* replacement_;
161 Matcher<Node*> IsCheckpointModuloLiveness(const char* liveness) {
182 Node* empty_values_;
191 Node* c1 = Checkpoint();
203 Node* c1 = Checkpoint();
205 Node* c2 = Checkpoint();
218 Node* c1_start = Checkpoint();
224 Node* c1_b1 = Checkpoint();
226 Node* c2_b1 = Checkpoint();
228 Node* c3_b1 = Checkpoint();
234 Node* c1_b2 = Checkpoint();
236 Node* c2_b2 = Checkpoint();
238 Node* c3_b2 = Checkpoint();
244 Node* c1_m = Checkpoint();
246 Node* c2_m = Checkpoint();
269 Node* c1_start = Checkpoint();
271 Node* c2_start = Checkpoint();
277 Node* c1_b1 = Checkpoint();
280 Node* c2_b1 = Checkpoint();
282 Node* c3_b1 = Checkpoint();
288 Node* c1_b2 = Checkpoint();
290 Node* c2_b2 = Checkpoint();
293 Node* c3_b2 = Checkpoint();
299 Node* c1_m = Checkpoint();
304 Node* c2_m = Checkpoint();
328 Node* c1_start = Checkpoint();
333 Node* c2_start = Checkpoint();
338 Node* c1_header = Checkpoint();
341 Node* c2_header = Checkpoint();
346 Node* c1_in_loop = Checkpoint();
349 Node* c2_in_loop = Checkpoint();
357 Node* c1_end = Checkpoint();
360 Node* c2_end = Checkpoint();