Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstruction.h527 bool isAssociative() const LLVM_READONLY;
528 static bool isAssociative(unsigned Opcode) {
/llvm-project-15.0.7/libcxx/test/support/
H A Dcontainer_debug_tests.h60 constexpr bool isAssociative(ContainerType CT) { in isAssociative() function
/llvm-project-15.0.7/llvm/lib/MC/
H A DWinCOFFObjectWriter.cpp926 static bool isAssociative(const COFFSection &Section) { in isAssociative() function
944 if (!isAssociative(*Section)) in assignSectionNumbers()
947 if (isAssociative(*Section)) in assignSectionNumbers()
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstruction.cpp755 bool Instruction::isAssociative() const { in isAssociative() function in Instruction
757 if (isAssociative(Opcode)) in isAssociative()
H A DConstantFold.cpp1263 if (Instruction::isAssociative(Opcode) && CE1->getOpcode() == Opcode) { in ConstantFoldBinaryInstruction()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopRerollPass.cpp1365 if (!(InReduction && BaseInst->isAssociative())) { in validate()
1531 !PossibleReds[i].getReducedValue()->isAssociative()) { in validateSelected()
H A DReassociate.cpp468 assert(I->isAssociative() && I->isCommutative() && in LinearizeExprTree()
2311 if (!I->isAssociative()) return; in OptimizeInst()
2469 if (!I.isAssociative()) in BuildPairMap()
H A DTailRecursionElimination.cpp367 if (!I->isAssociative() || !I->isCommutative()) in canTransformAccumulatorRecursion()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp421 if (I.isAssociative()) { in SimplifyAssociativeOrCommutative()
476 if (I.isAssociative() && I.isCommutative()) { in SimplifyAssociativeOrCommutative()
1833 if (Inst.isAssociative() && Inst.isCommutative()) { in foldVectorBinop()
/llvm-project-15.0.7/polly/lib/Analysis/
H A DScopBuilder.cpp2936 if (!BinOp->isCommutative() || !BinOp->isAssociative()) in collectCandidateReductionLoads()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DInstructionSimplify.cpp294 assert(Instruction::isAssociative(Opcode) && "Not an associative operation!"); in simplifyAssociativeBinOp()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp10546 return I->isAssociative(); in isVectorizable()