Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp1751 if (!(C->hasExactInverseFP() || (I.hasAllowReciprocal() && C->isNormalFP()))) in foldFDivConstantDivisor()
1780 if (!I.hasAllowReassoc() || !I.hasAllowReciprocal()) in foldFDivConstantDividend()
1808 !I.hasAllowReciprocal()) 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()
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h304 bool hasAllowReciprocal() const {
H A DInstruction.h612 bool hasAllowReciprocal() const LLVM_READONLY;
/src/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp595 bool Instruction::hasAllowReciprocal() const { in hasAllowReciprocal() function in Instruction
597 return cast<FPMathOperator>(this)->hasAllowReciprocal(); in hasAllowReciprocal()
/src/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp288 [&Inst] { Inst.setHasAllowReciprocal(!Inst.hasAllowReciprocal()); }); in mutate()
/src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp654 if (getFlags().hasAllowReciprocal()) in print_details()
H A DInstrEmitter.cpp1079 if (Flags.hasAllowReciprocal()) in EmitMachineNode()
H A DDAGCombiner.cpp17245 if (LegalDAG || (!UnsafeMath && !Flags.hasAllowReciprocal())) in combineRepeatedFPDivisors()
17282 if (UnsafeMath || U->getFlags().hasAllowReciprocal()) in combineRepeatedFPDivisors()
17350 (Options.UnsafeFPMath || Flags.hasAllowReciprocal()))) && in visitFDIV()
17361 if (Options.UnsafeFPMath || Flags.hasAllowReciprocal()) { in visitFDIV()
/src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h417 setAllowReciprocal(FPMO.hasAllowReciprocal());
448 bool hasAllowReciprocal() const { return AllowReciprocal; }
/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLICM.cpp928 if (I.getOpcode() == Instruction::FDiv && I.hasAllowReciprocal() && in hoistRegion()
/src/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1362 FP->hasAllowContract() || FP->hasAllowReciprocal()) in ConstantFoldFPInstOperands()
/src/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp760 if (FPMO->hasAllowReciprocal()) in getOptimizationFlags()
/src/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1683 if (FPMO->hasAllowReciprocal()) in getOptimizationFlags()
/src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp10488 if (!AllowInaccurateRcp && (VT != MVT::f16 || !Flags.hasAllowReciprocal())) in lowerFastUnsafeFDIV()