|
LLVM 24.0.0git
|
Class to accumulate and hold information about a callee. More...
#include "llvm/IR/ModuleSummaryIndex.h"
Public Types | |
| enum class | HotnessType : uint8_t { Unknown = 0 , Cold = 1 , None = 2 , Hot = 3 , Critical = 4 } |
Public Member Functions | |
| CalleeInfo () | |
| CalleeInfo (HotnessType Hotness, bool HasTC, bool HasIC=false) | |
| void | updateHotness (const HotnessType OtherHotness) |
| bool | hasTailCall () const |
| void | setHasTailCall (const bool HasTC) |
| bool | hasIndirectCall () const |
| void | setHasIndirectCall (const bool HasIC) |
| bool | requiresDeclImport () const |
| void | setRequiresDeclImport (const bool RI) |
| HotnessType | getHotness () const |
Public Attributes | |
| uint32_t | Hotness: 3 |
| uint32_t | HasTailCall: 1 |
| uint32_t | HasIndirectCall: 1 |
| uint32_t | RequiresDeclImport: 1 |
Class to accumulate and hold information about a callee.
Definition at line 65 of file ModuleSummaryIndex.h.
|
strong |
| Enumerator | |
|---|---|
| Unknown | |
| Cold | |
| None | |
| Hot | |
| Critical | |
Definition at line 66 of file ModuleSummaryIndex.h.
|
inline |
Definition at line 102 of file ModuleSummaryIndex.h.
References CalleeInfo(), HasIndirectCall, HasTailCall, Hotness, RequiresDeclImport, and Unknown.
Referenced by CalleeInfo().
|
inlineexplicit |
Definition at line 105 of file ModuleSummaryIndex.h.
References HasIndirectCall, HasTailCall, Hotness, and RequiresDeclImport.
|
inline |
Definition at line 125 of file ModuleSummaryIndex.h.
References Hotness.
|
inline |
Definition at line 117 of file ModuleSummaryIndex.h.
References HasIndirectCall.
|
inline |
Definition at line 113 of file ModuleSummaryIndex.h.
References HasTailCall.
|
inline |
Definition at line 121 of file ModuleSummaryIndex.h.
References RequiresDeclImport.
Definition at line 119 of file ModuleSummaryIndex.h.
References HasIndirectCall.
Definition at line 115 of file ModuleSummaryIndex.h.
References HasTailCall.
Definition at line 123 of file ModuleSummaryIndex.h.
References RequiresDeclImport.
|
inline |
Definition at line 109 of file ModuleSummaryIndex.h.
References Hotness.
| uint32_t llvm::CalleeInfo::HasIndirectCall |
Definition at line 86 of file ModuleSummaryIndex.h.
Referenced by CalleeInfo(), CalleeInfo(), getEncodedHotnessCallEdgeInfo(), hasIndirectCall(), and setHasIndirectCall().
| uint32_t llvm::CalleeInfo::HasTailCall |
Definition at line 80 of file ModuleSummaryIndex.h.
Referenced by CalleeInfo(), CalleeInfo(), getEncodedHotnessCallEdgeInfo(), hasTailCall(), and setHasTailCall().
| uint32_t llvm::CalleeInfo::Hotness |
Definition at line 76 of file ModuleSummaryIndex.h.
Referenced by CalleeInfo(), CalleeInfo(), getEncodedHotnessCallEdgeInfo(), getHotness(), and updateHotness().
| uint32_t llvm::CalleeInfo::RequiresDeclImport |
Definition at line 100 of file ModuleSummaryIndex.h.
Referenced by CalleeInfo(), CalleeInfo(), requiresDeclImport(), and setRequiresDeclImport().