Searched refs:Commute (Results 1 – 14 of 14) sorted by relevance
745 bool Commute; in getMachineCombinerPatterns() local746 if (isReassociationCandidate(Root, Commute)) { in getMachineCombinerPatterns()751 if (Commute) { in getMachineCombinerPatterns()
147 void Commute() { in Commute() function
480 if (must_commute_cond) cont->Commute(); in VisitBinop()490 if (must_commute_cond) cont->Commute(); in VisitBinop()502 if (must_commute_cond) cont->Commute(); in VisitBinop()2414 cont->Commute(); in VisitWordCompare()2556 cont->Commute(); in VisitFloat32Compare()2574 cont->Commute(); in VisitFloat64Compare()
3216 bool Commute = false; in FoldImmediate() local3227 Commute = UseMI.getOperand(2).getReg() != Reg; in FoldImmediate()3232 if (UseOpc == ARM::SUBrr && Commute) in FoldImmediate()3261 if (UseOpc == ARM::t2SUBrr && Commute) in FoldImmediate()3296 unsigned OpIdx = Commute ? 2 : 1; in FoldImmediate()
1797 cont->Commute(); in VisitFloat32Compare()1815 cont->Commute(); in VisitFloat64Compare()1936 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWordCompare()
1566 if (!commutative) cont->Commute(); in VisitWordCompare()
1581 if (!commutative) cont->Commute(); in VisitWordCompare()
1629 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWordCompare()
1819 if (!commutative) cont->Commute(); in VisitWordCompare()
2014 if (!commutative) cont->Commute(); in VisitWordCompare()
1677 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWordCompare()
1930 cont->Commute(); in VisitWordCompare()
2282 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWordCompare()
46198 bool Commute = false; in IsDesirableToPromoteOp() local46219 Commute = true; in IsDesirableToPromoteOp()46226 (!Commute || !isa<ConstantSDNode>(N0) || in IsDesirableToPromoteOp()46230 ((Commute && !isa<ConstantSDNode>(N1)) || in IsDesirableToPromoteOp()46234 (Commute && IsFoldableAtomicRMW(N1, Op))) in IsDesirableToPromoteOp()