Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h272 bool hasAllowReciprocal() const { in hasAllowReciprocal() function
H A DInstruction.h577 bool hasAllowReciprocal() const LLVM_READONLY;
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp519 bool Instruction::hasAllowReciprocal() const { in hasAllowReciprocal() function in Instruction
521 return cast<FPMathOperator>(this)->hasAllowReciprocal(); in hasAllowReciprocal()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp1614 if (!(C->hasExactInverseFP() || (I.hasAllowReciprocal() && C->isNormalFP()))) in foldFDivConstantDivisor()
1643 if (!I.hasAllowReassoc() || !I.hasAllowReciprocal()) in foldFDivConstantDividend()
1671 !I.hasAllowReciprocal()) in foldFDivPowDivisor()
1744 if (I.hasAllowReassoc() && I.hasAllowReciprocal()) { in visitFDiv()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp287 [&Inst] { Inst.setHasAllowReciprocal(!Inst.hasAllowReciprocal()); }); in mutate()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp615 if (getFlags().hasAllowReciprocal()) in print_details()
H A DInstrEmitter.cpp1052 if (Flags.hasAllowReciprocal()) in EmitMachineNode()
H A DDAGCombiner.cpp16944 if (LegalDAG || (!UnsafeMath && !Flags.hasAllowReciprocal())) in combineRepeatedFPDivisors()
16981 if (UnsafeMath || U->getFlags().hasAllowReciprocal()) in combineRepeatedFPDivisors()
17038 if (Options.UnsafeFPMath || Flags.hasAllowReciprocal()) { in visitFDIV()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h417 setAllowReciprocal(FPMO.hasAllowReciprocal());
448 bool hasAllowReciprocal() const { return AllowReciprocal; }
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLICM.cpp919 if (I.getOpcode() == Instruction::FDiv && I.hasAllowReciprocal() && in hoistRegion()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp761 if (FPMO->hasAllowReciprocal()) in getOptimizationFlags()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1591 if (FPMO->hasAllowReciprocal()) in getOptimizationFlags()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp10299 if (!AllowInaccurateRcp && (VT != MVT::f16 || !Flags.hasAllowReciprocal())) in lowerFastUnsafeFDIV()