| /llvm-project-15.0.7/llvm/include/llvm/Remarks/ |
| H A D | Remark.h | 87 Optional<uint64_t> Hotness; member 160 LHS.Hotness == RHS.Hotness && LHS.Args == RHS.Args; 169 LHS.FunctionName, LHS.Loc, LHS.Hotness, LHS.Args) < 171 RHS.FunctionName, RHS.Loc, RHS.Hotness, RHS.Args);
|
| H A D | BitstreamRemarkParser.h | 65 Optional<uint64_t> Hotness; member
|
| /llvm-project-15.0.7/llvm/unittests/Remarks/ |
| H A D | YAMLRemarksSerializerTest.cpp | 77 R.Hotness = 5; in TEST() 110 R.Hotness = 5; in TEST() 140 R.Hotness = 5; in TEST() 176 R.Hotness = 5; in TEST() 216 R.Hotness = 5; in TEST() 250 R.Hotness = 5; in TEST() 290 R.Hotness = 5; in TEST()
|
| H A D | BitstreamRemarksSerializerTest.cpp | 172 R.Hotness.emplace(999999999); in TEST() 266 R.Hotness.emplace(999999999); in TEST() 316 R.Hotness.emplace(999999999); in TEST()
|
| H A D | YAMLRemarksParsingTest.cpp | 422 EXPECT_TRUE(Remark.Hotness); in TEST() 423 EXPECT_EQ(*Remark.Hotness, 4U); in TEST() 594 EXPECT_TRUE(Remark.Hotness); in TEST() 595 EXPECT_EQ(*Remark.Hotness, 4U); in TEST()
|
| H A D | BitstreamRemarksParsingTest.cpp | 180 EXPECT_TRUE(Remark.Hotness); in TEST() 181 EXPECT_EQ(*Remark.Hotness, 4U); in TEST() 241 ToSerializeRemark.Hotness = 0; in TEST()
|
| H A D | RemarksAPITest.cpp | 22 R.Hotness = 5; in TEST() 52 R.Hotness = 5; in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Remarks/ |
| H A D | Remark.cpp | 100 if (const Optional<uint64_t> &Hotness = unwrap(Remark)->Hotness) in LLVMRemarkEntryGetHotness() local 101 return *Hotness; in LLVMRemarkEntryGetHotness()
|
| H A D | YAMLRemarkSerializer.cpp | 26 Optional<uint64_t> Hotness, in mapRemarkHeader() argument 32 io.mapOptional("Hotness", Hotness); in mapRemarkHeader() 68 Remark->Hotness, Remark->Args); in mapping() 71 Remark->FunctionName, Remark->Hotness, Remark->Args); in mapping()
|
| H A D | BitstreamRemarkParser.cpp | 120 Parser.Hotness = Record[0]; in parseRecord() 561 if (Helper.Hotness) in processRemark() 562 R.Hotness = *Helper.Hotness; in processRemark()
|
| H A D | BitstreamRemarkSerializer.cpp | 289 if (Optional<uint64_t> Hotness = Remark.Hotness) { in emitRemarkBlock() local 292 R.push_back(*Hotness); in emitRemarkBlock()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ModuleSummaryIndex.cpp | 385 int Hotness; member 590 auto Draw = [&](GlobalValue::GUID IdFrom, GlobalValue::GUID IdTo, int Hotness) { in exportToDot() argument 592 CrossModuleEdges.push_back({ModId, Hotness, IdFrom, IdTo}); in exportToDot() 595 DrawEdge(" ", ModId, IdFrom, ModId, IdTo, Hotness); in exportToDot() 651 static_cast<int>(CGEdge.second.Hotness)); in exportToDot() 672 DrawEdge(" ", E.SrcMod, E.Src, DstMod, E.Dst, E.Hotness); in exportToDot()
|
| H A D | DiagnosticInfo.cpp | 235 if (Hotness) in print() 236 DP << " (hotness: " << *Hotness << ")"; in print()
|
| H A D | LLVMRemarkStreamer.cpp | 68 R.Hotness = Diag.getHotness(); in toRemark()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | arm64-spill-remarks.ll | 45 ; YAML: Hotness: 300 62 ; YAML: Hotness: 30000 79 ; YAML: Hotness: 300 96 ; YAML: Hotness: 3 109 ; THRESHOLD_YAML-NOT: Hotness: 300{{$}} 115 ; THRESHOLD_YAML: Hotness: 30000
|
| /llvm-project-15.0.7/llvm/test/Other/ |
| H A D | optimization-remarks-auto.ll | 29 ; YAML-PASS-NEXT: Hotness: 400 35 ; YAML-MISS-NEXT: Hotness: 1
|
| /llvm-project-15.0.7/llvm/tools/opt-viewer/ |
| H A D | optrecord.py | 123 self.Hotness = 0 218 return "{0:.2f}%".format(self.Hotness * 100. / self.max_hotness) 300 max_hotness = max(max_hotness, remark.Hotness)
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | ModuleSummaryIndex.h | 67 uint32_t Hotness : 3; member 76 : Hotness(static_cast<uint32_t>(HotnessType::Unknown)), RelBlockFreq(0) {} in CalleeInfo() 77 explicit CalleeInfo(HotnessType Hotness, uint64_t RelBF) in CalleeInfo() 78 : Hotness(static_cast<uint32_t>(Hotness)), RelBlockFreq(RelBF) {} in CalleeInfo() 81 Hotness = std::max(Hotness, static_cast<uint32_t>(OtherHotness)); in updateHotness() 84 HotnessType getHotness() const { return HotnessType(Hotness); } in getHotness()
|
| H A D | DiagnosticInfo.h | 483 Optional<uint64_t> getHotness() const { return Hotness; } in getHotness() 484 void setHotness(Optional<uint64_t> H) { Hotness = H; } in setHotness() 525 Optional<uint64_t> Hotness; variable
|
| /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/ |
| H A D | memop_size_opt.ll | 197 ; YAML-NEXT: Hotness: 0 213 ; YAML-NEXT: Hotness: 0 229 ; YAML-NEXT: Hotness: 0 245 ; YAML-NEXT: Hotness: 0
|
| /llvm-project-15.0.7/llvm/test/Transforms/SampleProfile/ |
| H A D | remarks-hotness.ll | 30 ; YAML-PASS-NEXT: Hotness: 401 37 ; YAML-MISS-NEXT: Hotness: 2
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | thinlto-diagnostic-handler-remarks-with-hotness.ll | 17 ; YAML-NEXT: Hotness: 300
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ModuleSummaryAnalysis.cpp | 371 auto Hotness = ScaledCount ? getHotness(*ScaledCount, PSI) in computeFunctionSummary() local 374 Hotness = CalleeInfo::HotnessType::Cold; in computeFunctionSummary() 382 ValueInfo.updateHotness(Hotness); in computeFunctionSummary() 385 if (BFI != nullptr && Hotness == CalleeInfo::HotnessType::Unknown) { in computeFunctionSummary()
|
| /llvm-project-15.0.7/llvm/test/Transforms/Inline/ |
| H A D | optimization-remarks-yaml.ll | 76 ; YAML-NEXT: Hotness: 30 89 ; YAML-NEXT: Hotness: 30
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | FunctionImport.cpp | 377 auto GetBonusMultiplier = [](CalleeInfo::HotnessType Hotness) -> float { in computeImportForFunction() argument 378 if (Hotness == CalleeInfo::HotnessType::Hot) in computeImportForFunction() 380 if (Hotness == CalleeInfo::HotnessType::Cold) in computeImportForFunction() 382 if (Hotness == CalleeInfo::HotnessType::Critical) in computeImportForFunction()
|