Home
last modified time | relevance | path

Searched refs:hasAllowReassoc (Results 1 – 19 of 19) sorted by relevance

/freebsd-head/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
HDInstCombineMulDivRem.cpp645 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 …]
HDInstCombineAddSub.cpp428 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()
HDInstCombineCalls.cpp3561 II->hasAllowReassoc(); in visitCallInst()
/freebsd-head/contrib/llvm-project/llvm/include/llvm/Analysis/
HDIVDescriptors.h361 !InductionBinOp->hasAllowReassoc()) in getExactFPMathInst()
/freebsd-head/contrib/llvm-project/llvm/lib/IR/
HDInstruction.cpp575 bool Instruction::hasAllowReassoc() const { in hasAllowReassoc() function in Instruction
577 return cast<FPMathOperator>(this)->hasAllowReassoc(); in hasAllowReassoc()
1196 return cast<FPMathOperator>(this)->hasAllowReassoc() && in isAssociative()
/freebsd-head/contrib/llvm-project/llvm/lib/Analysis/
HDIVDescriptors.cpp789 I->hasAllowReassoc() ? nullptr : I); in isRecurrenceInstr()
793 I->hasAllowReassoc() ? nullptr : I); in isRecurrenceInstr()
819 I->hasAllowReassoc() ? nullptr : I); in isRecurrenceInstr()
HDInstructionSimplify.cpp6296 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()
HDConstantFolding.cpp1361 if (FP->hasNoSignedZeros() || FP->hasAllowReassoc() || in ConstantFoldFPInstOperands()
/freebsd-head/contrib/llvm-project/llvm/include/llvm/IR/
HDOperator.h284 bool hasAllowReassoc() const {
HDInstruction.h600 bool hasAllowReassoc() const LLVM_READONLY;
HDPatternMatch.h78 return I && I->hasAllowReassoc() && SubPattern.match(I); in match()
/freebsd-head/contrib/llvm-project/llvm/lib/FuzzMutate/
HDIRMutator.cpp282 [&Inst] { Inst.setHasAllowReassoc(!Inst.hasAllowReassoc()); }); in mutate()
/freebsd-head/contrib/llvm-project/llvm/lib/Transforms/Utils/
HDSimplifyLibCalls.cpp2245 if (ExpoF->isNegative() && (!Pow->hasApproxFunc() && !Pow->hasAllowReassoc())) in replacePowWithSqrt()
2635 if (!CI->hasAllowReassoc()) in mergeSqrtToExp()
2640 if (!Arg || !Arg->hasAllowReassoc() || !Arg->hasOneUse()) in mergeSqrtToExp()
/freebsd-head/contrib/llvm-project/llvm/lib/Transforms/Scalar/
HDReassociate.cpp158 return I->hasAllowReassoc() && I->hasNoSignedZeros(); in hasFPAssociativeFlags()
HDLICM.cpp2683 if (I->getOpcode() == FPOpcode && I->hasAllowReassoc() && in isReassociableOp()
/freebsd-head/contrib/llvm-project/llvm/include/llvm/CodeGen/
HDSelectionDAGNodes.h420 setAllowReassociation(FPMO.hasAllowReassoc());
/freebsd-head/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
HDDXILBitcodeWriter.cpp752 if (FPMO->hasAllowReassoc()) in getOptimizationFlags()
/freebsd-head/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
HDIRTranslator.cpp2475 if (!CI.hasAllowReassoc()) { in translateKnownIntrinsic()
/freebsd-head/contrib/llvm-project/llvm/lib/Bitcode/Writer/
HDBitcodeWriter.cpp1675 if (FPMO->hasAllowReassoc()) in getOptimizationFlags()