Searched refs:Hotness (Results 1 - 18 of 18) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DRemark.h87 Optional<uint64_t> Hotness; member in struct:llvm::remarks::Type::Remark
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 in struct:llvm::remarks::BitstreamRemarkParserHelper
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Remarks/
H A DRemark.cpp100 if (const Optional<uint64_t> &Hotness = unwrap(Remark)->Hotness)
101 return *Hotness;
H A DYAMLRemarkSerializer.cpp25 Optional<uint64_t> Hotness,
31 io.mapOptional("Hotness", Hotness);
68 Remark->Hotness, Remark->Args);
71 Remark->FunctionName, Remark->Hotness, Remark->Args);
23 mapRemarkHeader(yaml::IO &io, T PassName, T RemarkName, Optional<RemarkLocation> RL, T FunctionName, Optional<uint64_t> Hotness, ArrayRef<Argument> Args) argument
H A DBitstreamRemarkSerializer.cpp161 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // Hotness
289 if (Optional<uint64_t> Hotness = Remark.Hotness) {
292 R.push_back(*Hotness);
H A DBitstreamRemarkParser.cpp120 Parser.Hotness = Record[0];
561 if (Helper.Hotness)
562 R.Hotness = *Helper.Hotness;
H A DYAMLRemarkParser.cpp237 } else if (KeyName == "Hotness") {
239 TheRemark.Hotness = *MaybeU;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DModuleSummaryIndex.cpp324 int Hotness;
521 auto Draw = [&](GlobalValue::GUID IdFrom, GlobalValue::GUID IdTo, int Hotness) {
523 CrossModuleEdges.push_back({ModId, Hotness, IdFrom, IdTo});
526 DrawEdge(" ", ModId, IdFrom, ModId, IdTo, Hotness);
580 static_cast<int>(CGEdge.second.Hotness));
601 DrawEdge(" ", E.SrcMod, E.Src, DstMod, E.Dst, E.Hotness);
H A DDiagnosticInfo.cpp228 if (Hotness)
229 DP << " (hotness: " << *Hotness << ")"; local
H A DLLVMRemarkStreamer.cpp66 R.Hotness = Diag.getHotness();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h66 uint32_t Hotness : 3;
75 : Hotness(static_cast<uint32_t>(HotnessType::Unknown)), RelBlockFreq(0) {}
76 explicit CalleeInfo(HotnessType Hotness, uint64_t RelBF) argument
77 : Hotness(static_cast<uint32_t>(Hotness)), RelBlockFreq(RelBF) {}
80 Hotness = std::max(Hotness, static_cast<uint32_t>(OtherHotness));
83 HotnessType getHotness() const { return HotnessType(Hotness); }
H A DDiagnosticInfo.h473 Optional<uint64_t> getHotness() const { return Hotness; }
474 void setHotness(Optional<uint64_t> H) { Hotness = H; }
515 Optional<uint64_t> Hotness; member in class:llvm::DiagnosticInfoOptimizationBase
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp345 auto Hotness = ScaledCount ? getHotness(ScaledCount.getValue(), PSI) local
348 Hotness = CalleeInfo::HotnessType::Cold;
356 ValueInfo.updateHotness(Hotness);
359 if (BFI != nullptr && Hotness == CalleeInfo::HotnessType::Unknown) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp385 auto GetBonusMultiplier = [](CalleeInfo::HotnessType Hotness) -> float {
386 if (Hotness == CalleeInfo::HotnessType::Hot)
388 if (Hotness == CalleeInfo::HotnessType::Cold)
390 if (Hotness == CalleeInfo::HotnessType::Critical)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.h354 bool ParseHotness(CalleeInfo::HotnessType &Hotness);
H A DLLParser.cpp8508 /// [( ',' 'hotness' ':' Hotness | ',' 'relbf' ':' UInt32 )]? ')'
8531 CalleeInfo::HotnessType Hotness = CalleeInfo::HotnessType::Unknown;
8536 if (ParseToken(lltok::colon, "expected ':'") || ParseHotness(Hotness))
8549 Calls.push_back(FunctionSummary::EdgeTy{VI, CalleeInfo(Hotness, RelBF)});
8574 /// Hotness
8576 bool LLParser::ParseHotness(CalleeInfo::HotnessType &Hotness) {
8579 Hotness = CalleeInfo::HotnessType::Unknown;
8582 Hotness = CalleeInfo::HotnessType::Cold;
8585 Hotness = CalleeInfo::HotnessType::None;
8588 Hotness
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp5758 CalleeInfo::HotnessType Hotness = CalleeInfo::HotnessType::Unknown; local
5766 Hotness = static_cast<CalleeInfo::HotnessType>(Record[++I]);
5769 Ret.push_back(FunctionSummary::EdgeTy{Callee, CalleeInfo(Hotness, RelBF)});
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3717 NameVals.push_back(static_cast<uint8_t>(ECI.second.Hotness));
4148 NameVals.push_back(static_cast<uint8_t>(EI.second.Hotness));

Completed in 200 milliseconds