Lines Matching +full:- +full:- +full:require +full:- +full:hashes

1 //===- SampleProfReader.h - Read LLVM sample profile data -------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
16 // -----------
121 // information for the top-level function. Furthermore, metadata can only
126 // of information that does not require cross-line reference.
136 // -------------
176 // A NUL-separated list of SIZE strings.
179 // HEAD_SAMPLES (uint64_t) [only for top-level functions]
182 // NOTE: This field should only be present for top-level functions
201 // Number of non-inlined function calls made at this location. In the
223 //===----------------------------------------------------------------------===//
292 void insert(StringRef FunctionName) { Remappings->insert(FunctionName); }
297 return Remappings->lookup(FunctionName);
315 // by Reader -- by calling applyRemapping.
319 /// Sample-based profile reader.
328 /// -gline-tables-only). Otherwise, it will be impossible to match IR
358 /// number, Pass == i is for the i-th round of adding FS discriminators.
365 /// mask for this pass. For non FS profiles, return (unsigned) -1.
378 Remapper->applyRemapping(Ctx);
425 return &It->second;
427 if (FuncNameToProfNameMap && !FuncNameToProfNameMap->empty()) {
428 auto R = FuncNameToProfNameMap->find(FunctionId(Fname));
429 if (R != FuncNameToProfNameMap->end()) {
430 Fname = R->second.stringRef();
433 return &It->second;
438 if (auto NameInProfile = Remapper->lookUpNameInProfile(Fname)) {
441 return &It->second;
452 Ctx.diagnose(DiagnosticInfoSampleProfile(Buffer->getBufferIdentifier(),
483 /// Whether input profile is fully context-sensitive.
489 /// Whether input profile is flow-sensitive.
551 /// the profiles on-demand.
566 // for on-demand read function profile metadata.
578 /// Whether function profiles are context-sensitive flat profiles.
584 /// Number of context-sensitive profiles.
603 /// can be one-way overriden by the user to force use MD5.
723 /// fixed length MD5 non-CS profile it is same as MD5NameMemStart because
724 /// hashes of non-CS contexts are already in the profile. Otherwise it points
840 /// Read the profiles on-demand for the given functions. This is used after