LLVM  14.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::InlineSizePriority Class Reference

#include "llvm/Analysis/InlineOrder.h"

Collaboration diagram for llvm::InlineSizePriority:
Collaboration graph

Public Member Functions

 InlineSizePriority (int Size)

Static Public Member Functions

static bool isMoreDesirable (const InlineSizePriority &S1, const InlineSizePriority &S2)
static InlineSizePriority evaluate (CallBase *CB)

Public Attributes

int Size

Detailed Description

Definition at line 75 of file InlineOrder.h.

Constructor & Destructor Documentation

◆ InlineSizePriority()

llvm::InlineSizePriority::InlineSizePriority ( int  Size)

Definition at line 77 of file InlineOrder.h.

Referenced by evaluate().

Member Function Documentation

◆ evaluate()

static InlineSizePriority llvm::InlineSizePriority::evaluate ( CallBase CB)

Definition at line 84 of file InlineOrder.h.

References Callee, llvm::CallBase::getCalledFunction(), and InlineSizePriority().

◆ isMoreDesirable()

static bool llvm::InlineSizePriority::isMoreDesirable ( const InlineSizePriority S1,
const InlineSizePriority S2 

Definition at line 79 of file InlineOrder.h.

References Size.

Member Data Documentation

◆ Size

int llvm::InlineSizePriority::Size

Definition at line 89 of file InlineOrder.h.

Referenced by isMoreDesirable().

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