MLIR  19.0.0git
Public Types | Public Member Functions | List of all members
mlir::InlinerConfig Class Reference

#include "mlir/Transforms/Inliner.h"

Public Types

using DefaultPipelineTy = std::function< void(OpPassManager &)>
using OpPipelinesTy = llvm::StringMap< OpPassManager >

Public Member Functions

 InlinerConfig ()=default
 InlinerConfig (DefaultPipelineTy defaultPipeline, unsigned maxInliningIterations)
const DefaultPipelineTygetDefaultPipeline () const
const OpPipelinesTygetOpPipelines () const
unsigned getMaxInliningIterations () const
void setDefaultPipeline (DefaultPipelineTy pipeline)
void setOpPipelines (OpPipelinesTy pipelines)
void setMaxInliningIterations (unsigned max)

Detailed Description

Definition at line 27 of file Inliner.h.

Member Typedef Documentation

◆ DefaultPipelineTy

using mlir::InlinerConfig::DefaultPipelineTy = std::function<void(OpPassManager &)>

Definition at line 29 of file Inliner.h.

◆ OpPipelinesTy

Definition at line 30 of file Inliner.h.

Constructor & Destructor Documentation

◆ InlinerConfig() [1/2]

mlir::InlinerConfig::InlinerConfig ( )

◆ InlinerConfig() [2/2]

mlir::InlinerConfig::InlinerConfig ( DefaultPipelineTy  defaultPipeline,
unsigned  maxInliningIterations 

Definition at line 33 of file Inliner.h.

Member Function Documentation

◆ getDefaultPipeline()

const DefaultPipelineTy& mlir::InlinerConfig::getDefaultPipeline ( ) const

Definition at line 38 of file Inliner.h.

◆ getMaxInliningIterations()

unsigned mlir::InlinerConfig::getMaxInliningIterations ( ) const

Definition at line 42 of file Inliner.h.

Referenced by mlir::Inliner::Impl::inlineSCC().

◆ getOpPipelines()

const OpPipelinesTy& mlir::InlinerConfig::getOpPipelines ( ) const

Definition at line 41 of file Inliner.h.

◆ setDefaultPipeline()

void mlir::InlinerConfig::setDefaultPipeline ( DefaultPipelineTy  pipeline)

Definition at line 43 of file Inliner.h.

◆ setMaxInliningIterations()

void mlir::InlinerConfig::setMaxInliningIterations ( unsigned  max)

Definition at line 49 of file Inliner.h.

References max().

◆ setOpPipelines()

void mlir::InlinerConfig::setOpPipelines ( OpPipelinesTy  pipelines)

Definition at line 46 of file Inliner.h.

The documentation for this class was generated from the following file: