/external/v8/src/compiler/ |
D | diamond.h | 36 void Chain(Diamond& 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()
|
D | machine-operator-reducer.cc | 184 node->ReplaceInput(0, msub.left().node()); in Reduce() 185 node->ReplaceInput(1, msub.right().node()); in Reduce() 199 node->ReplaceInput(0, msub.left().node()); in Reduce() 200 node->ReplaceInput(1, msub.right().node()); in Reduce() 223 node->ReplaceInput(0, Int32Constant(0)); in Reduce() 224 node->ReplaceInput(1, m.left().node()); in Reduce() 229 node->ReplaceInput(1, Int32Constant(WhichPowerOf2(m.right().Value()))); in Reduce() 239 node->ReplaceInput(1, m.left().node()); in Reduce() 244 node->ReplaceInput(0, Int32Constant(0)); in Reduce() 245 node->ReplaceInput(1, m.left().node()); in Reduce() [all …]
|
D | int64-lowering.cc | 123 node->ReplaceInput(2, GetReplacementLow(value)); in LowerWord64AtomicBinop() 204 node->ReplaceInput(2, high_node); in LowerNode() 208 node->ReplaceInput(1, index_low); in LowerNode() 258 node->ReplaceInput(3, high_node); in LowerNode() 265 node->ReplaceInput(1, index_low); in LowerNode() 266 node->ReplaceInput(2, GetReplacementLow(value)); in LowerNode() 410 node->ReplaceInput(1, GetReplacementLow(right)); in LowerNode() 414 node->ReplaceInput(0, GetReplacementLow(left)); in LowerNode() 426 node->ReplaceInput(1, GetReplacementLow(right)); in LowerNode() 430 node->ReplaceInput(0, GetReplacementLow(left)); in LowerNode() [all …]
|
D | select-lowering.cc | 33 node->ReplaceInput(0, vthen); in Reduce() 34 node->ReplaceInput(1, velse); in Reduce() 35 node->ReplaceInput(2, d.merge); in Reduce()
|
D | js-intrinsic-lowering.cc | 311 node->ReplaceInput(0, a); in Change() 312 node->ReplaceInput(1, b); in Change() 322 node->ReplaceInput(0, a); in Change() 323 node->ReplaceInput(1, b); in Change() 324 node->ReplaceInput(2, c); in Change() 334 node->ReplaceInput(0, a); in Change() 335 node->ReplaceInput(1, b); in Change() 336 node->ReplaceInput(2, c); in Change() 337 node->ReplaceInput(3, d); in Change()
|
D | control-flow-optimizer.cc | 111 if_true->ReplaceInput(0, node); in TryBuildSwitch() 129 node->ReplaceInput(0, index); in TryBuildSwitch() 131 if_true->ReplaceInput(0, node); in TryBuildSwitch() 134 if_false->ReplaceInput(0, node); in TryBuildSwitch()
|
D | js-typed-lowering.cc | 121 node_->ReplaceInput(0, left_input); in CheckLeftInputToReceiver() 135 node_->ReplaceInput(1, right_input); in CheckInputsToReceiver() 147 node_->ReplaceInput(0, left_input); in CheckInputsToSymbol() 153 node_->ReplaceInput(1, right_input); in CheckInputsToSymbol() 166 node_->ReplaceInput(0, left_input); in CheckInputsToString() 173 node_->ReplaceInput(1, right_input); in CheckInputsToString() 185 node_->ReplaceInput(0, left_input); in CheckInputsToInternalizedString() 192 node_->ReplaceInput(1, right_input); in CheckInputsToInternalizedString() 200 node_->ReplaceInput(0, ConvertPlainPrimitiveToNumber(left())); in ConvertInputsToNumber() 201 node_->ReplaceInput(1, ConvertPlainPrimitiveToNumber(right())); in ConvertInputsToNumber() [all …]
|
D | dead-code-elimination.cc | 97 if (i != live_input_count) node->ReplaceInput(live_input_count, input); in ReduceEnd() 129 node->ReplaceInput(live_input_count, input); in ReduceLoopOrMerge() 133 use->ReplaceInput(live_input_count, use->InputAt(i)); in ReduceLoopOrMerge() 160 loop_exit->ReplaceInput(1, dead()); in ReduceLoopOrMerge() 172 use->ReplaceInput(live_input_count, node); in ReduceLoopOrMerge() 298 node->ReplaceInput(0, effect); in ReduceDeoptimizeOrReturnOrTerminate() 299 node->ReplaceInput(1, control); in ReduceDeoptimizeOrReturnOrTerminate()
|
D | loop-peeling.cc | 150 copy->ReplaceInput(i, map(original->InputAt(i))); in CopyNodes() 262 node->ReplaceInput(0, phi); in Peel() 272 node->ReplaceInput(0, peeling.map(node->InputAt(1))); in Peel() 276 loop_node->ReplaceInput(0, new_entry); in Peel() 285 exit->ReplaceInput(1, peeling.map(exit->InputAt(0))); in Peel()
|
D | simplified-operator-reducer.cc | 151 node->ReplaceInput(0, m.InputAt(0)); in Reduce() 167 node->ReplaceInput(0, m.InputAt(0)); in Reduce() 196 node->ReplaceInput(0, m.InputAt(0)); in Reduce() 233 node->ReplaceInput(0, a); in Change()
|
D | js-inlining-heuristic.cc | 268 copy->ReplaceInput(i, processed); in DuplicateStateValuesAndRename() 307 copy->ReplaceInput(kFrameStateStackInput, to); in DuplicateFrameStateAndRename() 315 copy->ReplaceInput(kFrameStateLocalsInput, new_locals); in DuplicateFrameStateAndRename() 544 node->ReplaceInput(input_count - 1, jsgraph()->Dead()); in TryReuseDispatch() 545 callee->ReplaceInput(num_calls, jsgraph()->Dead()); in TryReuseDispatch() 546 effect_phi->ReplaceInput(num_calls, jsgraph()->Dead()); in TryReuseDispatch() 548 checkpoint->ReplaceInput(2, jsgraph()->Dead()); in TryReuseDispatch()
|
D | js-call-reducer.cc | 280 node->ReplaceInput(0, node->InputAt(1)); in ReduceFunctionPrototypeApply() 281 node->ReplaceInput(1, jsgraph()->UndefinedConstant()); in ReduceFunctionPrototypeApply() 300 node->ReplaceInput(0, target); in ReduceFunctionPrototypeApply() 301 node->ReplaceInput(1, this_argument); in ReduceFunctionPrototypeApply() 302 node->ReplaceInput(2, arguments_list); in ReduceFunctionPrototypeApply() 521 node->ReplaceInput(0, node->InputAt(1)); in ReduceFunctionPrototypeCall() 522 node->ReplaceInput(1, jsgraph()->UndefinedConstant()); in ReduceFunctionPrototypeCall() 555 node->ReplaceInput(0, receiver); in ReduceFunctionPrototypeHasInstance() 556 node->ReplaceInput(1, object); in ReduceFunctionPrototypeHasInstance() 557 node->ReplaceInput(2, context); in ReduceFunctionPrototypeHasInstance() [all …]
|
D | node.cc | 190 ReplaceInput(i, InputAt(i - 1)); in InsertInput() 192 ReplaceInput(index, new_to); in InsertInput() 205 ReplaceInput(i, InputAt(i - count)); in InsertInputs() 208 ReplaceInput(index + i, nullptr); in InsertInputs() 217 ReplaceInput(index, InputAt(index + 1)); in RemoveInput()
|
D | escape-analysis-reducer.h | 44 void ReplaceInput(Node* input, int i) { in ReplaceInput() function 47 node->ReplaceInput(i, input); in ReplaceInput()
|
D | node-properties.cc | 158 node->ReplaceInput(FirstValueIndex(node) + index, value); in ReplaceValueInput() 166 node->ReplaceInput(0, value); in ReplaceValueInputs() 175 node->ReplaceInput(FirstContextIndex(node), context); in ReplaceContextInput() 182 node->ReplaceInput(FirstControlIndex(node) + index, control); in ReplaceControlInput() 189 return node->ReplaceInput(FirstEffectIndex(node) + index, effect); in ReplaceEffectInput() 196 node->ReplaceInput(FirstFrameStateIndex(node), frame_state); in ReplaceFrameStateInput()
|
D | allocation-builder.h | 85 node->ReplaceInput(0, allocation_); in FinishAndChange() 86 node->ReplaceInput(1, effect_); in FinishAndChange()
|
D | graph-assembler.h | 320 label->control_->ReplaceInput(1, current_control_); in MergeState() 321 label->effect_->ReplaceInput(1, current_effect_); in MergeState() 323 label->bindings_[i]->ReplaceInput(1, var_array[i + 1]); in MergeState() 355 label->effect_->ReplaceInput(merged_count, current_effect_); in MergeState() 362 label->bindings_[i]->ReplaceInput(merged_count, var_array[i + 1]); in MergeState()
|
D | escape-analysis-reducer.cc | 159 node->ReplaceInput(i, ret); in ReduceFrameStateInputs() 176 new_node.ReplaceInput(ReduceDeoptState(input, effect, deduplicator), in ReduceDeoptState() 381 tmp_->ReplaceInput(i, inputs[i]); in Constructor() 427 tmp_->ReplaceInput(i, from_->InputAt(i)); in MutableNode()
|
D | common-operator-reducer.cc | 111 node->ReplaceInput(0, cond->InputAt(0)); in ReduceBranch() 466 node->ReplaceInput(0, a); in Change() 475 node->ReplaceInput(0, a); in Change() 476 node->ReplaceInput(1, b); in Change()
|
D | loop-variable-optimizer.cc | 319 induction_var->phi()->ReplaceInput(value_count, control); in ChangeToPhisAndInsertGuards() 337 induction_var->effect_phi()->ReplaceInput(1, rename); in ChangeToPhisAndInsertGuards() 338 induction_var->phi()->ReplaceInput(1, rename); in ChangeToPhisAndInsertGuards()
|
D | typed-optimization.cc | 595 node->ReplaceInput(0, graph()->NewNode(simplified()->NumberEqual(), input, in ReduceToBoolean() 608 node->ReplaceInput(0, graph()->NewNode(simplified()->ReferenceEqual(), in ReduceToBoolean() 616 node->ReplaceInput( in ReduceToBoolean() 623 node->ReplaceInput(0, in ReduceToBoolean()
|
D | js-generic-lowering.cc | 279 node->ReplaceInput(4, jsgraph()->HeapConstant(p.feedback().vector())); in LowerJSStoreDataPropertyInLiteral() 280 node->ReplaceInput(5, jsgraph()->SmiConstant(p.feedback().index())); in LowerJSStoreDataPropertyInLiteral() 631 node->ReplaceInput(2, new_target); in LowerJSConstructWithArrayLike() 632 node->ReplaceInput(3, arguments_list); in LowerJSConstructWithArrayLike() 703 node->ReplaceInput(3, receiver); in LowerJSCallWithArrayLike() 704 node->ReplaceInput(2, arguments_list); in LowerJSCallWithArrayLike()
|
D | simd-scalar-lowering.cc | 381 rep_nodes[0]->ReplaceInput(1, indices[0]); in LowerLoadOp() 392 rep_nodes[0]->ReplaceInput(2, rep_nodes[1]); in LowerLoadOp() 447 rep_nodes[0]->ReplaceInput(2, rep_inputs[0]); in LowerStoreOp() 448 rep_nodes[0]->ReplaceInput(1, indices[0]); in LowerStoreOp() 460 rep_nodes[0]->ReplaceInput(3, rep_nodes[1]); in LowerStoreOp() 976 rep_node[j]->ReplaceInput(i, rep_input[j]); in LowerNode() 1401 node->ReplaceInput(i, GetReplacements(input)[0]); in DefaultLowering()
|
D | simplified-lowering.cc | 780 node->ReplaceInput(index, n); in ConvertInput() 1127 node->ReplaceInput(2, jsgraph_->SingleDeadTypedStateValues()); in VisitFrameState() 1135 node->ReplaceInput( in VisitFrameState() 2876 node->ReplaceInput( in VisitNode() 3812 node->ReplaceInput(0, graph()->NewNode(op, lhs, rhs)); in DoMax() 3833 node->ReplaceInput(1, graph()->NewNode(machine()->Word32And(), rhs, in DoShift() 3844 node->ReplaceInput(0, graph()->NewNode(op, input, zero)); in DoIntegral32ToBit() 3852 node->ReplaceInput(0, graph()->NewNode(machine()->Float64Equal(), input, in DoOrderedNumberToBit() 3861 node->ReplaceInput(0, jsgraph()->Float64Constant(0.0)); in DoNumberToBit() 3872 node->ReplaceInput( in DoIntegerToUint8Clamped() [all …]
|
D | memory-optimizer.cc | 361 node->ReplaceInput(1, ComputeIndex(access, index)); in VisitLoadElement() 397 node->ReplaceInput(1, ComputeIndex(access, index)); in VisitStoreElement()
|