Lines Matching refs:live_input_count
43 int live_input_count = 0; in ReduceEnd() local
49 if (i != live_input_count) node->ReplaceInput(live_input_count, input); in ReduceEnd()
50 ++live_input_count; in ReduceEnd()
52 if (live_input_count == 0) { in ReduceEnd()
54 } else if (live_input_count < input_count) { in ReduceEnd()
55 node->TrimInputCount(live_input_count); in ReduceEnd()
56 NodeProperties::ChangeOp(node, common()->End(live_input_count)); in ReduceEnd()
59 DCHECK_EQ(input_count, live_input_count); in ReduceEnd()
72 int live_input_count = 0; in ReduceLoopOrMerge() local
80 if (live_input_count != i) { in ReduceLoopOrMerge()
81 node->ReplaceInput(live_input_count, input); in ReduceLoopOrMerge()
85 use->ReplaceInput(live_input_count, use->InputAt(i)); in ReduceLoopOrMerge()
89 ++live_input_count; in ReduceLoopOrMerge()
92 if (live_input_count == 0) { in ReduceLoopOrMerge()
94 } else if (live_input_count == 1) { in ReduceLoopOrMerge()
106 DCHECK_LE(2, live_input_count); in ReduceLoopOrMerge()
107 DCHECK_LE(live_input_count, input_count); in ReduceLoopOrMerge()
109 if (live_input_count < input_count) { in ReduceLoopOrMerge()
113 use->ReplaceInput(live_input_count, node); in ReduceLoopOrMerge()
114 TrimMergeOrPhi(use, live_input_count); in ReduceLoopOrMerge()
118 TrimMergeOrPhi(node, live_input_count); in ReduceLoopOrMerge()