Searched refs:hasAllowReassoc (Results 1 – 19 of 19) sorted by relevance
645 if (Opcode == Instruction::FDiv && I.hasAllowReassoc() && I.hasNoNaNs()) { in foldPowiReassoc()932 if (I.hasAllowReassoc()) in visitFMul()1780 if (!I.hasAllowReassoc() || !I.hasAllowReciprocal()) in foldFDivConstantDividend()1807 if (!II || !II->hasOneUse() || !I.hasAllowReassoc() || in foldFDivPowDivisor()1852 if (!I.hasAllowReassoc() || !I.hasAllowReciprocal()) in foldFDivSqrtDivisor()1857 !II->hasAllowReassoc() || !II->hasAllowReciprocal()) in foldFDivSqrtDivisor()1866 if (!DivOp->hasAllowReassoc() || !I.hasAllowReciprocal() || in foldFDivSqrtDivisor()1909 if (I.hasAllowReassoc() && I.hasAllowReciprocal()) { in visitFDiv()1933 if (I.hasAllowReassoc() && Op0->hasOneUse() && Op1->hasOneUse()) { in visitFDiv()1962 if (I.hasNoNaNs() && I.hasAllowReassoc() && in visitFDiv()[all …]
428 assert(I->hasAllowReassoc() && I->hasNoSignedZeros() && in simplify()1064 assert(I.hasAllowReassoc() && I.hasNoSignedZeros() && "Assumption mismatch"); in foldSquareSumFP()1846 assert(I.hasAllowReassoc() && I.hasNoSignedZeros() && in factorizeFAddFSub()1938 if (I.hasAllowReassoc() && I.hasNoSignedZeros()) { in visitFAdd()2929 if (I.hasAllowReassoc() && I.hasNoSignedZeros()) { in visitFSub()
3561 II->hasAllowReassoc(); in visitCallInst()
361 !InductionBinOp->hasAllowReassoc()) in getExactFPMathInst()
575 bool Instruction::hasAllowReassoc() const { in hasAllowReassoc() function in Instruction577 return cast<FPMathOperator>(this)->hasAllowReassoc(); in hasAllowReassoc()1196 return cast<FPMathOperator>(this)->hasAllowReassoc() && in isAssociative()
789 I->hasAllowReassoc() ? nullptr : I); in isRecurrenceInstr()793 I->hasAllowReassoc() ? nullptr : I); in isRecurrenceInstr()819 I->hasAllowReassoc() ? nullptr : I); in isRecurrenceInstr()
6296 if (Call->hasAllowReassoc() && in simplifyUnaryIntrinsic()6302 if (Call->hasAllowReassoc() && in simplifyUnaryIntrinsic()6308 if (Call->hasAllowReassoc() && in simplifyUnaryIntrinsic()6314 if (Call->hasAllowReassoc() && in simplifyUnaryIntrinsic()6320 if (Call->hasAllowReassoc() && in simplifyUnaryIntrinsic()6329 if (Call->hasAllowReassoc() && in simplifyUnaryIntrinsic()
1361 if (FP->hasNoSignedZeros() || FP->hasAllowReassoc() || in ConstantFoldFPInstOperands()
284 bool hasAllowReassoc() const {
600 bool hasAllowReassoc() const LLVM_READONLY;
78 return I && I->hasAllowReassoc() && SubPattern.match(I); in match()
282 [&Inst] { Inst.setHasAllowReassoc(!Inst.hasAllowReassoc()); }); in mutate()
2245 if (ExpoF->isNegative() && (!Pow->hasApproxFunc() && !Pow->hasAllowReassoc())) in replacePowWithSqrt()2635 if (!CI->hasAllowReassoc()) in mergeSqrtToExp()2640 if (!Arg || !Arg->hasAllowReassoc() || !Arg->hasOneUse()) in mergeSqrtToExp()
158 return I->hasAllowReassoc() && I->hasNoSignedZeros(); in hasFPAssociativeFlags()
2683 if (I->getOpcode() == FPOpcode && I->hasAllowReassoc() && in isReassociableOp()
420 setAllowReassociation(FPMO.hasAllowReassoc());
752 if (FPMO->hasAllowReassoc()) in getOptimizationFlags()
2475 if (!CI.hasAllowReassoc()) { in translateKnownIntrinsic()
1675 if (FPMO->hasAllowReassoc()) in getOptimizationFlags()