Lines Matching refs:opcode
25 switch (cond->opcode()) { in DecideCondition()
57 switch (node->opcode()) { in Reduce()
80 DCHECK_EQ(IrOpcode::kBranch, node->opcode()); in ReduceBranch()
86 if (cond->opcode() == IrOpcode::kBooleanNot) { in ReduceBranch()
88 switch (use->opcode()) { in ReduceBranch()
112 switch (use->opcode()) { in ReduceBranch()
128 DCHECK_EQ(IrOpcode::kMerge, node->opcode()); in ReduceMerge()
140 if (IrOpcode::IsPhiOpcode(use->opcode())) return NoChange(); in ReduceMerge()
144 if (if_true->opcode() != IrOpcode::kIfTrue) std::swap(if_true, if_false); in ReduceMerge()
145 if (if_true->opcode() == IrOpcode::kIfTrue && in ReduceMerge()
146 if_false->opcode() == IrOpcode::kIfFalse && in ReduceMerge()
150 DCHECK_EQ(IrOpcode::kBranch, branch->opcode()); in ReduceMerge()
164 DCHECK_EQ(IrOpcode::kEffectPhi, node->opcode()); in ReduceEffectPhi()
168 DCHECK(IrOpcode::IsMergeOpcode(merge->opcode())); in ReduceEffectPhi()
176 DCHECK_EQ(IrOpcode::kLoop, merge->opcode()); in ReduceEffectPhi()
188 DCHECK_EQ(IrOpcode::kPhi, node->opcode()); in ReducePhi()
192 DCHECK(IrOpcode::IsMergeOpcode(merge->opcode())); in ReducePhi()
199 if (if_true->opcode() != IrOpcode::kIfTrue) { in ReducePhi()
203 if (if_true->opcode() == IrOpcode::kIfTrue && in ReducePhi()
204 if_false->opcode() == IrOpcode::kIfFalse && in ReducePhi()
208 if (branch->opcode() != IrOpcode::kBranch) return NoChange(); in ReducePhi()
210 if (cond->opcode() == IrOpcode::kFloat32LessThan) { in ReducePhi()
213 vfalse->opcode() == IrOpcode::kFloat32Sub) { in ReducePhi()
232 } else if (cond->opcode() == IrOpcode::kFloat64LessThan) { in ReducePhi()
235 vfalse->opcode() == IrOpcode::kFloat64Sub) { in ReducePhi()
263 DCHECK_EQ(IrOpcode::kLoop, merge->opcode()); in ReducePhi()
275 DCHECK_EQ(IrOpcode::kReturn, node->opcode()); in ReduceReturn()
279 if (value->opcode() == IrOpcode::kPhi && in ReduceReturn()
281 effect->opcode() == IrOpcode::kEffectPhi && in ReduceReturn()
283 control->opcode() == IrOpcode::kMerge) { in ReduceReturn()
288 DCHECK_EQ(IrOpcode::kEnd, graph()->end()->opcode()); in ReduceReturn()
308 DCHECK_EQ(IrOpcode::kSelect, node->opcode()); in ReduceSelect()
321 switch (cond->opcode()) { in ReduceSelect()
325 vfalse->opcode() == IrOpcode::kFloat32Sub) { in ReduceSelect()
343 vfalse->opcode() == IrOpcode::kFloat64Sub) { in ReduceSelect()
366 DCHECK_EQ(IrOpcode::kGuard, node->opcode()); in ReduceGuard()