Home
last modified time | relevance | path

Searched refs:ReplaceInput (Results 1 – 25 of 42) 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.cc176 node->ReplaceInput(0, msub.left().node()); in Reduce()
177 node->ReplaceInput(1, msub.right().node()); in Reduce()
191 node->ReplaceInput(0, msub.left().node()); in Reduce()
192 node->ReplaceInput(1, msub.right().node()); in Reduce()
211 node->ReplaceInput(0, Int32Constant(0)); in Reduce()
212 node->ReplaceInput(1, m.left().node()); in Reduce()
217 node->ReplaceInput(1, Int32Constant(WhichPowerOf2(m.right().Value()))); in Reduce()
264 node->ReplaceInput(0, mleft.left().node()); in Reduce()
265 node->ReplaceInput(1, Uint32Constant(c << k)); in Reduce()
312 node->ReplaceInput(0, Float64Constant(-0.0)); in Reduce()
[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.cc153 node->ReplaceInput(2, high_node); in LowerNode()
157 node->ReplaceInput(1, index_low); in LowerNode()
193 node->ReplaceInput(3, high_node); in LowerNode()
200 node->ReplaceInput(1, index_low); in LowerNode()
201 node->ReplaceInput(2, GetReplacementLow(value)); in LowerNode()
206 node->ReplaceInput(2, GetReplacementLow(node->InputAt(2))); in LowerNode()
300 node->ReplaceInput(1, GetReplacementLow(right)); in LowerNode()
304 node->ReplaceInput(0, GetReplacementLow(left)); in LowerNode()
320 node->ReplaceInput(1, GetReplacementLow(right)); in LowerNode()
324 node->ReplaceInput(0, GetReplacementLow(left)); in LowerNode()
[all …]
Djs-generic-lowering.cc171 node->ReplaceInput(3, vector); in LowerJSLoadProperty()
172 node->ReplaceInput(6, effect); in LowerJSLoadProperty()
196 node->ReplaceInput(3, vector); in LowerJSLoadNamed()
197 node->ReplaceInput(6, effect); in LowerJSLoadNamed()
221 node->ReplaceInput(1, vector); in LowerJSLoadGlobal()
222 node->ReplaceInput(4, effect); in LowerJSLoadGlobal()
247 node->ReplaceInput(4, vector); in LowerJSStoreProperty()
248 node->ReplaceInput(7, effect); in LowerJSStoreProperty()
273 node->ReplaceInput(4, vector); in LowerJSStoreNamed()
274 node->ReplaceInput(7, effect); in LowerJSStoreNamed()
[all …]
Ddead-code-elimination.cc49 if (i != live_input_count) node->ReplaceInput(live_input_count, input); in ReduceEnd()
81 node->ReplaceInput(live_input_count, input); in ReduceLoopOrMerge()
85 use->ReplaceInput(live_input_count, use->InputAt(i)); in ReduceLoopOrMerge()
113 use->ReplaceInput(live_input_count, node); in ReduceLoopOrMerge()
Djs-intrinsic-lowering.cc133 node->ReplaceInput(0, renamed); in ReduceDoubleHi()
142 node->ReplaceInput(0, renamed); in ReduceDoubleLo()
439 node->ReplaceInput(0, a); in Change()
440 node->ReplaceInput(1, b); in Change()
450 node->ReplaceInput(0, a); in Change()
451 node->ReplaceInput(1, b); in Change()
452 node->ReplaceInput(2, c); in Change()
462 node->ReplaceInput(0, a); in Change()
463 node->ReplaceInput(1, b); in Change()
464 node->ReplaceInput(2, c); in Change()
[all …]
Dloop-peeling.cc137 copy->ReplaceInput(i, map(original->InputAt(i))); in CopyNodes()
253 node->ReplaceInput(0, phi); in Peel()
263 node->ReplaceInput(0, peeling.map(node->InputAt(0))); in Peel()
267 loop_node->ReplaceInput(0, new_entry); in Peel()
286 merge->ReplaceInput(0, postdom); // input 0 overwritten by above line. in Peel()
Djs-typed-lowering.cc94 node_->ReplaceInput(0, left_input); in ConvertInputsToNumber()
95 node_->ReplaceInput(1, right_input); in ConvertInputsToNumber()
100 node_->ReplaceInput(0, ConvertToUI32(left(), left_signedness)); in ConvertInputsToUI32()
101 node_->ReplaceInput(1, ConvertToUI32(right(), right_signedness)); in ConvertInputsToUI32()
107 node_->ReplaceInput(0, r); in SwapInputs()
108 node_->ReplaceInput(1, l); in SwapInputs()
139 value->ReplaceInput(0, node_); in ChangeToPureOperator()
363 exception_merge->ReplaceInput(0, left_exception); in ConvertBothInputsToNumber()
364 exception_merge->ReplaceInput(1, right_exception); in ConvertBothInputsToNumber()
719 value->ReplaceInput(0, node); in ReduceJSEqual()
[all …]
Dtail-call-optimization.cc66 node->ReplaceInput(0, NodeProperties::GetEffectInput(call)); in Reduce()
67 node->ReplaceInput(1, NodeProperties::GetControlInput(call)); in Reduce()
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()
178 node->ReplaceInput(FirstFrameStateIndex(node) + index, frame_state); in ReplaceFrameStateInput()
Dcontrol-flow-optimizer.cc246 if_true->ReplaceInput(0, node); in TryBuildSwitch()
264 node->ReplaceInput(0, index); in TryBuildSwitch()
266 if_true->ReplaceInput(0, node); in TryBuildSwitch()
269 if_false->ReplaceInput(0, node); in TryBuildSwitch()
Djs-context-specialization.cc62 node->ReplaceInput(0, jsgraph_->Constant(context)); in ReduceJSLoadContext()
104 node->ReplaceInput(0, jsgraph_->Constant(context)); in ReduceJSStoreContext()
Dosr.cc114 copy->ReplaceInput(j, mapping->at(orig->InputAt(j)->id())); in PeelOuterLoopsForOsr()
173 copy->ReplaceInput(0, input); in PeelOuterLoopsForOsr()
195 copy->ReplaceInput(0, merge); in PeelOuterLoopsForOsr()
204 copy->ReplaceInput(0, phi); in PeelOuterLoopsForOsr()
Dcommon-operator-reducer.cc97 node->ReplaceInput(0, cond->InputAt(0)); in ReduceBranch()
394 node->ReplaceInput(0, a); in Change()
403 node->ReplaceInput(0, a); in Change()
404 node->ReplaceInput(1, b); in Change()
Dnode.cc190 ReplaceInput(i, InputAt(i - 1)); in InsertInput()
192 ReplaceInput(index, new_to); in InsertInput()
201 ReplaceInput(index, InputAt(index + 1)); in RemoveInput()
Djs-call-reducer.cc110 node->ReplaceInput(0, node->InputAt(1)); in ReduceFunctionPrototypeApply()
111 node->ReplaceInput(1, jsgraph()->UndefinedConstant()); in ReduceFunctionPrototypeApply()
199 node->ReplaceInput(0, node->InputAt(1)); in ReduceFunctionPrototypeCall()
200 node->ReplaceInput(1, jsgraph()->UndefinedConstant()); in ReduceFunctionPrototypeCall()
/external/v8/test/cctest/compiler/
Dtest-osr.cc199 loop->ReplaceInput(2, if_true); in TEST()
231 loop->ReplaceInput(2, if_true2); in TEST()
269 loop->ReplaceInput(2, if_false1); in TEST()
270 loop->ReplaceInput(3, if_true2); in TEST()
308 loop->ReplaceInput(loop->InputCount() - 1, if_true); in While()
312 that.loop->ReplaceInput(that.loop->InputCount() - 1, exit); in Nest()
313 this->loop->ReplaceInput(0, that.if_true); in Nest()
345 outer.branch->ReplaceInput(0, outer_phi); in TEST()
349 inner.branch->ReplaceInput(0, osr_phi); in TEST()
350 outer_phi->ReplaceInput(1, osr_phi); in TEST()
[all …]
Dtest-loop-analysis.cc108 if (edge.to() == self) node->ReplaceInput(edge.index(), node); in SetSelfReferences()
120 end->ReplaceInput(0, ret); in Return()
198 loop->ReplaceInput(1, if_true); in While()
201 void chain(Node* control) { loop->ReplaceInput(0, control); } in chain()
203 that.loop->ReplaceInput(1, exit); in nest()
204 this->loop->ReplaceInput(0, that.if_true); in nest()
225 phi->ReplaceInput(1, add); in Build()
246 phi->ReplaceInput(1, store); in Build()
400 if (i & 3) w2.branch->ReplaceInput(0, c1.phi); in TEST()
454 w2.branch->ReplaceInput(0, c2.phi); in TEST()
[all …]
Dtest-graph-visualizer.cc38 phi->ReplaceInput(0, NULL); in TEST()
57 phi->ReplaceInput(1, NULL); in TEST()
76 phi->ReplaceInput(0, NULL); in TEST()
93 merge->ReplaceInput(1, NULL); in TEST()
Dtest-node.cc179 n1->ReplaceInput(0, n1); // Create self-reference. in TEST()
194 TEST(ReplaceInput) { in TEST() argument
212 n3->ReplaceInput(1, n4); in TEST()
258 n2->ReplaceInput(0, n3); in TEST()
392 n2->ReplaceInput(0, nullptr); in TEST()
398 n2->ReplaceInput(1, nullptr); in TEST()
423 n3->ReplaceInput(1, NULL); in TEST()
467 n2->ReplaceInput(0, n1); in TEST()
472 n3->ReplaceInput(0, n1); in TEST()
749 n1->ReplaceInput(0, n1); // self-reference. in TEST()
Dtest-basic-block-profiler.cc89 count->ReplaceInput(1, m.Int32Sub(count, one)); in TEST()
/external/v8/test/unittests/compiler/
Dloop-peeling-unittest.cc112 loop->ReplaceInput(1, if_true); in NewWhile()
116 void Chain(While* a, Node* control) { a->loop->ReplaceInput(0, control); } in Chain()
118 b->loop->ReplaceInput(1, a->exit); in Nest()
119 a->loop->ReplaceInput(0, b->if_true); in Nest()
140 phi->ReplaceInput(1, add); in NewCounter()
318 loop->ReplaceInput(1, b2.if_true); in TEST_F()
319 loop->ReplaceInput(2, b2.if_false); in TEST_F()
355 loop->ReplaceInput(1, b2.if_true); in TEST_F()
356 loop->ReplaceInput(2, b2.if_false); in TEST_F()
403 phi->ReplaceInput( in TEST_F()
[all …]
Dscheduler-unittest.cc326 loop->ReplaceInput(1, t1); // close loop. in TARGET_TEST_F()
327 ind->ReplaceInput(1, ind); // close induction variable. in TARGET_TEST_F()
365 loop->ReplaceInput(1, t); // close loop. in TARGET_TEST_F()
366 ind->ReplaceInput(1, phi1); // close induction variable. in TARGET_TEST_F()
401 loop->ReplaceInput(1, t); // close loop. in TARGET_TEST_F()
402 ind->ReplaceInput(1, add); // close induction variable. in TARGET_TEST_F()
437 loop1->ReplaceInput(1, t2); // close inner loop. in TARGET_TEST_F()
438 ind1->ReplaceInput(1, ind1); // close inner induction variable. in TARGET_TEST_F()
450 loop->ReplaceInput(1, t); // close loop. in TARGET_TEST_F()
451 ind->ReplaceInput(1, add); // close induction variable. in TARGET_TEST_F()
[all …]
Dcontrol-equivalence-unittest.cc208 l->ReplaceInput(1, l); in TEST_F()
222 l->ReplaceInput(1, t); in TEST_F()
245 lp->ReplaceInput(1, f3); in TEST_F()

12