Home
last modified time | relevance | path

Searched refs:fmf (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Conversion/ComplexToLLVM/
H A DComplexToLLVM.cpp70 auto fmf = LLVM::FMFAttr::get(op.getContext(), {}); in matchAndRewrite() local
73 rewriter.create<LLVM::FMulOp>(loc, imag, imag, fmf), fmf); in matchAndRewrite()
178 auto fmf = LLVM::FMFAttr::get(op.getContext(), {}); in matchAndRewrite() local
206 auto fmf = LLVM::FMFAttr::get(op.getContext(), {}); in matchAndRewrite() local
214 rewriter.create<LLVM::FMulOp>(loc, rhsIm, rhsIm, fmf), fmf); in matchAndRewrite()
218 rewriter.create<LLVM::FMulOp>(loc, lhsIm, rhsIm, fmf), fmf); in matchAndRewrite()
222 rewriter.create<LLVM::FMulOp>(loc, lhsRe, rhsIm, fmf), fmf); in matchAndRewrite()
251 auto fmf = LLVM::FMFAttr::get(op.getContext(), {}); in matchAndRewrite() local
259 rewriter.create<LLVM::FMulOp>(loc, rhsIm, lhsIm, fmf), fmf); in matchAndRewrite()
263 rewriter.create<LLVM::FMulOp>(loc, lhsRe, rhsIm, fmf), fmf); in matchAndRewrite()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/AMDGPU/
H A Dfma_legacy.ll14 ; Simplify to +0.0 + z, preserving fmf.
62 ; Combine to fma because the constant is finite and non-zero, preserving fmf.
H A Dfmul_legacy.ll32 ; Combine to fmul because the constant is finite and non-zero, preserving fmf.
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/
H A DLLVMToLLVMIRTranslation.cpp163 auto fmf = op.getFastmathFlags(); in getFastmathFlags() local
165 if (bitEnumContains(fmf, it.first)) in getFastmathFlags()
266 if (auto fmf = dyn_cast<FastmathFlagsInterface>(opInst)) in convertOperationImpl() local
267 builder.setFastMathFlags(getFastmathFlags(fmf)); in convertOperationImpl()
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dfneg-fabs.ll6 ; One negative test with no fmf
84 ; One negative test with no fmf
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dvecreduce-fmul-legalization-strict.ll4 ; Same as vecreduce-fmul-legalization.ll, but without fmf.
H A Dselect_fmf.ll4 ; This test provides fmf coverage for DAG combining of selects
H A Dvecreduce-fadd-legalization-strict.ll4 ; Same as vecreduce-fadd-legalization.ll, but without fmf.