Searched refs:IsCommutative (Results 1 – 7 of 7) sorted by relevance
140 bool IsCommutative() const override { return false; } in IsCommutative() function
108 bool is_commutative = use->AsBinaryOperation()->IsCommutative(); in TryMergeIntoShifterOperand()
122 bool is_commutative = use->IsBinaryOperation() && use->AsBinaryOperation()->IsCommutative(); in TryMergeIntoShifterOperand()
501 if (current->IsBinaryOperation() && current->AsBinaryOperation()->IsCommutative()) { in VisitBasicBlock()
3598 virtual bool IsCommutative() const { return false; } in IsCommutative() function3616 DCHECK(IsCommutative()); in OrderInputs()3777 bool IsCommutative() const override { return true; } in IsCommutative() function3824 bool IsCommutative() const override { return true; } in IsCommutative() function5043 bool IsCommutative() const override { return true; } in IsCommutative() function5113 bool IsCommutative() const override { return true; } in IsCommutative() function5244 bool IsCommutative() const override { return true; } in IsCommutative() function5279 bool IsCommutative() const override { return true; } in IsCommutative() function5522 bool IsCommutative() const override { return true; } in IsCommutative() function5560 bool IsCommutative() const override { return true; } in IsCommutative() function[all …]
2778 DCHECK(instruction->IsCommutative()); in TryHandleAssociativeAndCommutativeOperation()
1685 } else if (IsCommutative() && GetLeft()->IsConstant()) { in GetConstantRight()