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()
3788 virtual bool IsCommutative() const { return false; }3806 DCHECK(IsCommutative());3967 bool IsCommutative() const override { return true; }4014 bool IsCommutative() const override { return true; }5273 bool IsCommutative() const override { return true; }5343 bool IsCommutative() const override { return true; }5474 bool IsCommutative() const override { return true; }5509 bool IsCommutative() const override { return true; }5752 bool IsCommutative() const override { return true; }5790 bool IsCommutative() const override { return true; }[all …]
2874 DCHECK(instruction->IsCommutative()); in TryHandleAssociativeAndCommutativeOperation()
1905 } else if (IsCommutative() && GetLeft()->IsConstant()) { in GetConstantRight()