LLVM 19.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 66 of file InlineCost.h.

Constructor & Destructor Documentation

◆ CostBenefitPair()

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

Definition at line 68 of file InlineCost.h.

Member Function Documentation

◆ getBenefit()

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

Definition at line 73 of file InlineCost.h.

◆ getCost()

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

Definition at line 71 of file InlineCost.h.


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