Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Remarks/
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);
DBitstreamRemarkParser.h65 Optional<uint64_t> Hotness; member
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Remarks/
DRemark.cpp100 if (const Optional<uint64_t> &Hotness = unwrap(Remark)->Hotness) in LLVMRemarkEntryGetHotness() local
101 return *Hotness; in LLVMRemarkEntryGetHotness()
DYAMLRemarkSerializer.cpp26 Optional<uint64_t> Hotness, in mapRemarkHeader() argument
32 io.mapOptional("Hotness", Hotness); in mapRemarkHeader()
69 Remark->Hotness, Remark->Args); in mapping()
72 Remark->FunctionName, Remark->Hotness, Remark->Args); in mapping()
DBitstreamRemarkParser.cpp119 Parser.Hotness = Record[0]; in parseRecord()
560 if (Helper.Hotness) in processRemark()
561 R.Hotness = *Helper.Hotness; in processRemark()
DBitstreamRemarkSerializer.cpp288 if (Optional<uint64_t> Hotness = Remark.Hotness) { in emitRemarkBlock() local
291 R.push_back(*Hotness); in emitRemarkBlock()
DYAMLRemarkParser.cpp239 TheRemark.Hotness = *MaybeU; in parseRemark()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
DModuleSummaryIndex.cpp379 int Hotness; member
576 auto Draw = [&](GlobalValue::GUID IdFrom, GlobalValue::GUID IdTo, int Hotness) { in exportToDot() argument
578 CrossModuleEdges.push_back({ModId, Hotness, IdFrom, IdTo}); in exportToDot()
581 DrawEdge(" ", ModId, IdFrom, ModId, IdTo, Hotness); in exportToDot()
637 static_cast<int>(CGEdge.second.Hotness)); in exportToDot()
658 DrawEdge(" ", E.SrcMod, E.Src, DstMod, E.Dst, E.Hotness); in exportToDot()
DDiagnosticInfo.cpp241 if (Hotness) in print()
242 DP << " (hotness: " << *Hotness << ")"; in print()
DLLVMRemarkStreamer.cpp66 R.Hotness = Diag.getHotness(); in toRemark()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DModuleSummaryIndex.h68 uint32_t Hotness : 3; member
77 : Hotness(static_cast<uint32_t>(HotnessType::Unknown)), RelBlockFreq(0) {} in CalleeInfo()
78 explicit CalleeInfo(HotnessType Hotness, uint64_t RelBF) in CalleeInfo()
79 : Hotness(static_cast<uint32_t>(Hotness)), RelBlockFreq(RelBF) {} in CalleeInfo()
82 Hotness = std::max(Hotness, static_cast<uint32_t>(OtherHotness)); in updateHotness()
85 HotnessType getHotness() const { return HotnessType(Hotness); } in getHotness()
DDiagnosticInfo.h477 Optional<uint64_t> getHotness() const { return Hotness; } in getHotness()
478 void setHotness(Optional<uint64_t> H) { Hotness = H; } in setHotness()
519 Optional<uint64_t> Hotness; variable
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp340 auto Hotness = ScaledCount ? getHotness(ScaledCount.getValue(), PSI) in computeFunctionSummary() local
343 Hotness = CalleeInfo::HotnessType::Cold; in computeFunctionSummary()
351 ValueInfo.updateHotness(Hotness); in computeFunctionSummary()
354 if (BFI != nullptr && Hotness == CalleeInfo::HotnessType::Unknown) { in computeFunctionSummary()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
DFunctionImport.cpp415 auto GetBonusMultiplier = [](CalleeInfo::HotnessType Hotness) -> float { in computeImportForFunction() argument
416 if (Hotness == CalleeInfo::HotnessType::Hot) in computeImportForFunction()
418 if (Hotness == CalleeInfo::HotnessType::Cold) in computeImportForFunction()
420 if (Hotness == CalleeInfo::HotnessType::Critical) in computeImportForFunction()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/AsmParser/
DLLParser.h342 bool parseHotness(CalleeInfo::HotnessType &Hotness);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/AsmParser/
DLLParser.cpp8631 CalleeInfo::HotnessType Hotness = CalleeInfo::HotnessType::Unknown; in parseOptionalCalls() local
8636 if (parseToken(lltok::colon, "expected ':'") || parseHotness(Hotness)) in parseOptionalCalls()
8649 Calls.push_back(FunctionSummary::EdgeTy{VI, CalleeInfo(Hotness, RelBF)}); in parseOptionalCalls()
8674 bool LLParser::parseHotness(CalleeInfo::HotnessType &Hotness) { in parseHotness() argument
8677 Hotness = CalleeInfo::HotnessType::Unknown; in parseHotness()
8680 Hotness = CalleeInfo::HotnessType::Cold; in parseHotness()
8683 Hotness = CalleeInfo::HotnessType::None; in parseHotness()
8686 Hotness = CalleeInfo::HotnessType::Hot; in parseHotness()
8689 Hotness = CalleeInfo::HotnessType::Critical; in parseHotness()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp5945 CalleeInfo::HotnessType Hotness = CalleeInfo::HotnessType::Unknown; in makeCallList() local
5953 Hotness = static_cast<CalleeInfo::HotnessType>(Record[++I]); in makeCallList()
5956 Ret.push_back(FunctionSummary::EdgeTy{Callee, CalleeInfo(Hotness, RelBF)}); in makeCallList()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp3837 NameVals.push_back(static_cast<uint8_t>(ECI.second.Hotness)); in writePerModuleFunctionSummaryRecord()
4274 NameVals.push_back(static_cast<uint8_t>(EI.second.Hotness)); in writeCombinedGlobalValueSummary()