Searched refs:isAssociative (Results 1 – 7 of 7) sorted by relevance
205 bool isAssociative() const { return isAssociative(getOpcode()); } in isAssociative() function206 static bool isAssociative(unsigned op);
324 bool Instruction::isAssociative(unsigned Opcode) { in isAssociative() function in Instruction
1417 if (Instruction::isAssociative(Opcode) && CE1->getOpcode() == Opcode) { in ConstantFoldBinaryInstruction()
334 if (!I->isAssociative() || !I->isCommutative()) return 0; in CanTransformAccumulatorRecursion()
1017 if (!BI->isAssociative()) return; in ReassociateInst()
147 if (I.isAssociative()) { in SimplifyAssociativeOrCommutative()189 if (I.isAssociative() && I.isCommutative()) { in SimplifyAssociativeOrCommutative()
214 assert(Instruction::isAssociative(Opcode) && "Not an associative operation!"); in SimplifyAssociativeBinOp()2336 if (Instruction::isAssociative(Opcode)) in SimplifyBinOp()