| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Remarks/ |
| D | Remark.h | 87 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);
|
| D | BitstreamRemarkParser.h | 65 Optional<uint64_t> Hotness; member
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Remarks/ |
| D | Remark.cpp | 100 if (const Optional<uint64_t> &Hotness = unwrap(Remark)->Hotness) in LLVMRemarkEntryGetHotness() local 101 return *Hotness; in LLVMRemarkEntryGetHotness()
|
| D | YAMLRemarkSerializer.cpp | 26 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()
|
| D | BitstreamRemarkParser.cpp | 119 Parser.Hotness = Record[0]; in parseRecord() 560 if (Helper.Hotness) in processRemark() 561 R.Hotness = *Helper.Hotness; in processRemark()
|
| D | BitstreamRemarkSerializer.cpp | 288 if (Optional<uint64_t> Hotness = Remark.Hotness) { in emitRemarkBlock() local 291 R.push_back(*Hotness); in emitRemarkBlock()
|
| D | YAMLRemarkParser.cpp | 239 TheRemark.Hotness = *MaybeU; in parseRemark()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/ |
| D | ModuleSummaryIndex.cpp | 379 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()
|
| D | DiagnosticInfo.cpp | 241 if (Hotness) in print() 242 DP << " (hotness: " << *Hotness << ")"; in print()
|
| D | LLVMRemarkStreamer.cpp | 66 R.Hotness = Diag.getHotness(); in toRemark()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| D | ModuleSummaryIndex.h | 68 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()
|
| D | DiagnosticInfo.h | 477 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/ |
| D | ModuleSummaryAnalysis.cpp | 340 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/ |
| D | FunctionImport.cpp | 415 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/ |
| D | LLParser.h | 342 bool parseHotness(CalleeInfo::HotnessType &Hotness);
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/AsmParser/ |
| D | LLParser.cpp | 8631 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/ |
| D | BitcodeReader.cpp | 5945 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/ |
| D | BitcodeWriter.cpp | 3837 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()
|