Home
last modified time | relevance | path

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

/external/llvm/include/llvm/IR/
DInstruction.h318 bool isAssociative() const;
319 static bool isAssociative(unsigned op);
/external/llvm/lib/IR/
DInstruction.cpp493 bool Instruction::isAssociative(unsigned Opcode) { in isAssociative() function in Instruction
498 bool Instruction::isAssociative() const { in isAssociative() function in Instruction
500 if (isAssociative(Opcode)) in isAssociative()
DConstantFold.cpp1217 if (Instruction::isAssociative(Opcode) && CE1->getOpcode() == Opcode) { in ConstantFoldBinaryInstruction()
/external/llvm/lib/Transforms/Scalar/
DLoopRerollPass.cpp1187 if (!(InReduction && BaseInst->isAssociative())) { in validate()
1347 !PossibleReds[i].getReducedValue()->isAssociative()) { in validateSelected()
DTailRecursionElimination.cpp544 if (!I->isAssociative() || !I->isCommutative()) return nullptr; in CanTransformAccumulatorRecursion()
DReassociate.cpp539 assert(I->isAssociative() && I->isCommutative() && in LinearizeExprTree()
2130 if (!I->isAssociative()) return; in OptimizeInst()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp204 if (I.isAssociative()) { in SimplifyAssociativeOrCommutative()
255 if (I.isAssociative() && I.isCommutative()) { in SimplifyAssociativeOrCommutative()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp201 assert(Instruction::isAssociative(Opcode) && "Not an associative operation!"); in SimplifyAssociativeBinOp()
3746 if (Instruction::isAssociative(Opcode)) in SimplifyBinOp()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp3743 if (!TreeN->isAssociative()) in matchAssociativeReduction()