MLIR  19.0.0git
Public Member Functions | List of all members
mlir::Inliner::Impl Class Reference

Public Member Functions

 Impl (Inliner &inliner)
 
LogicalResult inlineSCC (InlinerInterfaceImpl &inlinerIface, CGUseList &useList, CallGraphSCC &currentSCC, MLIRContext *context)
 Attempt to inline calls within the given scc, and run simplifications, until a fixed point is reached. More...
 

Detailed Description

Definition at line 425 of file Inliner.cpp.

Constructor & Destructor Documentation

◆ Impl()

mlir::Inliner::Impl::Impl ( Inliner inliner)
inline

Definition at line 427 of file Inliner.cpp.

Member Function Documentation

◆ inlineSCC()

LogicalResult mlir::Inliner::Impl::inlineSCC ( InlinerInterfaceImpl &  inlinerIface,
CGUseList &  useList,
CallGraphSCC &  currentSCC,
MLIRContext context 
)

Attempt to inline calls within the given scc, and run simplifications, until a fixed point is reached.

This allows for the inlining of newly devirtualized calls. Returns failure if there was a fatal error during inlining.

Definition at line 469 of file Inliner.cpp.

References mlir::failed(), mlir::failure(), mlir::InlinerConfig::getMaxInliningIterations(), and mlir::success().


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