Lines Matching refs:FunctionSamples
133 const FunctionSamples *findCalleeFunctionSamples(const CallInst &I) const;
134 const FunctionSamples *findFunctionSamples(const Instruction &I) const;
194 FunctionSamples *Samples;
213 bool markSamplesUsed(const FunctionSamples *FS, uint32_t LineOffset,
216 unsigned countUsedRecords(const FunctionSamples *FS) const;
217 unsigned countBodyRecords(const FunctionSamples *FS) const;
219 uint64_t countBodySamples(const FunctionSamples *FS) const;
227 typedef DenseMap<const FunctionSamples *, BodySampleCoverageMap>
271 bool callsiteIsHot(const FunctionSamples *CallerFS, in callsiteIsHot()
272 const FunctionSamples *CallsiteFS) { in callsiteIsHot()
295 bool SampleCoverageTracker::markSamplesUsed(const FunctionSamples *FS, in markSamplesUsed()
311 SampleCoverageTracker::countUsedRecords(const FunctionSamples *FS) const { in countUsedRecords()
322 const FunctionSamples *CalleeSamples = &I.second; in countUsedRecords()
334 SampleCoverageTracker::countBodyRecords(const FunctionSamples *FS) const { in countBodyRecords()
339 const FunctionSamples *CalleeSamples = &I.second; in countBodyRecords()
351 SampleCoverageTracker::countBodySamples(const FunctionSamples *FS) const { in countBodySamples()
358 const FunctionSamples *CalleeSamples = &I.second; in countBodySamples()
452 const FunctionSamples *FS = findFunctionSamples(Inst); in getInstWeight()
542 const FunctionSamples *
558 const FunctionSamples *FS = findFunctionSamples(Inst); in findCalleeFunctionSamples()
576 const FunctionSamples *
597 const FunctionSamples *FS = Samples; in findFunctionSamples()
625 uint64_t FunctionSamples = Samples->getTotalSamples(); in emitInlineHints() local
627 (double)FunctionSamples / (double)TotalCollectedSamples * 100.0; in emitInlineHints()