Home
last modified time | relevance | path

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

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