/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | InlineAsm.cpp | 79 isCommutative = false; in Parse() 118 isCommutative) // Reject %%%%% in Parse() 120 isCommutative = true; in Parse()
|
D | Instructions.cpp | 2419 if (!isCommutative()) in swapOperands() 3518 bool CmpInst::isCommutative() const { in isCommutative() function in CmpInst 3520 return IC->isCommutative(); in isCommutative() 3521 return cast<FCmpInst>(this)->isCommutative(); in isCommutative()
|
D | ConstantFold.cpp | 1240 if (Instruction::isCommutative(Opcode)) in ConstantFoldBinaryInstruction() 1366 if (Instruction::isCommutative(Opcode)) in ConstantFoldBinaryInstruction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Instruction.h | 385 bool isCommutative() const { return isCommutative(getOpcode()); } in isCommutative() function 386 static bool isCommutative(unsigned op);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Instruction.h | 498 bool isCommutative() const { return isCommutative(getOpcode()); } 499 static bool isCommutative(unsigned Opcode) {
|
D | InlineAsm.h | 138 bool isCommutative = false; member
|
D | InstrTypes.h | 894 bool isCommutative() const;
|
D | Instructions.h | 1259 bool isCommutative() const { return isEquality(); } 1369 bool isCommutative() const {
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
D | RISCVTargetTransformInfo.cpp | 72 if (Instruction::isCommutative(Opcode) || Idx == ImmArgIdx) { in getIntImmCostInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SpeculateAroundPHIs.cpp | 272 if (UserI->isBinaryOp() && UserI->isCommutative() && Idx != 1) in isSafeAndProfitableToSpeculateAroundPHI() 684 if (NewI->isBinaryOp() && NewI->isCommutative() && in speculatePHIs()
|
D | EarlyCSE.cpp | 209 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1)) in getHashValueImpl() 316 if (!LHSBinOp->isCommutative()) in isEqualImpl()
|
D | TailRecursionElimination.cpp | 424 if (!I->isAssociative() || !I->isCommutative()) return nullptr; in canTransformAccumulatorRecursion()
|
D | Reassociate.cpp | 223 assert(I->isCommutative() && "Expected commutative operator."); in canonicalizeOperands() 459 assert(I->isAssociative() && I->isCommutative() && in LinearizeExprTree() 2095 if (I->isCommutative()) in OptimizeInst()
|
D | LoopRerollPass.cpp | 1378 if (!Swapped && BaseInst->isCommutative() && !SomeOpMatched && in validate()
|
D | NewGVN.cpp | 1046 if (Instruction::isCommutative(Opcode)) { in createBinaryExpression() 1129 if (I->isCommutative()) { in createExpression()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | VPlanSLP.cpp | 171 return Instruction::isCommutative( in areCommutative()
|
D | SLPVectorizer.cpp | 237 static bool isCommutative(Instruction *I) { in isCommutative() function 239 return IC->isCommutative(); in isCommutative() 240 return I->isCommutative(); in isCommutative() 969 unsigned FromIdx = isCommutative(I2) ? 0 : OpIdx1; in getScoreAtLevelRec() 970 unsigned ToIdx = isCommutative(I2) in getScoreAtLevelRec() 1143 bool IsInverseOperation = !isCommutative(cast<Instruction>(VL[Lane])); in appendOperandsOfVL() 2794 if (cast<CmpInst>(VL0)->isCommutative()) { in buildTree_rec() 2843 if (isa<BinaryOperator>(VL0) && VL0->isCommutative()) { in buildTree_rec()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonVectorLoopCarriedReuse.cpp | 520 if ((I && I->isCommutative()) || (C1 && isCallInstCommutative(C1))) { in findValueToReuse()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 336 if (I.isCommutative() && getComplexity(I.getOperand(0)) < in SimplifyAssociativeOrCommutative() 398 if (I.isAssociative() && I.isCommutative()) { in SimplifyAssociativeOrCommutative() 511 if (Instruction::isCommutative(ROp)) in rightDistributesOverLeft() 567 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 1493 if (Inst.isCommutative() && in foldVectorBinop()
|
D | InstCombineSelect.cpp | 95 if (!BO->isCommutative() && !match(BO, m_BinOp(m_Value(Y), m_Specific(X)))) in foldSelectBinOpIdentity() 370 } else if (!TI->isCommutative()) { in foldSelectOpOp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | InterleavedLoadCombinePass.cpp | 909 if ((!C) && BO.isCommutative()) { in computePolynomialBinOp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | IVDescriptors.cpp | 290 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) && in AddReductionVar()
|
D | InstructionSimplify.cpp | 253 if ((L == A && R == B) || (Instruction::isCommutative(OpcodeToExpand) in ExpandBinOp() 276 if ((L == B && R == C) || (Instruction::isCommutative(OpcodeToExpand) in ExpandBinOp() 346 if (!Instruction::isCommutative(Opcode)) in SimplifyAssociativeBinOp() 453 if (Simplified->isCommutative() && in ThreadBinOpOverSelect() 609 if (Instruction::isCommutative(Opcode)) in foldOrCommuteConstant()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceInst.cpp | 290 bool InstArithmetic::isCommutative() const { in isCommutative() function in Ice::InstArithmetic
|
D | IceInst.h | 338 bool isCommutative() const;
|