Home
last modified time | relevance | path

Searched refs:hasAllowReciprocal (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DOperator.h74 bool hasAllowReciprocal() const { in hasAllowReciprocal() function
75 return cast<llvm::FPMathOperator>(Val)->hasAllowReciprocal(); in hasAllowReciprocal()
H A DInstruction.h279 bool hasAllowReciprocal() const { in hasAllowReciprocal() function
280 return cast<llvm::Instruction>(Val)->hasAllowReciprocal(); in hasAllowReciprocal()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp746 if (!X->hasAllowReassoc() || !X->hasAllowReciprocal() || !X->hasNoInfs()) in isFSqrtDivToFMulLegal()
1919 if (!(C->hasExactInverseFP() || (I.hasAllowReciprocal() && C->isNormalFP()))) in foldFDivConstantDivisor()
1948 if (!I.hasAllowReassoc() || !I.hasAllowReciprocal()) in foldFDivConstantDividend()
1976 !I.hasAllowReciprocal()) in foldFDivPowDivisor()
2020 if (!I.hasAllowReassoc() || !I.hasAllowReciprocal()) in foldFDivSqrtDivisor()
2025 !II->hasAllowReassoc() || !II->hasAllowReciprocal()) in foldFDivSqrtDivisor()
2034 if (!DivOp->hasAllowReassoc() || !I.hasAllowReciprocal() || in foldFDivSqrtDivisor()
2163 if (I.hasAllowReassoc() && I.hasAllowReciprocal()) { in visitFDiv()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h317 bool hasAllowReciprocal() const {
H A DInstruction.h664 LLVM_ABI bool hasAllowReciprocal() const LLVM_READONLY;
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp649 bool Instruction::hasAllowReciprocal() const { in hasAllowReciprocal() function in Instruction
651 return cast<FPMathOperator>(this)->hasAllowReciprocal(); in hasAllowReciprocal()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp321 [&Inst] { Inst.setHasAllowReciprocal(!Inst.hasAllowReciprocal()); }); in mutate()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp699 if (getFlags().hasAllowReciprocal()) in print_details()
H A DInstrEmitter.cpp1078 if (Flags.hasAllowReciprocal()) in EmitMachineNode()
H A DDAGCombiner.cpp16847 SafeFlags.setAllowReciprocal(SrcFlags.hasAllowReciprocal()); in visitFREEZE()
18246 if (LegalDAG || (!UnsafeMath && !Flags.hasAllowReciprocal())) in combineRepeatedFPDivisors()
18283 if (UnsafeMath || U->getFlags().hasAllowReciprocal()) in combineRepeatedFPDivisors()
18350 (st == APFloat::opInexact && Flags.hasAllowReciprocal())) && in visitFDIV()
18361 if (Flags.hasAllowReciprocal()) { in visitFDIV()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h439 setAllowReciprocal(FPMO.hasAllowReciprocal());
472 bool hasAllowReciprocal() const { return Flags & AllowReciprocal; }
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DInstruction.cpp243 .emplaceIfTracking<GenericSetter<&Instruction::hasAllowReciprocal, in setHasAllowReciprocal()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLICM.cpp931 if (I.getOpcode() == Instruction::FDiv && I.hasAllowReciprocal() && in hoistRegion()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp767 if (FPMO->hasAllowReciprocal()) in getOptimizationFlags()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1456 FP->hasAllowContract() || FP->hasAllowReciprocal()) in ConstantFoldFPInstOperands()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1751 if (FPMO->hasAllowReciprocal()) in getOptimizationFlags()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp11145 if (!AllowInaccurateRcp && (VT != MVT::f16 || !Flags.hasAllowReciprocal())) in lowerFastUnsafeFDIV()