Pair of size cost and estimated cycle savings from cost‐benefit analysis.

Synopsis

Declared in <llvm/Analysis/InlineCost.h>

class CostBenefitPair;

Member Functions

Name

Description

CostBenefitPair [constructor]

Construct a cost‐benefit pair from the given size and savings.

getBenefit

Return the estimated cycle savings from inlining.

getCost

Return the estimated size cost of inlining.

Created with MrDocs