Home
last modified time | relevance | path

Searched refs:isAssociative (Results 1 – 7 of 7) sorted by relevance

/external/llvm/include/llvm/
DInstruction.h205 bool isAssociative() const { return isAssociative(getOpcode()); } in isAssociative() function
206 static bool isAssociative(unsigned op);
/external/llvm/lib/VMCore/
DInstruction.cpp324 bool Instruction::isAssociative(unsigned Opcode) { in isAssociative() function in Instruction
DConstantFold.cpp1417 if (Instruction::isAssociative(Opcode) && CE1->getOpcode() == Opcode) { in ConstantFoldBinaryInstruction()
/external/llvm/lib/Transforms/Scalar/
DTailRecursionElimination.cpp334 if (!I->isAssociative() || !I->isCommutative()) return 0; in CanTransformAccumulatorRecursion()
DReassociate.cpp1017 if (!BI->isAssociative()) return; in ReassociateInst()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp147 if (I.isAssociative()) { in SimplifyAssociativeOrCommutative()
189 if (I.isAssociative() && I.isCommutative()) { in SimplifyAssociativeOrCommutative()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp214 assert(Instruction::isAssociative(Opcode) && "Not an associative operation!"); in SimplifyAssociativeBinOp()
2336 if (Instruction::isAssociative(Opcode)) in SimplifyBinOp()