LLVM 22.0.0git
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 67 of file InlineCost.h.

Constructor & Destructor Documentation

◆ CostBenefitPair()

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

Definition at line 69 of file InlineCost.h.

References llvm::move().

Member Function Documentation

◆ getBenefit()

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

Definition at line 74 of file InlineCost.h.

◆ getCost()

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

Definition at line 72 of file InlineCost.h.


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