Home
last modified time | relevance | path

Searched refs:Hotness (Results 1 – 25 of 39) sorted by relevance

12

/llvm-project-15.0.7/llvm/include/llvm/Remarks/
H A DRemark.h87 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 DBitstreamRemarkParser.h65 Optional<uint64_t> Hotness; member
/llvm-project-15.0.7/llvm/unittests/Remarks/
H A DYAMLRemarksSerializerTest.cpp77 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 DBitstreamRemarksSerializerTest.cpp172 R.Hotness.emplace(999999999); in TEST()
266 R.Hotness.emplace(999999999); in TEST()
316 R.Hotness.emplace(999999999); in TEST()
H A DYAMLRemarksParsingTest.cpp422 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 DBitstreamRemarksParsingTest.cpp180 EXPECT_TRUE(Remark.Hotness); in TEST()
181 EXPECT_EQ(*Remark.Hotness, 4U); in TEST()
241 ToSerializeRemark.Hotness = 0; in TEST()
H A DRemarksAPITest.cpp22 R.Hotness = 5; in TEST()
52 R.Hotness = 5; in TEST()
/llvm-project-15.0.7/llvm/lib/Remarks/
H A DRemark.cpp100 if (const Optional<uint64_t> &Hotness = unwrap(Remark)->Hotness) in LLVMRemarkEntryGetHotness() local
101 return *Hotness; in LLVMRemarkEntryGetHotness()
H A DYAMLRemarkSerializer.cpp26 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 DBitstreamRemarkParser.cpp120 Parser.Hotness = Record[0]; in parseRecord()
561 if (Helper.Hotness) in processRemark()
562 R.Hotness = *Helper.Hotness; in processRemark()
H A DBitstreamRemarkSerializer.cpp289 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 DModuleSummaryIndex.cpp385 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 DDiagnosticInfo.cpp235 if (Hotness) in print()
236 DP << " (hotness: " << *Hotness << ")"; in print()
H A DLLVMRemarkStreamer.cpp68 R.Hotness = Diag.getHotness(); in toRemark()
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Darm64-spill-remarks.ll45 ; 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 Doptimization-remarks-auto.ll29 ; YAML-PASS-NEXT: Hotness: 400
35 ; YAML-MISS-NEXT: Hotness: 1
/llvm-project-15.0.7/llvm/tools/opt-viewer/
H A Doptrecord.py123 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 DModuleSummaryIndex.h67 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 DDiagnosticInfo.h483 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 Dmemop_size_opt.ll197 ; 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 Dremarks-hotness.ll30 ; YAML-PASS-NEXT: Hotness: 401
37 ; YAML-MISS-NEXT: Hotness: 2
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dthinlto-diagnostic-handler-remarks-with-hotness.ll17 ; YAML-NEXT: Hotness: 300
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp371 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 Doptimization-remarks-yaml.ll76 ; YAML-NEXT: Hotness: 30
89 ; YAML-NEXT: Hotness: 30
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp377 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()

12