Searched refs:isAssociative (Results 1 – 9 of 9) sorted by relevance
318 bool isAssociative() const;319 static bool isAssociative(unsigned op);
493 bool Instruction::isAssociative(unsigned Opcode) { in isAssociative() function in Instruction498 bool Instruction::isAssociative() const { in isAssociative() function in Instruction500 if (isAssociative(Opcode)) in isAssociative()
1217 if (Instruction::isAssociative(Opcode) && CE1->getOpcode() == Opcode) { in ConstantFoldBinaryInstruction()
1187 if (!(InReduction && BaseInst->isAssociative())) { in validate()1347 !PossibleReds[i].getReducedValue()->isAssociative()) { in validateSelected()
544 if (!I->isAssociative() || !I->isCommutative()) return nullptr; in CanTransformAccumulatorRecursion()
539 assert(I->isAssociative() && I->isCommutative() && in LinearizeExprTree()2130 if (!I->isAssociative()) return; in OptimizeInst()
204 if (I.isAssociative()) { in SimplifyAssociativeOrCommutative()255 if (I.isAssociative() && I.isCommutative()) { in SimplifyAssociativeOrCommutative()
201 assert(Instruction::isAssociative(Opcode) && "Not an associative operation!"); in SimplifyAssociativeBinOp()3746 if (Instruction::isAssociative(Opcode)) in SimplifyBinOp()
3743 if (!TreeN->isAssociative()) in matchAssociativeReduction()