MLIR 22.0.0git
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.

Detailed Description

Definition at line 422 of file Inliner.cpp.

Constructor & Destructor Documentation

◆ Impl()

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

Definition at line 424 of file Inliner.cpp.

References mlir::Inliner::Inliner().

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 466 of file Inliner.cpp.

References success().


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