LLVM  14.0.0git
Public Member Functions | List of all members
llvm::CostBenefitPair Class Reference

#include "llvm/Analysis/InlineCost.h"

Public Member Functions

 CostBenefitPair (APInt Cost, APInt Benefit)
 
const APIntgetCost () const
 
const APIntgetBenefit () const
 

Detailed Description

Definition at line 59 of file InlineCost.h.

Constructor & Destructor Documentation

◆ CostBenefitPair()

llvm::CostBenefitPair::CostBenefitPair ( APInt  Cost,
APInt  Benefit 
)
inline

Definition at line 61 of file InlineCost.h.

Member Function Documentation

◆ getBenefit()

const APInt& llvm::CostBenefitPair::getBenefit ( ) const
inline

Definition at line 65 of file InlineCost.h.

◆ getCost()

const APInt& llvm::CostBenefitPair::getCost ( ) const
inline

Definition at line 63 of file InlineCost.h.


The documentation for this class was generated from the following file: