Home
last modified time | relevance | path

Searched refs:isCommutative (Results 1 – 25 of 32) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInlineAsm.cpp79 isCommutative = false; in Parse()
118 isCommutative) // Reject %%%%% in Parse()
120 isCommutative = true; in Parse()
DInstructions.cpp2419 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()
DConstantFold.cpp1240 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/
DInstruction.h385 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/
DInstruction.h498 bool isCommutative() const { return isCommutative(getOpcode()); }
499 static bool isCommutative(unsigned Opcode) {
DInlineAsm.h138 bool isCommutative = false; member
DInstrTypes.h894 bool isCommutative() const;
DInstructions.h1259 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/
DRISCVTargetTransformInfo.cpp72 if (Instruction::isCommutative(Opcode) || Idx == ImmArgIdx) { in getIntImmCostInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSpeculateAroundPHIs.cpp272 if (UserI->isBinaryOp() && UserI->isCommutative() && Idx != 1) in isSafeAndProfitableToSpeculateAroundPHI()
684 if (NewI->isBinaryOp() && NewI->isCommutative() && in speculatePHIs()
DEarlyCSE.cpp209 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1)) in getHashValueImpl()
316 if (!LHSBinOp->isCommutative()) in isEqualImpl()
DTailRecursionElimination.cpp424 if (!I->isAssociative() || !I->isCommutative()) return nullptr; in canTransformAccumulatorRecursion()
DReassociate.cpp223 assert(I->isCommutative() && "Expected commutative operator."); in canonicalizeOperands()
459 assert(I->isAssociative() && I->isCommutative() && in LinearizeExprTree()
2095 if (I->isCommutative()) in OptimizeInst()
DLoopRerollPass.cpp1378 if (!Swapped && BaseInst->isCommutative() && !SomeOpMatched && in validate()
DNewGVN.cpp1046 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/
DVPlanSLP.cpp171 return Instruction::isCommutative( in areCommutative()
DSLPVectorizer.cpp237 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/
DHexagonVectorLoopCarriedReuse.cpp520 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/
DInstructionCombining.cpp336 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()
DInstCombineSelect.cpp95 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/
DInterleavedLoadCombinePass.cpp909 if ((!C) && BO.isCommutative()) { in computePolynomialBinOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DIVDescriptors.cpp290 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) && in AddReductionVar()
DInstructionSimplify.cpp253 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/
DIceInst.cpp290 bool InstArithmetic::isCommutative() const { in isCommutative() function in Ice::InstArithmetic
DIceInst.h338 bool isCommutative() const;

12