Lines Matching refs:node
42 void CheckValueInputIs(NodeBase* node, int i, ValueRepresentation repr) {
43 ValueNode* input = node->input(i).node();
46 str << "Type representation error: node ";
48 str << "#" << graph_labeller_->NodeId(node) << " : ";
50 str << node->opcode() << " (input @" << i << " = " << input->opcode()
56 void Process(NodeBase* node, const ProcessingState& state) {
57 switch (node->opcode()) {
69 DCHECK_EQ(node->input_count(), 0);
84 DCHECK_EQ(node->input_count(), 1);
85 CheckValueInputIs(node, 0, ValueRepresentation::kTagged);
89 CheckValueInputIs(node, 0, ValueRepresentation::kUntagged);
116 DCHECK_EQ(node->input_count(), 2);
117 CheckValueInputIs(node, 0, ValueRepresentation::kTagged);
118 CheckValueInputIs(node, 1, ValueRepresentation::kTagged);
122 CheckValueInputIs(node, 0, ValueRepresentation::kUntagged);
123 CheckValueInputIs(node, 1, ValueRepresentation::kUntagged);
128 for (int i = 0; i < node->input_count(); i++) {
129 CheckValueInputIs(node, i, ValueRepresentation::kTagged);