LLVM  5.0.0
Public Types | Public Member Functions | Public Attributes | List of all members
llvm::CalleeInfo Struct Reference

Class to accumulate and hold information about a callee. More...

#include "llvm/IR/ModuleSummaryIndex.h"

Collaboration diagram for llvm::CalleeInfo:
[legend]

Public Types

enum  HotnessType : uint8_t {
  HotnessType::Unknown = 0, HotnessType::Cold = 1, HotnessType::None = 2, HotnessType::Hot = 3,
  HotnessType::Critical = 4
}
 

Public Member Functions

 CalleeInfo ()=default
 
 CalleeInfo (HotnessType Hotness)
 
void updateHotness (const HotnessType OtherHotness)
 

Public Attributes

HotnessType Hotness = HotnessType::Unknown
 

Detailed Description

Class to accumulate and hold information about a callee.

Definition at line 49 of file ModuleSummaryIndex.h.

Member Enumeration Documentation

enum llvm::CalleeInfo::HotnessType : uint8_t
strong
Enumerator
Unknown 
Cold 
None 
Hot 
Critical 

Definition at line 50 of file ModuleSummaryIndex.h.

Constructor & Destructor Documentation

llvm::CalleeInfo::CalleeInfo ( )
default
llvm::CalleeInfo::CalleeInfo ( HotnessType  Hotness)
inlineexplicit

Definition at line 60 of file ModuleSummaryIndex.h.

Member Function Documentation

void llvm::CalleeInfo::updateHotness ( const HotnessType  OtherHotness)
inline

Definition at line 62 of file ModuleSummaryIndex.h.

References Hotness, and llvm::max().

Member Data Documentation

HotnessType llvm::CalleeInfo::Hotness = HotnessType::Unknown

Definition at line 57 of file ModuleSummaryIndex.h.

Referenced by updateHotness().


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