| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Operator.h | 62 bool hasAllowReassoc() const { in hasAllowReassoc() function 63 return cast<llvm::FPMathOperator>(Val)->hasAllowReassoc(); in hasAllowReassoc()
|
| H A D | Instruction.h | 246 bool hasAllowReassoc() const { in hasAllowReassoc() function 247 return cast<llvm::Instruction>(Val)->hasAllowReassoc(); in hasAllowReassoc()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 658 if (Opcode == Instruction::FDiv && I.hasAllowReassoc() && I.hasNoNaNs()) { in foldPowiReassoc() 738 if (!FSqrt->hasAllowReassoc() || !FSqrt->hasNoNaNs() || in isFSqrtDivToFMulLegal() 746 if (!X->hasAllowReassoc() || !X->hasAllowReciprocal() || !X->hasNoInfs()) in isFSqrtDivToFMulLegal() 762 return (I->getParent() != BBr1 || !I->hasAllowReassoc()); in isFSqrtDivToFMulLegal() 772 return (I->getParent() == BBr2 && I->hasAllowReassoc()); in isFSqrtDivToFMulLegal() 1028 if (I.hasAllowReassoc()) in visitFMul() 1948 if (!I.hasAllowReassoc() || !I.hasAllowReciprocal()) in foldFDivConstantDividend() 1975 if (!II || !II->hasOneUse() || !I.hasAllowReassoc() || in foldFDivPowDivisor() 2020 if (!I.hasAllowReassoc() || !I.hasAllowReciprocal()) in foldFDivSqrtDivisor() 2025 !II->hasAllowReassoc() || !II->hasAllowReciprocal()) in foldFDivSqrtDivisor() [all …]
|
| H A D | InstCombineAddSub.cpp | 428 assert(I->hasAllowReassoc() && I->hasNoSignedZeros() && in simplify() 1070 assert(I.hasAllowReassoc() && I.hasNoSignedZeros() && "Assumption mismatch"); in foldSquareSumFP() 1947 assert(I.hasAllowReassoc() && I.hasNoSignedZeros() && in factorizeFAddFSub() 2039 if (I.hasAllowReassoc() && I.hasNoSignedZeros()) { in visitFAdd() 3166 if (I.hasAllowReassoc() && I.hasNoSignedZeros()) { in visitFSub()
|
| H A D | InstCombineCalls.cpp | 3842 II->hasAllowReassoc(); in visitCallInst()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | IVDescriptors.h | 435 !InductionBinOp->hasAllowReassoc()) in getExactFPMathInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instruction.cpp | 629 bool Instruction::hasAllowReassoc() const { in hasAllowReassoc() function in Instruction 631 return cast<FPMathOperator>(this)->hasAllowReassoc(); in hasAllowReassoc() 1271 return cast<FPMathOperator>(this)->hasAllowReassoc() && in isAssociative()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | IVDescriptors.cpp | 913 I->hasAllowReassoc() ? nullptr : I); in isRecurrenceInstr() 917 I->hasAllowReassoc() ? nullptr : I); in isRecurrenceInstr() 969 I->hasAllowReassoc() ? nullptr : I); in isRecurrenceInstr()
|
| H A D | InstructionSimplify.cpp | 6334 if (Call->hasAllowReassoc() && in simplifyUnaryIntrinsic() 6340 if (Call->hasAllowReassoc() && in simplifyUnaryIntrinsic() 6346 if (Call->hasAllowReassoc() && in simplifyUnaryIntrinsic() 6352 if (Call->hasAllowReassoc() && in simplifyUnaryIntrinsic() 6358 if (Call->hasAllowReassoc() && in simplifyUnaryIntrinsic() 6367 if (Call->hasAllowReassoc() && in simplifyUnaryIntrinsic()
|
| H A D | ConstantFolding.cpp | 1455 if (FP->hasNoSignedZeros() || FP->hasAllowReassoc() || in ConstantFoldFPInstOperands()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Operator.h | 297 bool hasAllowReassoc() const {
|
| H A D | Instruction.h | 652 LLVM_ABI bool hasAllowReassoc() const LLVM_READONLY;
|
| H A D | PatternMatch.h | 78 return I && I->hasAllowReassoc() && SubPattern.match(I); in match()
|
| /freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | IRMutator.cpp | 315 [&Inst] { Inst.setHasAllowReassoc(!Inst.hasAllowReassoc()); }); in mutate()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 2256 if (ExpoF->isNegative() && (!Pow->hasApproxFunc() && !Pow->hasAllowReassoc())) in replacePowWithSqrt() 2663 if (!CI->hasAllowReassoc()) in mergeSqrtToExp() 2668 if (!Arg || !Arg->hasAllowReassoc() || !Arg->hasOneUse()) in mergeSqrtToExp()
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Instruction.cpp | 212 .emplaceIfTracking<GenericSetter<&Instruction::hasAllowReassoc, in setHasAllowReassoc()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Reassociate.cpp | 158 return I->hasAllowReassoc() && I->hasNoSignedZeros(); in hasFPAssociativeFlags()
|
| H A D | LICM.cpp | 2727 if (I->getOpcode() == FPOpcode && I->hasAllowReassoc() && in isReassociableOp()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 442 setAllowReassociation(FPMO.hasAllowReassoc());
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILBitcodeWriter.cpp | 759 if (FPMO->hasAllowReassoc() || FPMO->hasAllowContract()) in getOptimizationFlags()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 2512 if (!CI.hasAllowReassoc()) { in translateKnownIntrinsic()
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 1743 if (FPMO->hasAllowReassoc()) in getOptimizationFlags()
|