HomeSort by: relevance | last modified time | path
    Searched refs:Hotness (Results 1 - 20 of 20) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/include/llvm/Remarks/
Remark.h 87 Optional<uint64_t> Hotness;
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);
BitstreamRemarkParser.h 65 Optional<uint64_t> Hotness;
  /src/external/apache2/llvm/dist/llvm/lib/Remarks/
Remark.cpp 100 if (const Optional<uint64_t> &Hotness = unwrap(Remark)->Hotness)
101 return *Hotness;
YAMLRemarkSerializer.cpp 26 Optional<uint64_t> Hotness,
32 io.mapOptional("Hotness", Hotness);
69 Remark->Hotness, Remark->Args);
72 Remark->FunctionName, Remark->Hotness, Remark->Args);
BitstreamRemarkSerializer.cpp 154 // The hotness of a remark.
160 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // Hotness
288 if (Optional<uint64_t> Hotness = Remark.Hotness) {
291 R.push_back(*Hotness);
BitstreamRemarkParser.cpp 119 Parser.Hotness = Record[0];
560 if (Helper.Hotness)
561 R.Hotness = *Helper.Hotness;
YAMLRemarkParser.cpp 237 } else if (KeyName == "Hotness") {
239 TheRemark.Hotness = *MaybeU;
  /src/external/apache2/llvm/dist/llvm/lib/IR/
ModuleSummaryIndex.cpp 379 int Hotness;
546 // Other value: (hotness - 4).
553 " // call (hotness : Unknown)",
554 " [color=blue]; // call (hotness : Cold)",
555 " // call (hotness : None)",
556 " [color=brown]; // call (hotness : Hot)",
557 " [style=bold,color=red]; // call (hotness : Critical)"};
576 auto Draw = [&](GlobalValue::GUID IdFrom, GlobalValue::GUID IdTo, int Hotness) {
578 CrossModuleEdges.push_back({ModId, Hotness, IdFrom, IdTo});
581 DrawEdge(" ", ModId, IdFrom, ModId, IdTo, Hotness);
    [all...]
DiagnosticInfo.cpp 243 if (Hotness)
244 DP << " (hotness: " << *Hotness << ")";
LLVMRemarkStreamer.cpp 66 R.Hotness = Diag.getHotness();
  /src/external/apache2/llvm/dist/llvm/tools/opt-viewer/
optrecord.py 122 if not hasattr(self, 'Hotness'):
123 self.Hotness = 0
218 return "{0:.2f}%".format(self.Hotness * 100. / self.max_hotness)
296 # captured which may actually be less than the max hotness found
300 max_hotness = max(max_hotness, remark.Hotness)
opt-viewer.py 25 generated with -fsave-optimization-record and -fdiagnostics-show-hotness.
177 <th style="width: 3%">Hotness</td>
221 <td>Hotness</td>
281 sorted_remarks = sorted(optrecord.itervalues(all_remarks), key=lambda r: (r.Hotness, r.File, r.Line, r.Column, r.PassWithDiffPrefix, r.yaml_tag, r.Function), reverse=True)
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
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)
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); }
117 llvm_unreachable("invalid hotness");
DiagnosticInfo.h 477 Optional<uint64_t> getHotness() const { return Hotness; }
478 void setHotness(Optional<uint64_t> H) { Hotness = H; }
519 Optional<uint64_t> Hotness;
627 /// hotness information with PGO.
679 /// This is currently used to provide run-time hotness information with PGO.
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
ModuleSummaryAnalysis.cpp 340 auto Hotness = ScaledCount ? getHotness(ScaledCount.getValue(), PSI)
343 Hotness = CalleeInfo::HotnessType::Cold;
351 ValueInfo.updateHotness(Hotness);
354 if (BFI != nullptr && Hotness == CalleeInfo::HotnessType::Unknown) {
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
FunctionImport.cpp 415 auto GetBonusMultiplier = [](CalleeInfo::HotnessType Hotness) -> float {
416 if (Hotness == CalleeInfo::HotnessType::Hot)
418 if (Hotness == CalleeInfo::HotnessType::Cold)
420 if (Hotness == CalleeInfo::HotnessType::Critical)
  /src/external/apache2/llvm/dist/llvm/include/llvm/AsmParser/
LLParser.h 353 bool parseHotness(CalleeInfo::HotnessType &Hotness);
  /src/external/apache2/llvm/dist/llvm/lib/AsmParser/
LLParser.cpp 8907 /// [( ',' 'hotness' ':' Hotness | ',' 'relbf' ':' UInt32 )]? ')'
8930 CalleeInfo::HotnessType Hotness = CalleeInfo::HotnessType::Unknown;
8933 // Expect either hotness or relbf
8935 if (parseToken(lltok::colon, "expected ':'") || parseHotness(Hotness))
8948 Calls.push_back(FunctionSummary::EdgeTy{VI, CalleeInfo(Hotness, RelBF)});
8971 /// Hotness
8973 bool LLParser::parseHotness(CalleeInfo::HotnessType &Hotness) {
8976 Hotness = CalleeInfo::HotnessType::Unknown;
8979 Hotness = CalleeInfo::HotnessType::Cold
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
BitcodeReader.cpp 6014 CalleeInfo::HotnessType Hotness = CalleeInfo::HotnessType::Unknown;
6022 Hotness = static_cast<CalleeInfo::HotnessType>(Record[++I]);
6025 Ret.push_back(FunctionSummary::EdgeTy{Callee, CalleeInfo(Hotness, RelBF)});
6240 // n x (valueid, hotness)]
6381 // numrefs x valueid, n x (valueid, hotness)]
  /src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/
BitcodeWriter.cpp 3833 NameVals.push_back(static_cast<uint8_t>(ECI.second.Hotness));
3938 // numrefs x valueid, n x (valueid, hotness)
4100 // numrefs x valueid, n x (valueid, hotness)
4270 NameVals.push_back(static_cast<uint8_t>(EI.second.Hotness));

Completed in 38 milliseconds