Searched refs:isCommutative (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp72 if (Instruction::isCommutative(Opcode) || Idx == ImmArgIdx) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DInlineAsm.cpp79 isCommutative = false;
118 isCommutative) // Reject %%%%%
120 isCommutative = true;
H A DConstantFold.cpp1240 if (Instruction::isCommutative(Opcode))
1366 if (Instruction::isCommutative(Opcode))
H A DInstructions.cpp2419 if (!isCommutative())
3518 bool CmpInst::isCommutative() const { function in class:CmpInst
3520 return IC->isCommutative();
3521 return cast<FCmpInst>(this)->isCommutative();
/freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenIntrinsics.h115 bool isCommutative; member in struct:llvm::CodeGenIntrinsic
H A DCodeGenTarget.cpp606 isCommutative = false;
765 isCommutative = true;
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.h498 bool isCommutative() const { return isCommutative(getOpcode()); } function in class:llvm::Instruction
499 static bool isCommutative(unsigned Opcode) { function in class:llvm::Instruction
H A DInlineAsm.h136 /// isCommutative - This is set to true for a constraint that is commutative
138 bool isCommutative = false; member in struct:llvm::final::ConstraintInfo
H A DInstrTypes.h894 bool isCommutative() const;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSpeculateAroundPHIs.cpp272 if (UserI->isBinaryOp() && UserI->isCommutative() && Idx != 1)
684 if (NewI->isBinaryOp() && NewI->isCommutative() &&
H A DTailRecursionElimination.cpp424 if (!I->isAssociative() || !I->isCommutative()) return nullptr;
H A DEarlyCSE.cpp209 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1))
316 if (!LHSBinOp->isCommutative())
H A DReassociate.cpp223 assert(I->isCommutative() && "Expected commutative operator.");
459 assert(I->isAssociative() && I->isCommutative() &&
2095 if (I->isCommutative())
H A DLoopRerollPass.cpp1378 if (!Swapped && BaseInst->isCommutative() && !SomeOpMatched &&
H A DNewGVN.cpp1046 if (Instruction::isCommutative(Opcode)) {
1129 if (I->isCommutative()) {
H A DGVN.cpp280 if (I->isCommutative()) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanSLP.cpp171 return Instruction::isCommutative(
H A DSLPVectorizer.cpp237 static bool isCommutative(Instruction *I) { function
239 return IC->isCommutative();
240 return I->isCommutative();
969 unsigned FromIdx = isCommutative(I2) ? 0 : OpIdx1;
970 unsigned ToIdx = isCommutative(I2)
1143 bool IsInverseOperation = !isCommutative(cast<Instruction>(VL[Lane]));
2794 if (cast<CmpInst>(VL0)->isCommutative()) {
2843 if (isa<BinaryOperator>(VL0) && VL0->isCommutative()) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorLoopCarriedReuse.cpp520 if ((I && I->isCommutative()) || (C1 && isCallInstCommutative(C1))) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp336 if (I.isCommutative() && getComplexity(I.getOperand(0)) <
398 if (I.isAssociative() && I.isCommutative()) {
511 if (Instruction::isCommutative(ROp))
567 bool InnerCommutative = Instruction::isCommutative(InnerOpcode);
1493 if (Inst.isCommutative() &&
H A DInstCombineSelect.cpp95 if (!BO->isCommutative() && !match(BO, m_BinOp(m_Value(Y), m_Specific(X))))
370 } else if (!TI->isCommutative()) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterleavedLoadCombinePass.cpp909 if ((!C) && BO.isCommutative()) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp290 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) &&
H A DInstructionSimplify.cpp253 if ((L == A && R == B) || (Instruction::isCommutative(OpcodeToExpand)
276 if ((L == B && R == C) || (Instruction::isCommutative(OpcodeToExpand)
346 if (!Instruction::isCommutative(Opcode))
453 if (Simplified->isCommutative() &&
609 if (Instruction::isCommutative(Opcode))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp622 if (isa<Instruction>(I) && cast<Instruction>(I)->isCommutative()) {

Completed in 229 milliseconds

12