Searched refs:HotnessType (Results 1 – 8 of 8) sorted by relevance
121 static CalleeInfo::HotnessType getHotness(uint64_t ProfileCount, in getHotness()124 return CalleeInfo::HotnessType::Unknown; in getHotness()126 return CalleeInfo::HotnessType::Hot; in getHotness()128 return CalleeInfo::HotnessType::Cold; in getHotness()129 return CalleeInfo::HotnessType::None; in getHotness()294 : CalleeInfo::HotnessType::Unknown; in computeFunctionSummary()296 Hotness = CalleeInfo::HotnessType::Cold; in computeFunctionSummary()307 if (BFI != nullptr && Hotness == CalleeInfo::HotnessType::Unknown) { in computeFunctionSummary()348 ? CalleeInfo::HotnessType::Cold in computeFunctionSummary()349 : CalleeInfo::HotnessType::Critical); in computeFunctionSummary()
54 enum class HotnessType : uint8_t { enum73 : Hotness(static_cast<uint32_t>(HotnessType::Unknown)), RelBlockFreq(0) {} in CalleeInfo()74 explicit CalleeInfo(HotnessType Hotness, uint64_t RelBF) in CalleeInfo()77 void updateHotness(const HotnessType OtherHotness) { in updateHotness()81 HotnessType getHotness() const { return HotnessType(Hotness); } in getHotness()
305 auto GetBonusMultiplier = [](CalleeInfo::HotnessType Hotness) -> float { in computeImportForFunction()306 if (Hotness == CalleeInfo::HotnessType::Hot) in computeImportForFunction()308 if (Hotness == CalleeInfo::HotnessType::Cold) in computeImportForFunction()310 if (Hotness == CalleeInfo::HotnessType::Critical) in computeImportForFunction()408 Edge.second.getHotness() == CalleeInfo::HotnessType::Hot; in computeImportForFunction()
2843 static const char *getHotnessName(CalleeInfo::HotnessType HT) { in getHotnessName()2845 case CalleeInfo::HotnessType::Unknown: in getHotnessName()2847 case CalleeInfo::HotnessType::Cold: in getHotnessName()2849 case CalleeInfo::HotnessType::None: in getHotnessName()2851 case CalleeInfo::HotnessType::Hot: in getHotnessName()2853 case CalleeInfo::HotnessType::Critical: in getHotnessName()2878 if (Call.second.getHotness() != CalleeInfo::HotnessType::Unknown) in printFunctionSummary()
352 bool ParseHotness(CalleeInfo::HotnessType &Hotness);
7742 CalleeInfo::HotnessType Hotness = CalleeInfo::HotnessType::Unknown; in ParseOptionalCalls()7787 bool LLParser::ParseHotness(CalleeInfo::HotnessType &Hotness) { in ParseHotness()7790 Hotness = CalleeInfo::HotnessType::Unknown; in ParseHotness()7793 Hotness = CalleeInfo::HotnessType::Cold; in ParseHotness()7796 Hotness = CalleeInfo::HotnessType::None; in ParseHotness()7799 Hotness = CalleeInfo::HotnessType::Hot; in ParseHotness()7802 Hotness = CalleeInfo::HotnessType::Critical; in ParseHotness()
5097 CalleeInfo::HotnessType Hotness = CalleeInfo::HotnessType::Unknown; in makeCallList()5105 Hotness = static_cast<CalleeInfo::HotnessType>(Record[++I]); in makeCallList()
3790 EI.second.getHotness() != CalleeInfo::HotnessType::Unknown; in writeCombinedGlobalValueSummary()