LLVM  4.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 <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 }
 

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 36 of file ModuleSummaryIndex.h.

Member Enumeration Documentation

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

Definition at line 37 of file ModuleSummaryIndex.h.

Constructor & Destructor Documentation

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

Definition at line 41 of file ModuleSummaryIndex.h.

Member Function Documentation

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

Definition at line 43 of file ModuleSummaryIndex.h.

References Hotness.

Member Data Documentation

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

Definition at line 38 of file ModuleSummaryIndex.h.

Referenced by updateHotness().


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