| /freebsd/contrib/llvm-project/llvm/lib/Remarks/ |
| H A D | Remark.cpp | 57 if (Hotness) in print() 58 OS << "Hotness: " << Hotness; in print() 138 if (const std::optional<uint64_t> &Hotness = unwrap(Remark)->Hotness) in LLVMRemarkEntryGetHotness() local 139 return *Hotness; in LLVMRemarkEntryGetHotness()
|
| H A D | YAMLRemarkSerializer.cpp | 27 std::optional<uint64_t> Hotness, ArrayRef<Argument> Args) { in mapRemarkHeader() argument 32 io.mapOptional("Hotness", Hotness); in mapRemarkHeader() 61 Remark->FunctionName, Remark->Hotness, Remark->Args); in mapping()
|
| H A D | BitstreamRemarkParser.cpp | 121 Parser.Hotness = Record[0]; in parseRecord() 559 if (Helper.Hotness) in processRemark() 560 R.Hotness = *Helper.Hotness; in processRemark()
|
| H A D | BitstreamRemarkSerializer.cpp | 291 if (std::optional<uint64_t> Hotness = Remark.Hotness) { in emitRemarkBlock() local 294 R.push_back(*Hotness); in emitRemarkBlock()
|
| H A D | YAMLRemarkParser.cpp | 213 TheRemark.Hotness = *MaybeU; in parseRemark()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Remarks/ |
| H A D | Remark.h | 118 std::optional<uint64_t> Hotness; member 194 LHS.Hotness == RHS.Hotness && LHS.Args == RHS.Args; 203 LHS.FunctionName, LHS.Loc, LHS.Hotness, LHS.Args) < 205 RHS.FunctionName, RHS.Loc, RHS.Hotness, RHS.Args);
|
| H A D | BitstreamRemarkParser.h | 65 std::optional<uint64_t> Hotness; member
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | StaticDataSplitter.cpp | 187 auto Hotness = MachineFunctionDataHotness::Hot; in partitionStaticDataWithProfiles() local 193 Hotness = MachineFunctionDataHotness::Cold; in partitionStaticDataWithProfiles() 195 Changed |= MJTI->updateJumpTableEntryHotness(JTI, Hotness); in partitionStaticDataWithProfiles() 229 if (JumpTable.Hotness == MachineFunctionDataHotness::Hot) { in updateStatsWithProfiles() 232 assert(JumpTable.Hotness == MachineFunctionDataHotness::Cold && in updateStatsWithProfiles()
|
| H A D | MachineFunction.cpp | 1316 : MBBs(MBBs), Hotness(MachineFunctionDataHotness::Unknown) {} in MachineJumpTableEntry() 1368 size_t JTI, MachineFunctionDataHotness Hotness) { in updateJumpTableEntryHotness() argument 1371 if (Hotness <= JumpTables[JTI].Hotness) in updateJumpTableEntryHotness() 1374 JumpTables[JTI].Hotness = Hotness; in updateJumpTableEntryHotness()
|
| H A D | TargetLoweringObjectFileImpl.cpp | 660 if (JTE && JTE->Hotness != MachineFunctionDataHotness::Unknown) { in getELFSectionNameForGlobal() 661 if (JTE->Hotness == MachineFunctionDataHotness::Hot) { in getELFSectionNameForGlobal() 664 assert(JTE->Hotness == MachineFunctionDataHotness::Cold && in getELFSectionNameForGlobal()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineJumpTableInfo.h | 42 MachineFunctionDataHotness Hotness; member 120 MachineFunctionDataHotness Hotness);
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ModuleSummaryIndex.cpp | 408 int Hotness; member 626 auto Draw = [&](GlobalValue::GUID IdFrom, GlobalValue::GUID IdTo, int Hotness) { in exportToDot() argument 628 CrossModuleEdges.push_back({ModId, Hotness, IdFrom, IdTo}); in exportToDot() 631 DrawEdge(" ", ModId, IdFrom, ModId, IdTo, Hotness); in exportToDot() 691 static_cast<int>(CGEdge.second.Hotness)); in exportToDot() 712 DrawEdge(" ", E.SrcMod, E.Src, DstMod, E.Dst, E.Hotness); in exportToDot()
|
| H A D | LLVMRemarkStreamer.cpp | 69 R.Hotness = Diag.getHotness(); in toRemark()
|
| H A D | DiagnosticInfo.cpp | 284 if (Hotness) in print() 285 DP << " (hotness: " << *Hotness << ")"; in print()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ModuleSummaryIndex.h | 73 uint32_t Hotness : 3; member 87 : Hotness(static_cast<uint32_t>(HotnessType::Unknown)), in CalleeInfo() 89 explicit CalleeInfo(HotnessType Hotness, bool HasTC, uint64_t RelBF) in CalleeInfo() 90 : Hotness(static_cast<uint32_t>(Hotness)), HasTailCall(HasTC), in CalleeInfo() 94 Hotness = std::max(Hotness, static_cast<uint32_t>(OtherHotness)); in updateHotness() 101 HotnessType getHotness() const { return HotnessType(Hotness); } in getHotness()
|
| H A D | DiagnosticInfo.h | 567 std::optional<uint64_t> getHotness() const { return Hotness; } in getHotness() 568 void setHotness(std::optional<uint64_t> H) { Hotness = H; } in setHotness() 609 std::optional<uint64_t> Hotness; variable
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ModuleSummaryAnalysis.cpp | 444 auto Hotness = ScaledCount ? getHotness(*ScaledCount, PSI) in computeFunctionSummary() local 447 Hotness = CalleeInfo::HotnessType::Cold; in computeFunctionSummary() 455 ValueInfo.updateHotness(Hotness); in computeFunctionSummary() 460 if (BFI != nullptr && Hotness == CalleeInfo::HotnessType::Unknown) { in computeFunctionSummary()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | FunctionImport.cpp | 907 auto GetBonusMultiplier = [](CalleeInfo::HotnessType Hotness) -> float { in computeImportForFunction() argument 908 if (Hotness == CalleeInfo::HotnessType::Hot) in computeImportForFunction() 910 if (Hotness == CalleeInfo::HotnessType::Cold) in computeImportForFunction() 912 if (Hotness == CalleeInfo::HotnessType::Critical) in computeImportForFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 10027 CalleeInfo::HotnessType Hotness = CalleeInfo::HotnessType::Unknown; in parseOptionalCalls() local 10036 if (parseToken(lltok::colon, "expected ':'") || parseHotness(Hotness)) in parseOptionalCalls() 10053 if (Hotness != CalleeInfo::HotnessType::Unknown && RelBF > 0) in parseOptionalCalls() 10061 FunctionSummary::EdgeTy{VI, CalleeInfo(Hotness, HasTailCall, RelBF)}); in parseOptionalCalls() 10086 bool LLParser::parseHotness(CalleeInfo::HotnessType &Hotness) { in parseHotness() argument 10089 Hotness = CalleeInfo::HotnessType::Unknown; in parseHotness() 10092 Hotness = CalleeInfo::HotnessType::Cold; in parseHotness() 10095 Hotness = CalleeInfo::HotnessType::None; in parseHotness() 10098 Hotness = CalleeInfo::HotnessType::Hot; in parseHotness() 10101 Hotness = CalleeInfo::HotnessType::Critical; in parseHotness()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/ |
| H A D | LLParser.h | 402 bool parseHotness(CalleeInfo::HotnessType &Hotness);
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 1188 CalleeInfo::HotnessType Hotness = in getDecodedHotnessCallEdgeInfo() local 1191 return {Hotness, HasTailCall}; in getDecodedHotnessCallEdgeInfo() 7446 CalleeInfo::HotnessType Hotness = CalleeInfo::HotnessType::Unknown; in makeCallList() local 7455 std::tie(Hotness, HasTailCall) = in makeCallList() 7460 Callee, CalleeInfo(Hotness, HasTailCall, RelBF)}); in makeCallList()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 2969 if (JT[JTI].Hotness == MachineFunctionDataHotness::Cold) { in emitJumpTableInfo()
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 1340 RawFlags |= CI.Hotness; // 3 bits in getEncodedHotnessCallEdgeInfo()
|