Searched refs:isAssociative (Results 1 – 10 of 10) sorted by relevance
259 bool isAssociative() const;260 static bool isAssociative(unsigned op);
477 bool Instruction::isAssociative(unsigned Opcode) { in isAssociative() function in Instruction482 bool Instruction::isAssociative() const { in isAssociative() function in Instruction484 if (isAssociative(Opcode)) in isAssociative()
1161 if (Instruction::isAssociative(Opcode) && CE1->getOpcode() == Opcode) { in ConstantFoldBinaryInstruction()
674 !PossibleReds[i].getReducedValue()->isAssociative()) { in validateSelected()955 if (!(InReduction && J1->isAssociative())) { in reroll()
370 if (!I->isAssociative() || !I->isCommutative()) return 0; in CanTransformAccumulatorRecursion()
502 assert(Instruction::isAssociative(Opcode) && in LinearizeExprTree()1882 if (!I->isAssociative()) return; in OptimizeInst()
216 if (I.isAssociative()) { in SimplifyAssociativeOrCommutative()267 if (I.isAssociative() && I.isCommutative()) { in SimplifyAssociativeOrCommutative()
262 assert(Instruction::isAssociative(Opcode) && "Not an associative operation!"); in SimplifyAssociativeBinOp()2909 if (Instruction::isAssociative(Opcode)) in SimplifyBinOp()
2279 if (!TreeN->isAssociative()) in matchAssociativeReduction()
4308 bool FastMath = (FP && I->isCommutative() && I->isAssociative()); in isReductionInstr()