MLIR  20.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 26 of file Inliner.h.

Member Typedef Documentation

◆ DefaultPipelineTy

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

Definition at line 28 of file Inliner.h.

◆ OpPipelinesTy

Definition at line 29 of file Inliner.h.

Constructor & Destructor Documentation

◆ InlinerConfig() [1/2]

mlir::InlinerConfig::InlinerConfig ( )
default

◆ InlinerConfig() [2/2]

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

Definition at line 32 of file Inliner.h.

Member Function Documentation

◆ getDefaultPipeline()

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

Definition at line 37 of file Inliner.h.

◆ getMaxInliningIterations()

unsigned mlir::InlinerConfig::getMaxInliningIterations ( ) const
inline

Definition at line 41 of file Inliner.h.

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

◆ getOpPipelines()

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

Definition at line 40 of file Inliner.h.

◆ setDefaultPipeline()

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

Definition at line 42 of file Inliner.h.

◆ setMaxInliningIterations()

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

Definition at line 48 of file Inliner.h.

References max().

◆ setOpPipelines()

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

Definition at line 45 of file Inliner.h.


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