Estimate the cost of spilling a register from the class.
Declared in <llvm/Analysis/TargetTransformInfoImpl.h>
virtual
InstructionCost
getRegisterClassSpillCost(
unsigned int ClassID,
TTI::TargetCostKind CostKind) const;
The cost of spilling a register in the given class to the stack.
| Name | Description |
|---|---|
| ClassID | Register class identifier. |
| CostKind | Kind of cost to compute. |