Home
last modified time | relevance | path

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

12

/external/v8/src/compiler/
Ddiamond.h36 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()
Dmachine-operator-reducer.cc183 node->ReplaceInput(0, msub.left().node()); in Reduce()
184 node->ReplaceInput(1, msub.right().node()); in Reduce()
198 node->ReplaceInput(0, msub.left().node()); in Reduce()
199 node->ReplaceInput(1, msub.right().node()); in Reduce()
222 node->ReplaceInput(0, Int32Constant(0)); in Reduce()
223 node->ReplaceInput(1, m.left().node()); in Reduce()
228 node->ReplaceInput(1, Int32Constant(WhichPowerOf2(m.right().Value()))); in Reduce()
238 node->ReplaceInput(1, m.left().node()); in Reduce()
243 node->ReplaceInput(0, Int32Constant(0)); in Reduce()
244 node->ReplaceInput(1, m.left().node()); in Reduce()
[all …]
Djs-generic-lowering.cc173 node->ReplaceInput(3, vector); in LowerJSLoadProperty()
174 node->ReplaceInput(6, effect); in LowerJSLoadProperty()
198 node->ReplaceInput(3, vector); in LowerJSLoadNamed()
199 node->ReplaceInput(6, effect); in LowerJSLoadNamed()
223 node->ReplaceInput(1, vector); in LowerJSLoadGlobal()
224 node->ReplaceInput(4, effect); in LowerJSLoadGlobal()
253 node->ReplaceInput(Descriptor::kReceiver, receiver); in LowerJSStoreProperty()
254 node->ReplaceInput(Descriptor::kName, key); in LowerJSStoreProperty()
255 node->ReplaceInput(Descriptor::kValue, value); in LowerJSStoreProperty()
256 node->ReplaceInput(Descriptor::kSlot, in LowerJSStoreProperty()
[all …]
Dselect-lowering.cc33 node->ReplaceInput(0, vthen); in Reduce()
34 node->ReplaceInput(1, velse); in Reduce()
35 node->ReplaceInput(2, d.merge); in Reduce()
Dint64-lowering.cc170 node->ReplaceInput(2, high_node); in LowerNode()
174 node->ReplaceInput(1, index_low); in LowerNode()
224 node->ReplaceInput(3, high_node); in LowerNode()
231 node->ReplaceInput(1, index_low); in LowerNode()
232 node->ReplaceInput(2, GetReplacementLow(value)); in LowerNode()
237 node->ReplaceInput(2, GetReplacementLow(node->InputAt(2))); in LowerNode()
331 node->ReplaceInput(1, GetReplacementLow(right)); in LowerNode()
335 node->ReplaceInput(0, GetReplacementLow(left)); in LowerNode()
351 node->ReplaceInput(1, GetReplacementLow(right)); in LowerNode()
355 node->ReplaceInput(0, GetReplacementLow(left)); in LowerNode()
[all …]
Djs-typed-lowering.cc135 node_->ReplaceInput(0, left_input); in ConvertInputsToNumber()
136 node_->ReplaceInput(1, right_input); in ConvertInputsToNumber()
141 node_->ReplaceInput(0, ConvertToUI32(left(), left_signedness)); in ConvertInputsToUI32()
142 node_->ReplaceInput(1, ConvertToUI32(right(), right_signedness)); in ConvertInputsToUI32()
148 node_->ReplaceInput(0, r); in SwapInputs()
149 node_->ReplaceInput(1, l); in SwapInputs()
180 value->ReplaceInput(0, node_); in ChangeToPureOperator()
235 value->ReplaceInput(0, node_); in ChangeToSpeculativeOperator()
421 exception_merge->ReplaceInput(0, left_exception); in ConvertBothInputsToNumber()
422 exception_merge->ReplaceInput(1, right_exception); in ConvertBothInputsToNumber()
[all …]
Djs-intrinsic-lowering.cc298 node->ReplaceInput(0, a); in Change()
299 node->ReplaceInput(1, b); in Change()
309 node->ReplaceInput(0, a); in Change()
310 node->ReplaceInput(1, b); in Change()
311 node->ReplaceInput(2, c); in Change()
321 node->ReplaceInput(0, a); in Change()
322 node->ReplaceInput(1, b); in Change()
323 node->ReplaceInput(2, c); in Change()
324 node->ReplaceInput(3, d); in Change()
Dcontrol-flow-optimizer.cc110 if_true->ReplaceInput(0, node); in TryBuildSwitch()
128 node->ReplaceInput(0, index); in TryBuildSwitch()
130 if_true->ReplaceInput(0, node); in TryBuildSwitch()
133 if_false->ReplaceInput(0, node); in TryBuildSwitch()
Ddead-code-elimination.cc51 if (i != live_input_count) node->ReplaceInput(live_input_count, input); in ReduceEnd()
83 node->ReplaceInput(live_input_count, input); in ReduceLoopOrMerge()
87 use->ReplaceInput(live_input_count, use->InputAt(i)); in ReduceLoopOrMerge()
118 use->ReplaceInput(live_input_count, node); in ReduceLoopOrMerge()
Dnode-properties.cc139 node->ReplaceInput(FirstValueIndex(node) + index, value); in ReplaceValueInput()
147 node->ReplaceInput(0, value); in ReplaceValueInputs()
156 node->ReplaceInput(FirstContextIndex(node), context); in ReplaceContextInput()
163 node->ReplaceInput(FirstControlIndex(node) + index, control); in ReplaceControlInput()
170 return node->ReplaceInput(FirstEffectIndex(node) + index, effect); in ReplaceEffectInput()
177 node->ReplaceInput(FirstFrameStateIndex(node), frame_state); in ReplaceFrameStateInput()
Dloop-peeling.cc143 copy->ReplaceInput(i, map(original->InputAt(i))); in CopyNodes()
257 node->ReplaceInput(0, phi); in Peel()
267 node->ReplaceInput(0, peeling.map(node->InputAt(1))); in Peel()
271 loop_node->ReplaceInput(0, new_entry); in Peel()
280 exit->ReplaceInput(1, peeling.map(exit->InputAt(0))); in Peel()
Dtail-call-optimization.cc70 node->ReplaceInput(0, NodeProperties::GetEffectInput(call)); in Reduce()
71 node->ReplaceInput(1, NodeProperties::GetControlInput(call)); in Reduce()
Dsimplified-operator-reducer.cc136 node->ReplaceInput(0, m.InputAt(0)); in Reduce()
152 node->ReplaceInput(0, m.InputAt(0)); in Reduce()
181 node->ReplaceInput(0, m.InputAt(0)); in Reduce()
218 node->ReplaceInput(0, a); in Change()
Djs-context-specialization.cc62 node->ReplaceInput(0, jsgraph_->Constant(context)); in ReduceJSLoadContext()
104 node->ReplaceInput(0, jsgraph_->Constant(context)); in ReduceJSStoreContext()
Dnode.cc190 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()
Dosr.cc123 copy->ReplaceInput(j, mapping->at(orig->InputAt(j)->id())); in PeelOuterLoopsForOsr()
182 copy->ReplaceInput(0, input); in PeelOuterLoopsForOsr()
204 copy->ReplaceInput(0, merge); in PeelOuterLoopsForOsr()
213 copy->ReplaceInput(0, phi); in PeelOuterLoopsForOsr()
Dcommon-operator-reducer.cc101 node->ReplaceInput(0, cond->InputAt(0)); in ReduceBranch()
373 node->ReplaceInput(0, a); in Change()
382 node->ReplaceInput(0, a); in Change()
383 node->ReplaceInput(1, b); in Change()
Dliveness-analyzer.cc141 frame_state->ReplaceInput(1, new_values); in ClearNonLiveFrameStateSlots()
154 frame_state->ReplaceInput(2, new_value); in ClearNonLiveFrameStateSlots()
Djs-call-reducer.cc87 node->ReplaceInput(0, node->InputAt(1)); in ReduceFunctionPrototypeApply()
88 node->ReplaceInput(1, jsgraph()->UndefinedConstant()); in ReduceFunctionPrototypeApply()
176 node->ReplaceInput(0, node->InputAt(1)); in ReduceFunctionPrototypeCall()
177 node->ReplaceInput(1, jsgraph()->UndefinedConstant()); in ReduceFunctionPrototypeCall()
Dloop-variable-optimizer.cc382 induction_var->phi()->ReplaceInput(value_count, control); in ChangeToPhisAndInsertGuards()
397 induction_var->phi()->ReplaceInput(1, rename); in ChangeToPhisAndInsertGuards()
Dsimd-scalar-lowering.cc221 rep_node[j]->ReplaceInput(i, rep_input[j]); in LowerNode()
308 node->ReplaceInput(i, GetReplacements(input)[0]); in DefaultLowering()
Dsimplified-lowering.cc704 node->ReplaceInput(index, n); in ConvertInput()
2924 node->ReplaceInput(0, vtrue); in DoLoadBuffer()
2925 node->ReplaceInput(1, vfalse); in DoLoadBuffer()
2926 node->ReplaceInput(2, merge); in DoLoadBuffer()
3260 node->ReplaceInput(0, graph()->NewNode(op, lhs, rhs)); in DoMax()
3281 node->ReplaceInput(1, graph()->NewNode(machine()->Word32And(), rhs, in DoShift()
3306 node->ReplaceInput(0, graph()->NewNode(op, input, zero)); in DoIntegral32ToBit()
3314 node->ReplaceInput(0, graph()->NewNode(machine()->Float64Equal(), input, in DoOrderedNumberToBit()
3323 node->ReplaceInput(0, jsgraph()->Float64Constant(0.0)); in DoNumberToBit()
3334 node->ReplaceInput( in DoIntegerToUint8Clamped()
[all …]
Dmemory-optimizer.cc357 node->ReplaceInput(1, ComputeIndex(access, index)); in VisitLoadElement()
379 node->ReplaceInput(1, ComputeIndex(access, index)); in VisitStoreElement()
Djs-create-lowering.cc84 node->ReplaceInput(0, allocation_); in FinishAndChange()
85 node->ReplaceInput(1, effect_); in FinishAndChange()
514 node->ReplaceInput(0, jsgraph()->HeapConstant(stub.GetCode())); in ReduceNewArrayToStubCall()
532 node->ReplaceInput(0, jsgraph()->HeapConstant(stub.GetCode())); in ReduceNewArrayToStubCall()
618 node->ReplaceInput(0, jsgraph()->HeapConstant(stub.GetCode())); in ReduceNewArrayToStubCall()
Deffect-control-linearizer.cc89 node->ReplaceInput(i, block_effect.current_effect); in UpdateEffectPhi()
2308 loop->ReplaceInput(1, if_true2); in LowerStringCharCodeAt()
2309 lindex->ReplaceInput(1, lindex); in LowerStringCharCodeAt()
2310 leffect->ReplaceInput(1, etrue2); in LowerStringCharCodeAt()
2311 lsubject->ReplaceInput(1, vtrue2); in LowerStringCharCodeAt()
2312 loop->ReplaceInput(2, if_false2); in LowerStringCharCodeAt()
2313 lindex->ReplaceInput(2, lindex); in LowerStringCharCodeAt()
2314 leffect->ReplaceInput(2, efalse2); in LowerStringCharCodeAt()
2315 lsubject->ReplaceInput(2, vfalse2); in LowerStringCharCodeAt()
2428 loop->ReplaceInput(3, if_false2); in LowerStringCharCodeAt()
[all …]

12