Return the call penalty used when evaluating inlining of a call.
Declared in <llvm/Analysis/TargetTransformInfoImpl.h>
virtual
unsigned int
getInlineCallPenalty(
Function const* F,
CallBase const& Call,
unsigned int DefaultCallPenalty) const;
A penalty for invoking call Call from function F.
| Name | Description |
|---|---|
| F | Function being queried. |
| Call | Call being evaluated for inlining. |
| DefaultCallPenalty | Default call penalty before target adjustment. |