Home
last modified time | relevance | path

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

1234

/third_party/node/deps/v8/src/compiler/
Dtyped-optimization.cc143 Node* const value = NodeProperties::GetValueInput(node, 0); in ReduceConvertReceiver()
144 Type const value_type = NodeProperties::GetType(value); in ReduceConvertReceiver()
145 Node* const global_proxy = NodeProperties::GetValueInput(node, 1); in ReduceConvertReceiver()
157 Node* const input = NodeProperties::GetValueInput(node, 0); in ReduceCheckHeapObject()
158 Type const input_type = NodeProperties::GetType(input); in ReduceCheckHeapObject()
167 Node* const elements = NodeProperties::GetValueInput(node, 1); in ReduceMaybeGrowFastElements()
168 Node* const index = NodeProperties::GetValueInput(node, 2); in ReduceMaybeGrowFastElements()
169 Node* const length = NodeProperties::GetValueInput(node, 3); in ReduceMaybeGrowFastElements()
170 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceMaybeGrowFastElements()
171 Node* const control = NodeProperties::GetControlInput(node); in ReduceMaybeGrowFastElements()
[all …]
Djs-intrinsic-lowering.cc109 NodeProperties::ChangeOp(node, common()->Call(call_descriptor)); in ReduceCopyDataPropertiesWithExcludedPropertiesOnStack()
114 Node* const value = NodeProperties::GetValueInput(node, 0); in ReduceCreateIterResultObject()
115 Node* const done = NodeProperties::GetValueInput(node, 1); in ReduceCreateIterResultObject()
116 Node* const context = NodeProperties::GetContextInput(node); in ReduceCreateIterResultObject()
117 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceCreateIterResultObject()
123 Node* const frame_state = NodeProperties::GetFrameStateInput(node); in ReduceDeoptimizeNow()
124 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceDeoptimizeNow()
125 Node* const control = NodeProperties::GetControlInput(node); in ReduceDeoptimizeNow()
131 NodeProperties::MergeControlToEnd(graph(), common(), deoptimize); in ReduceDeoptimizeNow()
135 NodeProperties::ChangeOp(node, common()->Dead()); in ReduceDeoptimizeNow()
[all …]
Dnode-properties.cc26 bool NodeProperties::IsValueEdge(Edge edge) { in IsValueEdge()
34 bool NodeProperties::IsContextEdge(Edge edge) { in IsContextEdge()
42 bool NodeProperties::IsFrameStateEdge(Edge edge) { in IsFrameStateEdge()
50 bool NodeProperties::IsEffectEdge(Edge edge) { in IsEffectEdge()
58 bool NodeProperties::IsControlEdge(Edge edge) { in IsControlEdge()
66 bool NodeProperties::IsExceptionalCall(Node* node, Node** out_exception) { in IsExceptionalCall()
69 if (!NodeProperties::IsControlEdge(edge)) continue; in IsExceptionalCall()
79 Node* NodeProperties::FindSuccessfulControlProjection(Node* node) { in FindSuccessfulControlProjection()
83 if (!NodeProperties::IsControlEdge(edge)) continue; in FindSuccessfulControlProjection()
92 void NodeProperties::ReplaceValueInput(Node* node, Node* value, int index) { in ReplaceValueInput()
[all …]
Ddead-code-elimination.cc25 NodeProperties::SetType(dead_, Type::None()); in DeadCodeElimination()
36 NodeProperties::GetTypeOrAny(node).IsNone(); in NoReturn()
82 Node* control = NodeProperties::GetControlInput(node); in PropagateDeadControl()
104 NodeProperties::ChangeOp(node, common()->End(live_input_count)); in ReduceEnd()
130 if (NodeProperties::IsPhi(use)) { in ReduceLoopOrMerge()
145 if (NodeProperties::IsPhi(use)) { in ReduceLoopOrMerge()
170 if (NodeProperties::IsPhi(use)) { in ReduceLoopOrMerge()
190 Node* control = NodeProperties::GetControlInput(node, 0); in RemoveLoopExit()
220 NodeProperties::GetTypeOrAny(node).IsNone()) { in ReducePhi()
225 Node* input = NodeProperties::GetValueInput(node, i); in ReducePhi()
[all …]
Djs-typed-lowering.cc277 NodeProperties::RemoveNonValueInputs(node_); in ChangeToPureOperator()
283 NodeProperties::ChangeOp(node_, op); in ChangeToPureOperator()
287 Type node_type = NodeProperties::GetType(node_); in ChangeToPureOperator()
288 NodeProperties::SetType(node_, Type::Intersect(node_type, type, zone())); in ChangeToPureOperator()
312 node_->RemoveInput(NodeProperties::FirstFrameStateIndex(node_)); in ChangeToSpeculativeOperator()
314 node_->RemoveInput(NodeProperties::FirstContextIndex(node_)); in ChangeToSpeculativeOperator()
321 NodeProperties::ChangeOp(node_, op); in ChangeToSpeculativeOperator()
324 Type node_type = NodeProperties::GetType(node_); in ChangeToSpeculativeOperator()
325 NodeProperties::SetType(node_, in ChangeToSpeculativeOperator()
388 Node* effect() { return NodeProperties::GetEffectInput(node_); } in effect()
[all …]
Descape-analysis-reducer.cc48 Type const replacement_type = NodeProperties::GetType(replacement); in ReplaceNode()
49 Type const original_type = NodeProperties::GetType(original); in ReplaceNode()
59 Node* effect = NodeProperties::GetEffectInput(original); in ReplaceNode()
60 Node* control = NodeProperties::GetControlInput(original); in ReplaceNode()
65 NodeProperties::SetType( in ReplaceNode()
68 NodeProperties::ChangeOp(original, in ReplaceNode()
79 NodeProperties::SetType(node, Type::Object()); in ObjectIdNode()
103 Node* effect = NodeProperties::GetEffectInput(node, 0); in Reduce()
178 Node* input = NodeProperties::GetValueInput(node, i); in ReduceDeoptState()
202 num_inputs, &inputs.front(), NodeProperties::GetType(node)); in ReduceDeoptState()
[all …]
Dredundancy-elimination.cc214 if (!NodeProperties::IsTyped(node) || !NodeProperties::IsTyped(replacement)) { in TypeSubsumes()
219 Type node_type = NodeProperties::GetType(node); in TypeSubsumes()
220 Type replacement_type = NodeProperties::GetType(replacement); in TypeSubsumes()
264 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceCheckNode()
280 Node* const control = NodeProperties::GetControlInput(node); in ReduceEffectPhi()
292 Node* const effect = NodeProperties::GetEffectInput(node, i); in ReduceEffectPhi()
299 zone(), node_checks_.Get(NodeProperties::GetEffectInput(node, 0))); in ReduceEffectPhi()
301 Node* const input = NodeProperties::GetEffectInput(node, i); in ReduceEffectPhi()
309 Node* const first = NodeProperties::GetValueInput(node, 0); in ReduceSpeculativeNumberComparison()
310 Type const first_type = NodeProperties::GetType(first); in ReduceSpeculativeNumberComparison()
[all …]
Djs-inlining.cc68 return FrameState{NodeProperties::GetFrameStateInput(call_)}; in frame_state()
112 Node* control = NodeProperties::GetControlInput(call); in InlineCall()
113 Node* effect = NodeProperties::GetEffectInput(call); in InlineCall()
151 if (NodeProperties::IsEffectEdge(edge)) { in InlineCall()
153 } else if (NodeProperties::IsControlEdge(edge)) { in InlineCall()
155 } else if (NodeProperties::IsFrameStateEdge(edge)) { in InlineCall()
175 NodeProperties::ReplaceUses(subcall, subcall, subcall, on_success); in InlineCall()
176 NodeProperties::ReplaceControlInput(on_success, subcall); in InlineCall()
210 values.push_back(NodeProperties::GetValueInput(input, 1)); in InlineCall()
211 effects.push_back(NodeProperties::GetEffectInput(input)); in InlineCall()
[all …]
Dcommon-operator-reducer.cc36 NodeProperties::SetType(dead_, Type::None()); in CommonOperatorReducer()
107 NodeProperties::ChangeOp(use, common()->IfFalse()); in ReduceBranch()
110 NodeProperties::ChangeOp(use, common()->IfTrue()); in ReduceBranch()
121 NodeProperties::ChangeOp( in ReduceBranch()
148 Node* condition = NodeProperties::GetValueInput(node, 0); in ReduceDeoptimizeConditional()
149 Node* frame_state = NodeProperties::GetValueInput(node, 1); in ReduceDeoptimizeConditional()
150 Node* effect = NodeProperties::GetEffectInput(node); in ReduceDeoptimizeConditional()
151 Node* control = NodeProperties::GetControlInput(node); in ReduceDeoptimizeConditional()
157 NodeProperties::ReplaceValueInput(node, condition->InputAt(0), 0); in ReduceDeoptimizeConditional()
158 NodeProperties::ChangeOp( in ReduceDeoptimizeConditional()
[all …]
Dtype-narrowing-reducer.cc29 Type left_type = NodeProperties::GetType(node->InputAt(0)); in Reduce()
30 Type right_type = NodeProperties::GetType(node->InputAt(1)); in Reduce()
44 node->op(), NodeProperties::GetType(node->InputAt(0))); in Reduce()
50 new_type = op_typer_.Name(NodeProperties::GetType(node->InputAt(0)), \ in Reduce()
51 NodeProperties::GetType(node->InputAt(1))); \ in Reduce()
60 new_type = op_typer_.Name(NodeProperties::GetType(node->InputAt(0))); \ in Reduce()
71 Type original_type = NodeProperties::GetType(node); in Reduce()
74 NodeProperties::SetType(node, restricted); in Reduce()
Dload-elimination.cc40 if (!NodeProperties::GetType(a).Maybe(NodeProperties::GetType(b))) { in MayAlias()
82 Node* const value = NodeProperties::GetValueInput(node, i); in Reduce()
89 Node* const effect = NodeProperties::GetEffectInput(node, i); in Reduce()
176 !NodeProperties::GetType(index).Maybe( in Kill()
177 NodeProperties::GetType(element2.index))) { in Kill()
740 Node* const object = NodeProperties::GetValueInput(node, 0); in ReduceMapGuard()
741 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceMapGuard()
755 Node* const object = NodeProperties::GetValueInput(node, 0); in ReduceCheckMaps()
756 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceCheckMaps()
770 Node* const object = NodeProperties::GetValueInput(node, 0); in ReduceCompareMaps()
[all …]
Dbranch-elimination.cc93 Node* merge = NodeProperties::GetControlInput(branch); in SimplifyBranchCondition()
130 NodeProperties::ReplaceValueInput(branch, new_phi, 0); in SimplifyBranchCondition()
135 Node* control_input = NodeProperties::GetControlInput(node, 0); in ReduceBranch()
186 Node* merge = NodeProperties::GetControlInput(node); in TryPullTrapIntoMerge()
188 Node* condition = NodeProperties::GetValueInput(node, 0); in TryPullTrapIntoMerge()
189 Node* effect_input = NodeProperties::GetEffectInput(node); in TryPullTrapIntoMerge()
191 NodeProperties::GetControlInput(effect_input) == merge)) { in TryPullTrapIntoMerge()
208 condition, NodeProperties::GetEffectInput(effect_input, edge.index()), in TryPullTrapIntoMerge()
236 Node* control_input = NodeProperties::GetControlInput(node, 0); in ReduceTrapConditional()
273 Node* branch = NodeProperties::GetControlInput(control_input); in ReduceTrapConditional()
[all …]
Dvalue-numbering-reducer.cc30 const size_t hash = NodeProperties::HashCode(node); in Reduce()
99 if (NodeProperties::Equals(other_entry, node)) { in Reduce()
121 if (NodeProperties::Equals(entry, node)) { in Reduce()
130 if (NodeProperties::IsTyped(replacement) && NodeProperties::IsTyped(node)) { in ReplaceIfTypesMatch()
131 Type replacement_type = NodeProperties::GetType(replacement); in ReplaceIfTypesMatch()
132 Type node_type = NodeProperties::GetType(node); in ReplaceIfTypesMatch()
140 NodeProperties::SetType(replacement, node_type); in ReplaceIfTypesMatch()
165 for (size_t j = NodeProperties::HashCode(old_entry) & mask;; in Grow()
Djs-create-lowering.cc40 FrameState outer_state{NodeProperties::GetFrameStateInput(frame_state)}; in GetArgumentsFrameState()
114 Node* const new_target = NodeProperties::GetValueInput(node, 1); in ReduceJSCreate()
115 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceJSCreate()
116 Node* const control = NodeProperties::GetControlInput(node); in ReduceJSCreate()
119 NodeProperties::GetJSCreateMap(broker(), node); in ReduceJSCreate()
151 FrameState frame_state{NodeProperties::GetFrameStateInput(node)}; in ReduceJSCreateArguments()
164 Node* const callee = NodeProperties::GetValueInput(node, 0); in ReduceJSCreateArguments()
165 Node* const context = NodeProperties::GetContextInput(node); in ReduceJSCreateArguments()
166 Node* effect = NodeProperties::GetEffectInput(node); in ReduceJSCreateArguments()
196 Node* effect = NodeProperties::GetEffectInput(node); in ReduceJSCreateArguments()
[all …]
Dloop-peeling.cc198 NodeProperties::ChangeOp(exit, common_->Merge(2)); in Peel()
203 NodeProperties::ChangeOp( in Peel()
209 NodeProperties::ChangeOp(exit, common_->EffectPhi(2)); in Peel()
244 if (NodeProperties::IsControlEdge(edge)) { in EliminateLoopExit()
247 NodeProperties::ReplaceUses(marker, marker->InputAt(0)); in EliminateLoopExit()
250 NodeProperties::ReplaceUses(marker, nullptr, in EliminateLoopExit()
251 NodeProperties::GetEffectInput(marker)); in EliminateLoopExit()
256 NodeProperties::ReplaceUses(node, nullptr, nullptr, in EliminateLoopExit()
257 NodeProperties::GetControlInput(node, 0)); in EliminateLoopExit()
279 Node* control = NodeProperties::GetControlInput(node); in EliminateLoopExits()
[all …]
Dloop-variable-optimizer.cc50 if (!reduced_.Get(NodeProperties::GetControlInput(node, i))) { in Run()
62 if (NodeProperties::IsControlEdge(edge) && in Run()
81 << NodeProperties::GetControlInput(phi())->id() in AddUpperBound()
91 << NodeProperties::GetControlInput(phi())->id() in AddLowerBound()
104 NodeProperties::GetControlInput(constraint.left) == loop) { in VisitBackedge()
111 NodeProperties::GetControlInput(constraint.right) == loop) { in VisitBackedge()
211 limits_.Set(node, limits_.Get(NodeProperties::GetControlInput(node, 0))); in TakeConditionsFromFirstControl()
225 Node* loop = NodeProperties::GetControlInput(phi); in TryGetInductionVariable()
271 if (NodeProperties::IsControlEdge(edge) && in DetectInductionVariables()
308 NodeProperties::ChangeOp( in ChangeToInductionVariablePhis()
[all …]
Dwasm-escape-analysis.cc30 if (NodeProperties::IsValueEdge(edge)) { in ReduceAllocateRaw()
42 DCHECK(NodeProperties::IsValueEdge(edge)); in ReduceAllocateRaw()
52 Node* stored_value = NodeProperties::GetValueInput(use, 2); in ReduceAllocateRaw()
54 ReplaceWithValue(use, mcgraph_->Dead(), NodeProperties::GetEffectInput(use), in ReduceAllocateRaw()
60 ReplaceWithValue(node, mcgraph_->Dead(), NodeProperties::GetEffectInput(node), in ReduceAllocateRaw()
61 NodeProperties::GetControlInput(node)); in ReduceAllocateRaw()
Dconstant-folding-reducer.cc17 Type type = NodeProperties::GetType(node); in TryGetConstant()
40 type.Equals(NodeProperties::GetType(result))); in TryGetConstant()
48 if (NodeProperties::IsValueEdge(edge) && in IsAlreadyBeingFolded()
67 if (!NodeProperties::IsConstant(node) && NodeProperties::IsTyped(node) && in Reduce()
72 DCHECK(NodeProperties::IsTyped(constant)); in Reduce()
82 DCHECK(NodeProperties::IsTyped(fold_constant)); in Reduce()
Dcsa-load-elimination.cc24 Node* const value = NodeProperties::GetValueInput(node, i); in Reduce()
31 Node* const effect = NodeProperties::GetEffectInput(node, i); in Reduce()
83 NodeProperties::IsConstant(object); in IsConstantObject()
87 DCHECK_IMPLIES(NodeProperties::IsFreshObject(object), in IsFreshObject()
89 return NodeProperties::IsFreshObject(object); in IsFreshObject()
335 Node* object = NodeProperties::GetValueInput(node, 0); in ReduceLoadFromObject()
336 Node* offset = NodeProperties::GetValueInput(node, 1); in ReduceLoadFromObject()
337 Node* effect = NodeProperties::GetEffectInput(node); in ReduceLoadFromObject()
379 Node* object = NodeProperties::GetValueInput(node, 0); in ReduceStoreToObject()
380 Node* offset = NodeProperties::GetValueInput(node, 1); in ReduceStoreToObject()
[all …]
Dwasm-inlining.cc87 Node* callee = NodeProperties::GetValueInput(call, 0); in ReduceCall()
210 NodeProperties::IsExceptionalCall(call) in Finalize()
257 Node* control = NodeProperties::GetControlInput(call); in RewireFunctionEntry()
258 Node* effect = NodeProperties::GetEffectInput(call); in RewireFunctionEntry()
266 Replace(use, NodeProperties::GetValueInput(call, index)); in RewireFunctionEntry()
270 if (NodeProperties::IsEffectEdge(edge)) { in RewireFunctionEntry()
272 } else if (NodeProperties::IsControlEdge(edge)) { in RewireFunctionEntry()
296 NodeProperties::MergeControlToEnd(graph(), common(), input); in InlineTailCall()
351 if (NodeProperties::IsExceptionalCall(call, &handler)) { in InlineCall()
379 NodeProperties::MergeControlToEnd(graph(), common(), input); in InlineCall()
[all …]
Djs-context-specialization.cc58 new_context == NodeProperties::GetContextInput(node)) { in SimplifyJSLoadContext()
64 NodeProperties::ReplaceContextInput(node, new_context); in SimplifyJSLoadContext()
65 NodeProperties::ChangeOp(node, op); in SimplifyJSLoadContext()
77 new_context == NodeProperties::GetContextInput(node)) { in SimplifyJSStoreContext()
83 NodeProperties::ReplaceContextInput(node, new_context); in SimplifyJSStoreContext()
84 NodeProperties::ChangeOp(node, op); in SimplifyJSStoreContext()
93 StartNode{NodeProperties::GetValueInput(node, 0)} in IsContextParameter()
143 Node* context = NodeProperties::GetOuterContext(node, &depth); in ReduceJSLoadContext()
206 Node* context = NodeProperties::GetOuterContext(node, &depth); in ReduceJSStoreContext()
230 Node* context = NodeProperties::GetOuterContext(node, &depth); in GetModuleContext()
Dloop-unrolling.cc48 NodeProperties::MergeControlToEnd(graph, common, node); in UnrollLoop()
87 DCHECK_EQ(NodeProperties::GetEffectInput(use), stack_check); in UnrollLoop()
88 DCHECK_EQ(NodeProperties::GetEffectInput(stack_check)->opcode(), in UnrollLoop()
90 Node* replacing_effect = NodeProperties::GetEffectInput( in UnrollLoop()
91 NodeProperties::GetEffectInput(stack_check)); in UnrollLoop()
184 NodeProperties::ChangeOp(COPY(loop_node, i), in UnrollLoop()
190 if (NodeProperties::IsPhi(use)) { in UnrollLoop()
213 NodeProperties::ChangeOp( in UnrollLoop()
Dwasm-loop-peeling.cc44 NodeProperties::MergeControlToEnd(graph, common, node); in PeelWasmLoop()
92 if (NodeProperties::IsPhi(use_edge.from())) { in PeelWasmLoop()
108 NodeProperties::ChangeOp( in PeelWasmLoop()
114 DCHECK(NodeProperties::IsPhi(use_edge.from())); in PeelWasmLoop()
119 NodeProperties::ChangeOp(use_edge.from(), phi); in PeelWasmLoop()
125 if (NodeProperties::IsPhi(use_edge.from())) { in PeelWasmLoop()
Djs-native-context-specialization.cc216 Node* closure = NodeProperties::GetValueInput(node, 0); in ReduceJSAsyncFunctionEnter()
217 Node* receiver = NodeProperties::GetValueInput(node, 1); in ReduceJSAsyncFunctionEnter()
218 Node* context = NodeProperties::GetContextInput(node); in ReduceJSAsyncFunctionEnter()
219 Node* frame_state = NodeProperties::GetFrameStateInput(node); in ReduceJSAsyncFunctionEnter()
220 Node* effect = NodeProperties::GetEffectInput(node); in ReduceJSAsyncFunctionEnter()
221 Node* control = NodeProperties::GetControlInput(node); in ReduceJSAsyncFunctionEnter()
253 Node* async_function_object = NodeProperties::GetValueInput(node, 0); in ReduceJSAsyncFunctionReject()
254 Node* reason = NodeProperties::GetValueInput(node, 1); in ReduceJSAsyncFunctionReject()
255 Node* context = NodeProperties::GetContextInput(node); in ReduceJSAsyncFunctionReject()
256 Node* frame_state = NodeProperties::GetFrameStateInput(node); in ReduceJSAsyncFunctionReject()
[all …]
Descape-analysis.cc225 NodeProperties::GetValueInput(current_node(), i)); in ValueInput()
229 NodeProperties::GetContextInput(current_node())); in ContextInput()
338 if (NodeProperties::IsEffectEdge(edge)) { in ReduceFrom()
391 states_->table_.Get(NodeProperties::GetEffectInput(node, 0)); in Scope()
417 Node* control = NodeProperties::GetControlInput(effect_phi, 0); in MergeInputs()
422 State first_input = table_.Get(NodeProperties::GetEffectInput(effect_phi, 0)); in MergeInputs()
436 table_.Get(NodeProperties::GetEffectInput(effect_phi, i)).Get(var); in MergeInputs()
456 NodeProperties::GetControlInput(old_value, 0) == control) { in MergeInputs()
461 Node* old_input = NodeProperties::GetValueInput(old_value, i); in MergeInputs()
464 NodeProperties::ReplaceValueInput(old_value, new_input, i); in MergeInputs()
[all …]

1234