MLIR
20.0.0git
|
Public Member Functions | |
Impl (Inliner &inliner) | |
LogicalResult | inlineSCC (InlinerInterfaceImpl &inlinerIface, CGUseList &useList, CallGraphSCC ¤tSCC, MLIRContext *context) |
Attempt to inline calls within the given scc, and run simplifications, until a fixed point is reached. More... | |
Definition at line 425 of file Inliner.cpp.
|
inline |
Definition at line 427 of file Inliner.cpp.
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::InlinerConfig::getMaxInliningIterations().