Home
last modified time | relevance | path

Searched refs:ReplaceInput (Results 1 – 25 of 42) sorted by relevance

12

/third_party/node/deps/v8/src/compiler/
Dmachine-operator-reducer.cc357 node->ReplaceInput(0, msub.left().node()); in Reduce()
358 node->ReplaceInput(1, msub.right().node()); in Reduce()
387 node->ReplaceInput(0, Int32Constant(0)); in Reduce()
388 node->ReplaceInput(1, m.left().node()); in Reduce()
393 node->ReplaceInput(1, Int32Constant(base::bits::WhichPowerOfTwo( in Reduce()
402 node->ReplaceInput( in Reduce()
405 node->ReplaceInput(0, n.left().node()); in Reduce()
414 node->ReplaceInput(1, m.left().node()); in Reduce()
419 node->ReplaceInput(0, Int32Constant(0)); in Reduce()
420 node->ReplaceInput(1, m.left().node()); in Reduce()
[all …]
Dloop-unrolling.cc65 COPY(node, i)->ReplaceInput(0, in UnrollLoop()
137 phi->ReplaceInput(0, use); in UnrollLoop()
140 use->ReplaceInput(use_edge.index(), merge_node); in UnrollLoop()
173 ->ReplaceInput(input_index, in UnrollLoop()
177 ->ReplaceInput(input_index, loop_node->InputAt(input_index)); in UnrollLoop()
178 loop_node->ReplaceInput(input_index, last_iteration_input); in UnrollLoop()
202 ->ReplaceInput(input_index, in UnrollLoop()
205 COPY(use, 0)->ReplaceInput(input_index, use->InputAt(input_index)); in UnrollLoop()
206 use->ReplaceInput(input_index, last_iteration_input); in UnrollLoop()
220 FOREACH_COPY_INDEX(i) { COPY(use, i)->ReplaceInput(1, loop_node); } in UnrollLoop()
Ddiamond.h36 void Chain(Diamond const& that) { branch->ReplaceInput(1, that.merge); } in Chain()
39 void Chain(Node* that) { branch->ReplaceInput(1, that); } in Chain()
44 branch->ReplaceInput(1, that.if_true); in Nest()
45 that.merge->ReplaceInput(0, merge); in Nest()
47 branch->ReplaceInput(1, that.if_false); in Nest()
48 that.merge->ReplaceInput(1, merge); in Nest()
Dint64-lowering.cc130 node->ReplaceInput(2, GetReplacementLow(value)); in LowerWord64AtomicBinop()
181 node->ReplaceInput(2, high_node); in LowerLoadOperator()
185 node->ReplaceInput(1, index_low); in LowerLoadOperator()
217 node->ReplaceInput(3, high_node); in LowerStoreOperator()
224 node->ReplaceInput(1, index_low); in LowerStoreOperator()
225 node->ReplaceInput(2, GetReplacementLow(value)); in LowerStoreOperator()
443 node->ReplaceInput(1, GetReplacementLow(right)); in LowerNode()
447 node->ReplaceInput(0, GetReplacementLow(left)); in LowerNode()
459 node->ReplaceInput(1, GetReplacementLow(right)); in LowerNode()
463 node->ReplaceInput(0, GetReplacementLow(left)); in LowerNode()
[all …]
Dwasm-loop-peeling.cc78 phi->ReplaceInput(0, use); in PeelWasmLoop()
82 use->ReplaceInput(use_edge.index(), merge_node); in PeelWasmLoop()
123 loop_node->ReplaceInput(0, peeled_iteration_header); in PeelWasmLoop()
126 use_edge.from()->ReplaceInput(0, copier.map(use_edge.from())); in PeelWasmLoop()
Djs-typed-lowering.cc138 node_->ReplaceInput(0, left_input); in CheckLeftInputToReceiver()
147 node_->ReplaceInput(0, left_input); in CheckLeftInputToReceiverOrNullOrUndefined()
161 node_->ReplaceInput(1, right_input); in CheckInputsToReceiver()
177 node_->ReplaceInput(1, right_input); in CheckInputsToReceiverOrNullOrUndefined()
186 node_->ReplaceInput(0, left_input); in CheckLeftInputToSymbol()
200 node_->ReplaceInput(1, right_input); in CheckInputsToSymbol()
213 node_->ReplaceInput(0, left_input); in CheckInputsToString()
220 node_->ReplaceInput(1, right_input); in CheckInputsToString()
232 node_->ReplaceInput(0, left_input); in CheckInputsToInternalizedString()
239 node_->ReplaceInput(1, right_input); in CheckInputsToInternalizedString()
[all …]
Djs-intrinsic-lowering.cc364 node->ReplaceInput(0, a); in Change()
365 node->ReplaceInput(1, b); in Change()
374 node->ReplaceInput(0, a); in Change()
375 node->ReplaceInput(1, b); in Change()
376 node->ReplaceInput(2, c); in Change()
385 node->ReplaceInput(0, a); in Change()
386 node->ReplaceInput(1, b); in Change()
387 node->ReplaceInput(2, c); in Change()
388 node->ReplaceInput(3, d); in Change()
Dcontrol-flow-optimizer.cc114 if_true->ReplaceInput(0, node); in TryBuildSwitch()
132 node->ReplaceInput(0, index); in TryBuildSwitch()
134 if_true->ReplaceInput(0, node); in TryBuildSwitch()
137 if_false->ReplaceInput(0, node); in TryBuildSwitch()
Dsimplified-operator-reducer.cc162 node->ReplaceInput(0, m.InputAt(0)); in Reduce()
178 node->ReplaceInput(0, m.InputAt(0)); in Reduce()
207 node->ReplaceInput(0, m.InputAt(0)); in Reduce()
258 node->ReplaceInput(0, n.left().node()); in Reduce()
259 node->ReplaceInput(1, jsgraph()->Int32Constant(val)); in Reduce()
279 node->ReplaceInput(0, a); in Change()
Ddead-code-elimination.cc97 if (i != live_input_count) node->ReplaceInput(live_input_count, input); in ReduceEnd()
128 node->ReplaceInput(live_input_count, input); in ReduceLoopOrMerge()
132 use->ReplaceInput(live_input_count, use->InputAt(i)); in ReduceLoopOrMerge()
159 loop_exit->ReplaceInput(1, dead()); in ReduceLoopOrMerge()
171 use->ReplaceInput(live_input_count, node); in ReduceLoopOrMerge()
330 node->ReplaceInput(0, effect); in ReduceDeoptimizeOrReturnOrTerminateOrTailCall()
331 node->ReplaceInput(1, control); in ReduceDeoptimizeOrReturnOrTerminateOrTailCall()
Dloop-peeling.cc174 node->ReplaceInput(0, phi); in Peel()
184 node->ReplaceInput(0, copier.map(node->InputAt(1))); in Peel()
188 loop_node->ReplaceInput(0, new_entry); in Peel()
197 exit->ReplaceInput(1, copier.map(exit->InputAt(0))); in Peel()
Djs-call-reducer.cc2575 node->ReplaceInput(n.TargetIndex(), n.receiver()); in ReduceFunctionPrototypeApply()
2576 node->ReplaceInput(n.ReceiverIndex(), jsgraph()->UndefinedConstant()); in ReduceFunctionPrototypeApply()
2608 node->ReplaceInput(n.TargetIndex(), target); in ReduceFunctionPrototypeApply()
2609 node->ReplaceInput(n.ReceiverIndex(), this_argument); in ReduceFunctionPrototypeApply()
2610 node->ReplaceInput(n.ArgumentIndex(0), arguments_list); in ReduceFunctionPrototypeApply()
2851 node->ReplaceInput(n.TargetIndex(), n.receiver()); in ReduceFunctionPrototypeCall()
2852 node->ReplaceInput(n.ReceiverIndex(), jsgraph()->UndefinedConstant()); in ReduceFunctionPrototypeCall()
2883 node->ReplaceInput(0, receiver); in ReduceFunctionPrototypeHasInstance()
2884 node->ReplaceInput(1, object); in ReduceFunctionPrototypeHasInstance()
2885 node->ReplaceInput(2, context); in ReduceFunctionPrototypeHasInstance()
[all …]
Djs-inlining-heuristic.cc362 copy->ReplaceInput(i, processed); in DuplicateStateValuesAndRename()
400 copy->ReplaceInput(FrameState::kFrameStateStackInput, to); in DuplicateFrameStateAndRename()
408 copy->ReplaceInput(FrameState::kFrameStateLocalsInput, new_locals); in DuplicateFrameStateAndRename()
637 node->ReplaceInput(input_count - 1, jsgraph()->Dead()); in TryReuseDispatch()
638 callee->ReplaceInput(num_calls, jsgraph()->Dead()); in TryReuseDispatch()
639 effect_phi->ReplaceInput(num_calls, jsgraph()->Dead()); in TryReuseDispatch()
641 checkpoint->ReplaceInput(2, jsgraph()->Dead()); in TryReuseDispatch()
Dallocation-builder.h69 node->ReplaceInput(0, allocation_); in FinishAndChange()
70 node->ReplaceInput(1, effect_); in FinishAndChange()
Dnode-properties.cc95 node->ReplaceInput(FirstValueIndex(node) + index, value); in ReplaceValueInput()
103 node->ReplaceInput(0, value); in ReplaceValueInputs()
113 node->ReplaceInput(FirstContextIndex(node), context); in ReplaceContextInput()
121 node->ReplaceInput(FirstControlIndex(node) + index, control); in ReplaceControlInput()
129 return node->ReplaceInput(FirstEffectIndex(node) + index, effect); in ReplaceEffectInput()
136 node->ReplaceInput(FirstFrameStateIndex(node), frame_state); in ReplaceFrameStateInput()
Dnode.cc209 ReplaceInput(i, InputAt(i - 1)); in InsertInput()
211 ReplaceInput(index, new_to); in InsertInput()
224 ReplaceInput(i, InputAt(i - count)); in InsertInputs()
227 ReplaceInput(index + i, nullptr); in InsertInputs()
237 ReplaceInput(index, InputAt(index + 1)); in RemoveInput()
Descape-analysis-reducer.h45 void ReplaceInput(Node* input, int i) { in ReplaceInput() function
48 node->ReplaceInput(i, input); in ReplaceInput()
Descape-analysis-reducer.cc151 node->ReplaceInput(i, ret); in ReduceFrameStateInputs()
171 new_node.ReplaceInput(ReduceDeoptState(input, effect, deduplicator), in ReduceDeoptState()
385 tmp_->ReplaceInput(i, inputs[i]); in Constructor()
431 tmp_->ReplaceInput(i, from_->InputAt(i)); in MutableNode()
Draw-machine-assembler.cc364 loop_header.loop_node->ReplaceInput(0, control_loop_entry); in MakeReschedulable()
365 loop_header.loop_node->ReplaceInput(1, control_backedge); in MakeReschedulable()
366 loop_header.effect_phi->ReplaceInput(0, effect_loop_entry); in MakeReschedulable()
367 loop_header.effect_phi->ReplaceInput(1, effect_backedge); in MakeReschedulable()
439 phi->ReplaceInput(0, left_input); in MakePhiBinary()
440 phi->ReplaceInput(1, right_input); in MakePhiBinary()
441 phi->ReplaceInput(2, control); in MakePhiBinary()
Dloop-variable-optimizer.cc323 induction_var->phi()->ReplaceInput(value_count, control); in ChangeToPhisAndInsertGuards()
341 induction_var->effect_phi()->ReplaceInput(1, rename); in ChangeToPhisAndInsertGuards()
342 induction_var->phi()->ReplaceInput(1, rename); in ChangeToPhisAndInsertGuards()
Dcommon-operator-reducer.cc119 node->ReplaceInput(0, cond->InputAt(0)); in ReduceBranch()
507 node->ReplaceInput(0, a); in Change()
516 node->ReplaceInput(0, a); in Change()
517 node->ReplaceInput(1, b); in Change()
Dbranch-condition-duplicator.cc75 node->ReplaceInput(0, DuplicateNode(condNode)); in DuplicateConditionIfNeeded()
Dgraph-assembler.h607 label->control_->ReplaceInput(1, control()); in MergeState()
608 label->effect_->ReplaceInput(1, effect()); in MergeState()
610 label->bindings_[i]->ReplaceInput(1, var_array[i]); in MergeState()
643 label->effect_->ReplaceInput(merged_count, effect()); in MergeState()
650 label->bindings_[i]->ReplaceInput(merged_count, var_array[i]); in MergeState()
Dconstant-folding-reducer.cc84 fold_constant->ReplaceInput(0, node); in Reduce()
Djs-generic-lowering.cc341 n->ReplaceInput(n.HomeObjectIndex(), home_object_proto); in LowerJSLoadNamedFromSuper()
550 node->ReplaceInput(0, function_map); in LowerJSGetSuperConstructor()
551 node->ReplaceInput(1, effect); in LowerJSGetSuperConstructor()
552 node->ReplaceInput(2, control); in LowerJSGetSuperConstructor()
1008 node->ReplaceInput(2, arguments_list); in LowerJSCallWithArrayLike()
1009 node->ReplaceInput(3, receiver); in LowerJSCallWithArrayLike()

12