Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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
/netbsd-src/external/apache2/llvm/dist/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()
69 Remark->Hotness, Remark->Args); in mapping()
72 Remark->FunctionName, Remark->Hotness, Remark->Args); in mapping()
H A DBitstreamRemarkParser.cpp119 Parser.Hotness = Record[0]; in parseRecord()
560 if (Helper.Hotness) in processRemark()
561 R.Hotness = *Helper.Hotness; in processRemark()
H A DBitstreamRemarkSerializer.cpp288 if (Optional<uint64_t> Hotness = Remark.Hotness) { in emitRemarkBlock() local
291 R.push_back(*Hotness); in emitRemarkBlock()
H A DYAMLRemarkParser.cpp239 TheRemark.Hotness = *MaybeU; in parseRemark()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A 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()
H A DDiagnosticInfo.cpp243 if (Hotness) in print()
244 DP << " (hotness: " << *Hotness << ")"; in print()
H A DLLVMRemarkStreamer.cpp66 R.Hotness = Diag.getHotness(); in toRemark()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h66 uint32_t Hotness : 3; member
75 : Hotness(static_cast<uint32_t>(HotnessType::Unknown)), RelBlockFreq(0) {} in CalleeInfo()
76 explicit CalleeInfo(HotnessType Hotness, uint64_t RelBF) in CalleeInfo()
77 : Hotness(static_cast<uint32_t>(Hotness)), RelBlockFreq(RelBF) {} in CalleeInfo()
80 Hotness = std::max(Hotness, static_cast<uint32_t>(OtherHotness)); in updateHotness()
83 HotnessType getHotness() const { return HotnessType(Hotness); } in getHotness()
H A 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
/netbsd-src/external/apache2/llvm/dist/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)
H A Dopt-viewer.py281 …sorted_remarks = sorted(optrecord.itervalues(all_remarks), key=lambda r: (r.Hotness, r.File, r.Lin…
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DRemarks.rst185 Hotness: <hotness>
365 | Hotness | VBR8 (string table index) |
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/AsmParser/
H A DLLParser.h353 bool parseHotness(CalleeInfo::HotnessType &Hotness);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/
H A DLLParser.cpp8930 CalleeInfo::HotnessType Hotness = CalleeInfo::HotnessType::Unknown; in parseOptionalCalls() local
8935 if (parseToken(lltok::colon, "expected ':'") || parseHotness(Hotness)) in parseOptionalCalls()
8948 Calls.push_back(FunctionSummary::EdgeTy{VI, CalleeInfo(Hotness, RelBF)}); in parseOptionalCalls()
8973 bool LLParser::parseHotness(CalleeInfo::HotnessType &Hotness) { in parseHotness() argument
8976 Hotness = CalleeInfo::HotnessType::Unknown; in parseHotness()
8979 Hotness = CalleeInfo::HotnessType::Cold; in parseHotness()
8982 Hotness = CalleeInfo::HotnessType::None; in parseHotness()
8985 Hotness = CalleeInfo::HotnessType::Hot; in parseHotness()
8988 Hotness = CalleeInfo::HotnessType::Critical; in parseHotness()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp6014 CalleeInfo::HotnessType Hotness = CalleeInfo::HotnessType::Unknown; in makeCallList() local
6022 Hotness = static_cast<CalleeInfo::HotnessType>(Record[++I]); in makeCallList()
6025 Ret.push_back(FunctionSummary::EdgeTy{Callee, CalleeInfo(Hotness, RelBF)}); in makeCallList()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3833 NameVals.push_back(static_cast<uint8_t>(ECI.second.Hotness)); in writePerModuleFunctionSummaryRecord()
4270 NameVals.push_back(static_cast<uint8_t>(EI.second.Hotness)); in writeCombinedGlobalValueSummary()