reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Analysis/IVDescriptors.cpp
  291     if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) &&
lib/Analysis/InstructionSimplify.cpp
  388       if (Simplified->isCommutative() &&
lib/CodeGen/InterleavedLoadCombinePass.cpp
  908     if ((!C) && BO.isCommutative()) {
lib/CodeGen/SelectionDAG/FastISel.cpp
  607     if (isa<Instruction>(I) && cast<Instruction>(I)->isCommutative()) {
lib/IR/Instructions.cpp
 2427   if (!isCommutative())
lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
  518         if ((I && I->isCommutative()) || (C1 && isCallInstCommutative(C1))) {
lib/Transforms/InstCombine/InstCombineCompares.cpp
 4473   if (OrigI.isCommutative() && isa<Constant>(LHS) && !isa<Constant>(RHS))
lib/Transforms/InstCombine/InstCombineSelect.cpp
   95   if (!BO->isCommutative() && !match(BO, m_BinOp(m_Value(Y), m_Specific(X))))
  370   } else if (!TI->isCommutative()) {
lib/Transforms/InstCombine/InstructionCombining.cpp
  321     if (I.isCommutative() && getComplexity(I.getOperand(0)) <
  383     if (I.isAssociative() && I.isCommutative()) {
 1461   if (Inst.isCommutative() &&
lib/Transforms/Scalar/EarlyCSE.cpp
  171     if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1))
  278     if (!LHSBinOp->isCommutative())
lib/Transforms/Scalar/GVN.cpp
  279   if (I->isCommutative()) {
lib/Transforms/Scalar/LoopRerollPass.cpp
 1377             if (!Swapped && BaseInst->isCommutative() && !SomeOpMatched &&
lib/Transforms/Scalar/NewGVN.cpp
 1128   if (I->isCommutative()) {
lib/Transforms/Scalar/Reassociate.cpp
  222   assert(I->isCommutative() && "Expected commutative operator.");
  458   assert(I->isAssociative() && I->isCommutative() &&
 2092   if (I->isCommutative())
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp
  272     if (UserI->isBinaryOp() && UserI->isCommutative() && Idx != 1)
  684       if (NewI->isBinaryOp() && NewI->isCommutative() &&
lib/Transforms/Scalar/TailRecursionElimination.cpp
  423   if (!I->isAssociative() || !I->isCommutative()) return nullptr;
lib/Transforms/Vectorize/SLPVectorizer.cpp
  220   return I->isCommutative();
 2591       if (isa<BinaryOperator>(VL0) && VL0->isCommutative()) {
tools/polly/lib/Analysis/ScopBuilder.cpp
 3105   if (!BinOp->isCommutative() || !BinOp->isAssociative())