Return the cost of keeping values of the given types alive over a call.

Synopsis

Declared in <llvm/Analysis/TargetTransformInfo.h>

InstructionCost
getCostOfKeepingLiveOverCall(ArrayRef<Type*> Tys) const;

Description

Some types may require the use of register classes that do not have any callee‐saved registers, so would require a spill and fill.

Return Value

The cost of keeping values of the given types alive over a call.

Parameters

Name

Description

Tys

Types that must remain live across the callsite.

Created with MrDocs