| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | InlineAsm.cpp | 80 isCommutative = false; in Parse() 119 isCommutative) // Reject %%%%% in Parse() 121 isCommutative = true; in Parse()
|
| H A D | Instruction.cpp | 729 bool Instruction::isCommutative() const { in isCommutative() function in Instruction 731 return II->isCommutative(); in isCommutative() 733 return isCommutative(getOpcode()); in isCommutative()
|
| H A D | Instructions.cpp | 2625 if (!isCommutative()) in swapOperands() 3654 bool CmpInst::isCommutative() const { in isCommutative() function in CmpInst 3656 return IC->isCommutative(); in isCommutative() 3657 return cast<FCmpInst>(this)->isCommutative(); in isCommutative()
|
| H A D | ConstantFold.cpp | 1370 if (Instruction::isCommutative(Opcode)) in ConstantFoldBinaryInstruction() 1509 if (Instruction::isCommutative(Opcode)) in ConstantFoldBinaryInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.cpp | 75 if (Instruction::isCommutative(Opcode) || Idx == ImmArgIdx) { in getIntImmCostInst()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| H A D | CodeGenIntrinsics.h | 115 bool isCommutative; member
|
| H A D | CodeGenTarget.cpp | 651 isCommutative = false; in CodeGenIntrinsic() 844 isCommutative = true; in setProperty()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | Instruction.h | 542 bool isCommutative() const LLVM_READONLY; 543 static bool isCommutative(unsigned Opcode) {
|
| H A D | InlineAsm.h | 141 bool isCommutative = false; member
|
| H A D | IntrinsicInst.h | 58 bool isCommutative() const { in isCommutative() function
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | SpeculateAroundPHIs.cpp | 273 if (UserI->isBinaryOp() && UserI->isCommutative() && Idx != 1) in isSafeAndProfitableToSpeculateAroundPHI() 690 if (NewI->isBinaryOp() && NewI->isCommutative() && in speculatePHIs()
|
| H A D | EarlyCSE.cpp | 216 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1)) in getHashValueImpl() 296 if (II && II->isCommutative() && II->getNumArgOperands() == 2) { in getHashValueImpl() 341 if (!LHSBinOp->isCommutative()) in isEqualImpl() 366 LII->isCommutative() && LII->getNumArgOperands() == 2) { in isEqualImpl()
|
| H A D | Reassociate.cpp | 224 assert(I->isCommutative() && "Expected commutative operator."); in canonicalizeOperands() 460 assert(I->isAssociative() && I->isCommutative() && in LinearizeExprTree() 2193 if (I->isCommutative()) in OptimizeInst()
|
| H A D | TailRecursionElimination.cpp | 368 if (!I->isAssociative() || !I->isCommutative()) in canTransformAccumulatorRecursion()
|
| H A D | LoopRerollPass.cpp | 1399 if (!Swapped && BaseInst->isCommutative() && !SomeOpMatched && in validate()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanSLP.cpp | 174 return Instruction::isCommutative( in areCommutative()
|
| H A D | SLPVectorizer.cpp | 240 static bool isCommutative(Instruction *I) { in isCommutative() function 242 return Cmp->isCommutative(); in isCommutative() 244 return BO->isCommutative(); in isCommutative() 1142 unsigned FromIdx = isCommutative(I2) ? 0 : OpIdx1; in getScoreAtLevelRec() 1143 unsigned ToIdx = isCommutative(I2) in getScoreAtLevelRec() 1316 bool IsInverseOperation = !isCommutative(cast<Instruction>(VL[Lane])); in appendOperandsOfVL() 3070 if (cast<CmpInst>(VL0)->isCommutative()) { in buildTree_rec() 3119 if (isa<BinaryOperator>(VL0) && VL0->isCommutative()) { in buildTree_rec()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 377 if (I.isCommutative() && getComplexity(I.getOperand(0)) < in SimplifyAssociativeOrCommutative() 439 if (I.isAssociative() && I.isCommutative()) { in SimplifyAssociativeOrCommutative() 552 if (Instruction::isCommutative(ROp)) in rightDistributesOverLeft() 609 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 1601 if (Inst.isCommutative() && in foldVectorBinop() 1708 if (Inst.isAssociative() && Inst.isCommutative()) { in foldVectorBinop()
|
| H A D | InstCombineNegator.cpp | 125 if (I->isCommutative() && InstCombiner::getComplexity(I->getOperand(0)) < in getSortedOperandsOfBinOp()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorLoopCarriedReuse.cpp | 441 if ((I && I->isCommutative()) || (C1 && isCallInstCommutative(C1))) { in findValueToReuse()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | IRSimilarityIdentifier.cpp | 622 if (IA->isCommutative() && !isa<FPMathOperator>(IA)) { in compareStructure()
|
| H A D | IVDescriptors.cpp | 321 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) && in AddReductionVar()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | InterleavedLoadCombinePass.cpp | 909 if ((!C) && BO.isCommutative()) { in computePolynomialBinOp()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
| H A D | opover.d | 45 bool isCommutative(EXP op) in isCommutative() function 762 if (isCommutative(e.op) && !tiargs) in visitBin()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| H A D | opover.c | 42 bool isCommutative(TOK op) in isCommutative() function 742 if (isCommutative(e->op) && !tiargs) in op_overload()
|