/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Remarks/ |
H A D | Remark.h | 87 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 D | BitstreamRemarkParser.h | 65 Optional<uint64_t> Hotness; member in struct:llvm::remarks::BitstreamRemarkParserHelper
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Remarks/ |
H A D | Remark.cpp | 100 if (const Optional<uint64_t> &Hotness = unwrap(Remark)->Hotness) 101 return *Hotness;
|
H A D | YAMLRemarkSerializer.cpp | 25 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 D | BitstreamRemarkSerializer.cpp | 161 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // Hotness 289 if (Optional<uint64_t> Hotness = Remark.Hotness) { 292 R.push_back(*Hotness);
|
H A D | BitstreamRemarkParser.cpp | 120 Parser.Hotness = Record[0]; 561 if (Helper.Hotness) 562 R.Hotness = *Helper.Hotness;
|
H A D | YAMLRemarkParser.cpp | 237 } else if (KeyName == "Hotness") { 239 TheRemark.Hotness = *MaybeU;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | ModuleSummaryIndex.cpp | 324 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 D | DiagnosticInfo.cpp | 228 if (Hotness) 229 DP << " (hotness: " << *Hotness << ")"; local
|
H A D | LLVMRemarkStreamer.cpp | 66 R.Hotness = Diag.getHotness();
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ModuleSummaryIndex.h | 66 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 D | DiagnosticInfo.h | 473 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 D | ModuleSummaryAnalysis.cpp | 345 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 D | FunctionImport.cpp | 385 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 D | LLParser.h | 354 bool ParseHotness(CalleeInfo::HotnessType &Hotness);
|
H A D | LLParser.cpp | 8508 /// [( ',' '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 D | BitcodeReader.cpp | 5758 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 D | BitcodeWriter.cpp | 3717 NameVals.push_back(static_cast<uint8_t>(ECI.second.Hotness)); 4148 NameVals.push_back(static_cast<uint8_t>(EI.second.Hotness));
|