Home
last modified time | relevance | path

Searched refs:hasApproxFunc (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DOperator.h80 bool hasApproxFunc() const { in hasApproxFunc() function
81 return cast<llvm::FPMathOperator>(Val)->hasApproxFunc(); in hasApproxFunc()
H A DInstruction.h295 bool hasApproxFunc() const { in hasApproxFunc() function
296 return cast<llvm::Instruction>(Val)->hasApproxFunc(); in hasApproxFunc()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCGenScalarMASSEntries.cpp68 return CI.hasApproxFunc(); in isCandidateSafeToLower()
H A DPPCLowerMASSVEntries.cpp116 if (!CI->hasNoInfs() || !CI->hasApproxFunc()) in handlePowSpecialCases()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h328 bool hasApproxFunc() const {
H A DInstruction.h670 LLVM_ABI bool hasApproxFunc() const LLVM_READONLY;
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp659 bool Instruction::hasApproxFunc() const { in hasApproxFunc() function in Instruction
661 return cast<FPMathOperator>(this)->hasApproxFunc(); in hasApproxFunc()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp325 [&Inst] { Inst.setHasApproxFunc(!Inst.hasApproxFunc()); }); in mutate()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp653 if (SLT == MVT::f32 && ((CxtI && CxtI->hasApproxFunc()) || in getArithmeticInstrCost()
H A DAMDGPULibCalls.cpp424 (FPOp->hasApproxFunc() && FPOp->hasNoNaNs() && FPOp->hasNoInfs()); in isUnsafeFiniteOnlyMath()
H A DAMDGPUInstCombineIntrinsic.cpp494 (SqrtOp->hasApproxFunc() || SqrtOp->getFPAccuracy() >= 1.0f)) || in canContractSqrtToRsq()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2195 if (Pow->hasApproxFunc() && Pow->hasNoNaNs() && BaseF->isFiniteNonZero() && in replacePowWithExp()
2256 if (ExpoF->isNegative() && (!Pow->hasApproxFunc() && !Pow->hasAllowReassoc())) in replacePowWithSqrt()
2309 bool AllowApprox = Pow->hasApproxFunc(); in optimizePow()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DInstruction.cpp277 .emplaceIfTracking<GenericSetter<&Instruction::hasApproxFunc, in setHasApproxFunc()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h441 setApproximateFuncs(FPMO.hasApproxFunc());
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1755 if (FPMO->hasApproxFunc()) in getOptimizationFlags()