lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp
void mlir::populateStdToLLVMNonMemoryConversionPatterns(
    LLVMTypeConverter &converter, OwningRewritePatternList &patterns) {
  // FIXME: this should be tablegen'ed
  // clang-format off
  patterns.insert<
      AbsFOpLowering,
      AddFOpLowering,
      AddIOpLowering,
      AndOpLowering,
      BranchOpLowering,
      CallIndirectOpLowering,
      CallOpLowering,
      CeilFOpLowering,
      CmpFOpLowering,
      CmpIOpLowering,
      CondBranchOpLowering,
      CopySignOpLowering,
      CosOpLowering,
      ConstLLVMOpLowering,
      DivFOpLowering,
      ExpOpLowering,
      LogOpLowering,
      Log10OpLowering,
      Log2OpLowering,
      FPExtLowering,
      FPTruncLowering,
      IndexCastOpLowering,
      MulFOpLowering,
      MulIOpLowering,
      NegFOpLowering,
      OrOpLowering,
      PrefetchOpLowering,
      RemFOpLowering,
      ReturnOpLowering,
      SIToFPLowering,
      SelectOpLowering,
      ShiftLeftOpLowering,
      SignExtendIOpLowering,
      SignedDivIOpLowering,
      SignedRemIOpLowering,
      SignedShiftRightOpLowering,
      SplatOpLowering,
      SplatNdOpLowering,
      SubFOpLowering,
      SubIOpLowering,
      TanhOpLowering,
      TruncateIOpLowering,
      UnsignedDivIOpLowering,
      UnsignedRemIOpLowering,
      UnsignedShiftRightOpLowering,
      XOrOpLowering,
      ZeroExtendIOpLowering>(*converter.getDialect(), converter);
  // clang-format on
}
/// Collect a set of patterns to convert from the Standard dialect to LLVM.
Collect a set of patterns to convert from the Standard dialect to LLVM.
Collect a set of patterns to convert from the Standard dialect to LLVM .
void mlir::populateStdToLLVMNonMemoryConversionPatterns(
    LLVMTypeConverter &converter, OwningRewritePatternList &patterns) {
  patterns.insert<
      AbsFOpLowering,
      AddFOpLowering,
      AddIOpLowering,
      AndOpLowering,
      BranchOpLowering,
      CallIndirectOpLowering,
      CallOpLowering,
      CeilFOpLowering,
      CmpFOpLowering,
      CmpIOpLowering,
      CondBranchOpLowering,
      CopySignOpLowering,
      CosOpLowering,
      ConstLLVMOpLowering,
      DivFOpLowering,
      ExpOpLowering,
      LogOpLowering,
      Log10OpLowering,
      Log2OpLowering,
      FPExtLowering,
      FPTruncLowering,
      IndexCastOpLowering,
      MulFOpLowering,
      MulIOpLowering,
      NegFOpLowering,
      OrOpLowering,
      PrefetchOpLowering,
      RemFOpLowering,
      ReturnOpLowering,
      SIToFPLowering,
      SelectOpLowering,
      ShiftLeftOpLowering,
      SignExtendIOpLowering,
      SignedDivIOpLowering,
      SignedRemIOpLowering,
      SignedShiftRightOpLowering,
      SplatOpLowering,
      SplatNdOpLowering,
      SubFOpLowering,
      SubIOpLowering,
      TanhOpLowering,
      TruncateIOpLowering,
      UnsignedDivIOpLowering,
      UnsignedRemIOpLowering,
      UnsignedShiftRightOpLowering,
      XOrOpLowering,
      ZeroExtendIOpLowering>(*converter.getDialect(), converter);
}
void mlir :: populateStdToLLVMNonMemoryConversionPatterns ( LLVMTypeConverter & converter , OwningRewritePatternList & patterns ) { patterns . insert < AbsFOpLowering , AddFOpLowering , AddIOpLowering , AndOpLowering , BranchOpLowering , CallIndirectOpLowering , CallOpLowering , CeilFOpLowering , CmpFOpLowering , CmpIOpLowering , CondBranchOpLowering , CopySignOpLowering , CosOpLowering , ConstLLVMOpLowering , DivFOpLowering , ExpOpLowering , LogOpLowering , Log10OpLowering , Log2OpLowering , FPExtLowering , FPTruncLowering , IndexCastOpLowering , MulFOpLowering , MulIOpLowering , NegFOpLowering , OrOpLowering , PrefetchOpLowering , RemFOpLowering , ReturnOpLowering , SIToFPLowering , SelectOpLowering , ShiftLeftOpLowering , SignExtendIOpLowering , SignedDivIOpLowering , SignedRemIOpLowering , SignedShiftRightOpLowering , SplatOpLowering , SplatNdOpLowering , SubFOpLowering , SubIOpLowering , TanhOpLowering , TruncateIOpLowering , UnsignedDivIOpLowering , UnsignedRemIOpLowering , UnsignedShiftRightOpLowering , XOrOpLowering , ZeroExtendIOpLowering > ( * converter . getDialect ( ) , converter ) ; }
Collect a set of patterns to convert from the Standard dialect to LLVM.
Collect a set of patterns to convert from the Standard dialect to LLVM .
// FIXME: this should be tablegen'ed // clang-format off // clang-format on