Searched refs:NodeProperties (Results 1 - 22 of 22) sorted by relevance

/external/v8/src/compiler/
H A Dnode-properties-inl.h27 inline int NodeProperties::FirstValueIndex(Node* node) { return 0; }
29 inline int NodeProperties::FirstContextIndex(Node* node) {
33 inline int NodeProperties::FirstFrameStateIndex(Node* node) {
37 inline int NodeProperties::FirstEffectIndex(Node* node) {
41 inline int NodeProperties::FirstControlIndex(Node* node) {
46 inline int NodeProperties::PastValueIndex(Node* node) {
51 inline int NodeProperties::PastContextIndex(Node* node) {
56 inline int NodeProperties::PastFrameStateIndex(Node* node) {
61 inline int NodeProperties::PastEffectIndex(Node* node) {
66 inline int NodeProperties
[all...]
H A Djs-inlining.cc73 Node* end_block() { return NodeProperties::GetControlInput(unique_return()); }
78 return NodeProperties::GetEffectInput(unique_return());
83 return NodeProperties::GetValueInput(unique_return(), 0);
87 Node* unique_return = NodeProperties::GetControlInput(end_);
117 Node* final_merge = NodeProperties::GetControlInput(graph->end(), 0);
139 values.push_back(NodeProperties::GetValueInput(input, 0));
140 effects.push_back(NodeProperties::GetEffectInput(input));
141 iter.UpdateToAndIncrement(NodeProperties::GetControlInput(input));
236 Node* control = NodeProperties::GetControlInput(call);
243 NodeProperties
[all...]
H A Djs-typed-lowering.cc28 NodeProperties::ReplaceWithValue(node, node, NULL);
36 NodeProperties::ReplaceWithValue(old, node, node);
50 left_type_(NodeProperties::GetBounds(node->InputAt(0)).upper),
51 right_type_(NodeProperties::GetBounds(node->InputAt(1)).upper) {}
97 NodeProperties::RemoveNonValueInputs(node_);
126 Node* effect() { return NodeProperties::GetEffectInput(node_); }
127 Node* control() { return NodeProperties::GetControlInput(node_); }
128 Node* context() { return NodeProperties::GetContextInput(node_); }
129 Node* left() { return NodeProperties::GetValueInput(node_, 0); }
130 Node* right() { return NodeProperties
[all...]
H A Dgraph-visualizer.cc53 Node* control = NodeProperties::GetControlInput(node, 0);
123 Node* control = NodeProperties::GetControlInput(from, 0);
187 if (FLAG_trace_turbo_types && !NodeProperties::IsControl(node)) {
188 Bounds bounds = NodeProperties::GetBounds(node);
210 NodeProperties::GetControlInput(from) != to)) {
213 << (NodeProperties::IsControlEdge(edge) ? "style=bold, " : "")
214 << (NodeProperties::IsEffectEdge(edge) ? "style=dotted, " : "")
215 << (NodeProperties::IsContextEdge(edge) ? "style=dashed, " : "") << "]";
219 << (NodeProperties::IsControlEdge(edge) ? "style=dashed, " : "") << "]";
H A Djs-builtin-reducer.cc20 NodeProperties::ReplaceWithValue(node, reduction.replacement());
37 HeapObjectMatcher<Object> m(NodeProperties::GetValueInput(node_, 0));
46 HeapObjectMatcher<Object> m(NodeProperties::GetValueInput(node_, 0));
57 NodeProperties::GetBounds(GetJSCallInput(0)).upper->Is(t1);
63 NodeProperties::GetBounds(GetJSCallInput(0)).upper->Is(t1) &&
64 NodeProperties::GetBounds(GetJSCallInput(1)).upper->Is(t2);
70 if (!NodeProperties::GetBounds(GetJSCallInput(i)).upper->Is(t)) {
90 return NodeProperties::GetValueInput(node_, index + 2);
H A Djs-context-specialization.cc28 NodeProperties::ReplaceWithValue(node, r.replacement());
36 NodeProperties::ReplaceWithValue(node, r.replacement());
53 NodeProperties::ReplaceWithValue(context_,
64 HeapObjectMatcher<Context> m(NodeProperties::GetValueInput(node, 0));
112 HeapObjectMatcher<Context> m(NodeProperties::GetValueInput(node, 0));
H A Dgraph-unittest.cc165 PrintMatchAndExplain(NodeProperties::GetValueInput(node, 0),
167 PrintMatchAndExplain(NodeProperties::GetControlInput(node),
197 PrintMatchAndExplain(NodeProperties::GetControlInput(node, 0),
199 PrintMatchAndExplain(NodeProperties::GetControlInput(node, 1),
225 PrintMatchAndExplain(NodeProperties::GetControlInput(node),
254 PrintMatchAndExplain(NodeProperties::GetValueInput(node, 0),
256 PrintMatchAndExplain(NodeProperties::GetEffectInput(node), "effect",
321 PrintMatchAndExplain(NodeProperties::GetValueInput(node, 0),
323 PrintMatchAndExplain(NodeProperties::GetValueInput(node, 1),
325 PrintMatchAndExplain(NodeProperties
[all...]
H A Dschedule.cc53 if (!NodeProperties::IsControl(node)) {
54 Bounds bounds = NodeProperties::GetBounds(node);
H A Dverifier.cc78 Node* frame_state = NodeProperties::GetFrameStateInput(node);
89 Node* value = NodeProperties::GetValueInput(node, i);
97 Node* context = NodeProperties::GetContextInput(node);
105 Node* effect = NodeProperties::GetEffectInput(node);
113 Node* control = NodeProperties::GetControlInput(node, i);
123 CHECK(!NodeProperties::IsValueEdge(it.edge()) ||
160 NodeProperties::GetControlInput(node, 0)->opcode());
175 NodeProperties::GetValueInput(node, 0)->opcode());
178 Node* input = NodeProperties::GetValueInput(node, 0);
195 Node* control = NodeProperties
[all...]
H A Djs-generic-lowering.cc153 inputs.push_back(NodeProperties::GetValueInput(node, 0));
154 inputs.push_back(NodeProperties::GetValueInput(node, 1));
155 inputs.push_back(NodeProperties::GetContextInput(node));
165 inputs.push_back(NodeProperties::GetFrameStateInput(node));
167 inputs.push_back(NodeProperties::GetEffectInput(node));
168 inputs.push_back(NodeProperties::GetControlInput(node));
179 node->RemoveInput(NodeProperties::FirstFrameStateIndex(node));
339 NodeProperties::GetValueInput(node, 0),
341 NodeProperties::GetEffectInput(node)));
356 NodeProperties
[all...]
H A Dsimplified-lowering.cc163 return NodeProperties::GetBounds(node->InputAt(0)).upper->Is(type) &&
164 NodeProperties::GetBounds(node->InputAt(1)).upper->Is(type);
193 DCHECK_GE(index, NodeProperties::PastValueIndex(node));
194 DCHECK_GE(index, NodeProperties::PastContextIndex(node));
195 for (int i = std::max(index, NodeProperties::FirstEffectIndex(node));
196 i < NodeProperties::PastEffectIndex(node); ++i) {
199 for (int i = std::max(index, NodeProperties::FirstControlIndex(node));
200 i < NodeProperties::PastControlIndex(node); ++i) {
317 Type* upper = NodeProperties::GetBounds(node).upper;
374 Type* upper = NodeProperties
[all...]
H A Dnode-properties.h18 class NodeProperties { class in namespace:v8::internal::compiler
H A Dnode.h41 friend class NodeProperties;
H A Dscheduler.cc59 int max = NodeProperties::PastControlIndex(node);
60 for (int i = NodeProperties::FirstControlIndex(node); i < max; i++) {
171 Node* branch_block_node = NodeProperties::GetControlInput(branch);
202 Node* return_block_node = NodeProperties::GetControlInput(ret);
272 data->placement_ = GetPlacement(NodeProperties::GetControlInput(node));
441 : schedule_->block(NodeProperties::GetControlInput(node));
556 Node* merge = NodeProperties::GetControlInput(use, 0);
559 use = NodeProperties::GetControlInput(merge, index);
672 if (NodeProperties::IsControlEdge(edge) &&
697 int max = NodeProperties
[all...]
H A Dgraph-builder.cc209 NodeProperties::GetControlInput(value) == control) {
226 NodeProperties::GetControlInput(value) == control) {
H A Dtyper.cc96 return NodeProperties::GetBounds(NodeProperties::GetValueInput(node, i));
101 NodeProperties::GetBounds(NodeProperties::GetContextInput(node));
127 NodeProperties::SetBounds(node, bounds);
132 // if (!NodeProperties::IsTyped(NodeProperties::GetValueInput(node, i)))
153 Bounds previous = NodeProperties::GetBounds(node);
155 NodeProperties::SetBounds(node, Bounds::Both(bounds, previous, zone()));
178 Bounds previous = NodeProperties
[all...]
H A Djs-builtin-reducer-unittest.cc33 NodeProperties::SetBounds(n, Bounds(Type::None(), t));
H A Dast-graph-builder.cc2025 DCHECK(NodeProperties::GetFrameStateInput(node)->opcode() ==
2027 NodeProperties::ReplaceFrameStateInput(
/external/v8/test/cctest/compiler/
H A Dtest-js-context-specialization.cc93 Node* new_context_input = NodeProperties::GetValueInput(r.replacement(), 0);
173 Node* new_context_input = NodeProperties::GetValueInput(r.replacement(), 0);
187 CHECK_EQ(effect, NodeProperties::GetEffectInput(use));
H A Dtest-js-typed-lowering.cc47 NodeProperties::SetBounds(n, Bounds(Type::None(), t));
128 CHECK_EQ(effect, NodeProperties::GetEffectInput(use));
262 Type* old_type = NodeProperties::GetBounds(old_input).upper;
267 CHECK(NodeProperties::GetBounds(new_input).upper->Is(expected_type));
456 if (NodeProperties::GetBounds(n).upper->Is(Type::Number())) {
671 if (NodeProperties::GetBounds(val).upper->Is(Type::Number())) {
673 } else if (NodeProperties::GetBounds(val).upper->Is(Type::Boolean())) {
1269 Type* add_type = NodeProperties::GetBounds(add_node).upper;
1296 Type* add_type = NodeProperties::GetBounds(add_node).upper;
H A Dtest-js-constant-cache.cc42 Type* upper(Node* node) { return NodeProperties::GetBounds(node).upper; }
H A Dtest-simplified-lowering.cc663 NodeProperties::SetBounds(p0, Bounds(p0_type));
664 NodeProperties::SetBounds(p1, Bounds(p1_type));
665 NodeProperties::SetBounds(p2, Bounds(p2_type));
745 NodeProperties::ReplaceControlInput(ret, m);

Completed in 151 milliseconds