MLIR  21.0.0git
Functions
mlir::complex Namespace Reference

Functions

void convertDivToLLVMUsingAlgebraic (ConversionPatternRewriter &rewriter, Location loc, Value lhsRe, Value lhsIm, Value rhsRe, Value rhsIm, LLVM::FastmathFlagsAttr fmf, Value *resultRe, Value *resultIm)
 convert a complex division to the LLVM dialect using algebraic method More...
 
void convertDivToStandardUsingAlgebraic (ConversionPatternRewriter &rewriter, Location loc, Value lhsRe, Value lhsIm, Value rhsRe, Value rhsIm, arith::FastMathFlagsAttr fmf, Value *resultRe, Value *resultIm)
 convert a complex division to the arith/math dialects using algebraic method More...
 
void convertDivToLLVMUsingRangeReduction (ConversionPatternRewriter &rewriter, Location loc, Value lhsRe, Value lhsIm, Value rhsRe, Value rhsIm, LLVM::FastmathFlagsAttr fmf, Value *resultRe, Value *resultIm)
 convert a complex division to the LLVM dialect using Smith's method More...
 
void convertDivToStandardUsingRangeReduction (ConversionPatternRewriter &rewriter, Location loc, Value lhsRe, Value lhsIm, Value rhsRe, Value rhsIm, arith::FastMathFlagsAttr fmf, Value *resultRe, Value *resultIm)
 convert a complex division to the arith/math dialects using Smith's method More...
 

Function Documentation

◆ convertDivToLLVMUsingAlgebraic()

void mlir::complex::convertDivToLLVMUsingAlgebraic ( ConversionPatternRewriter rewriter,
Location  loc,
Value  lhsRe,
Value  lhsIm,
Value  rhsRe,
Value  rhsIm,
LLVM::FastmathFlagsAttr  fmf,
Value resultRe,
Value resultIm 
)

convert a complex division to the LLVM dialect using algebraic method

Definition at line 22 of file DivisionConverter.cpp.

References mlir::OpBuilder::create().

◆ convertDivToLLVMUsingRangeReduction()

void mlir::complex::convertDivToLLVMUsingRangeReduction ( ConversionPatternRewriter rewriter,
Location  loc,
Value  lhsRe,
Value  lhsIm,
Value  rhsRe,
Value  rhsIm,
LLVM::FastmathFlagsAttr  fmf,
Value resultRe,
Value resultIm 
)

convert a complex division to the LLVM dialect using Smith's method

Definition at line 90 of file DivisionConverter.cpp.

References mlir::OpBuilder::create(), mlir::Builder::getFloatAttr(), mlir::Value::getType(), and mlir::Builder::getZeroAttr().

◆ convertDivToStandardUsingAlgebraic()

void mlir::complex::convertDivToStandardUsingAlgebraic ( ConversionPatternRewriter rewriter,
Location  loc,
Value  lhsRe,
Value  lhsIm,
Value  rhsRe,
Value  rhsIm,
arith::FastMathFlagsAttr  fmf,
Value resultRe,
Value resultIm 
)

convert a complex division to the arith/math dialects using algebraic method

Definition at line 42 of file DivisionConverter.cpp.

References mlir::OpBuilder::create().

◆ convertDivToStandardUsingRangeReduction()

void mlir::complex::convertDivToStandardUsingRangeReduction ( ConversionPatternRewriter rewriter,
Location  loc,
Value  lhsRe,
Value  lhsIm,
Value  rhsRe,
Value  rhsIm,
arith::FastMathFlagsAttr  fmf,
Value resultRe,
Value resultIm 
)

convert a complex division to the arith/math dialects using Smith's method

Definition at line 274 of file DivisionConverter.cpp.

References mlir::OpBuilder::create(), mlir::Builder::getFloatAttr(), mlir::Value::getType(), and mlir::Builder::getZeroAttr().