Check if it is mechanically possible to inline the function Callee, based on the contents of the function.
Synopsis
Declared in <llvm/Analysis/InlineCost.h>
InlineResult
isInlineViable(Function& Callee);
Description
See also CanInlineCallSite as an additional precondition necessary to perform a valid inline in a particular use context.
Return Value
Success if Callee is mechanically inlinable; otherwise failure with a reason.
Parameters
Name |
Description |
Callee |
Function whose body is checked for mechanical inlinability. |
Created with MrDocs