(.js)
laraImport("clava.code.Inliner");
(.lara)
import clava.code.Inliner;
Classes:
new Inliner()
checkInline($exprStmt)
Check if the given $exprStmt can be inlined or not. If it can, returns an object with information important for inlining,
otherwise returns undefined.
A call can be inline if the following rules apply:
- The exprStmt is an isolated call, or an assignment with a single call in the right-hand side.
- The call has a definition/implementation available.
- The call is not a function that is part of the system headers.
constructor(options)
inline($exprStmt)
inlineFunctionTree($function, _visited)