HomeSort by: relevance | last modified time | path
    Searched defs:Samples (Results 1 - 5 of 5) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86InsertPrefetch.cpp 51 bool findPrefetchInfo(const FunctionSamples *Samples, const MachineInstr &MI,
73 if (const auto *Samples = TopSamples->findFunctionSamples(Loc))
74 return Samples->findCallTargetMapAt(FunctionSamples::getOffset(Loc),
182 const FunctionSamples *Samples = Reader->getSamplesFor(MF.getFunction());
183 if (!Samples)
204 if (!findPrefetchInfo(Samples, *Current, Prefetches))
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
SampleContextTracker.cpp 53 FunctionSamples *Samples = ChildNode.getFunctionSamples();
54 if (!Samples)
56 if (Samples->getTotalSamples() > MaxCalleeSamples) {
58 MaxCalleeSamples = Samples->getTotalSamples();
205 // profile for callee with largest total samples will be returned.
252 FunctionSamples *Samples = ContextNode->getFunctionSamples();
253 if (Samples && ContextNode->getParentContext() != &RootContext)
254 Samples->getContext().setState(InlinedContext);
256 return Samples;
325 assert(InlinedSamples && "Expect non-null inlined samples");
    [all...]
SampleProfile.cpp 20 // number of samples found in B.
126 // Command line option to specify the file to read samples from. This is
142 "callsite and function as having 0 samples. Otherwise, treat "
314 // Call site distribution factor to prorate the profile samples for a
329 // Tie breaker using number of samples try to favor smaller functions first
374 void findExternalInlineCandidate(const FunctionSamples *Samples,
434 /// Total number of samples collected in this profile.
436 /// This is the sum of all the samples collected in all the functions executed
560 // should not consume any profile samples.
590 uint64_t Samples = R.get() * Probe->Factor
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
SampleProfileLoaderBaseImpl.h 187 /// Samples collected for the body of this function.
188 FunctionSamples *Samples = nullptr;
200 /// Clear all the per-function data used to load samples and propagate weights.
254 /// The "weight" of an instruction \p Inst is the number of samples
258 /// look up the samples collected for \p Inst using BodySamples.
291 Remark << " samples from profile (offset: ";
370 return Samples;
374 it.first->second = Samples->findFunctionSamples(DIL, Reader->getRemapper());
431 BlockWeights[EC] = Samples->getHeadSamples() + 1;
439 /// Since samples may be missing from blocks, we can fill in the gaps by settin
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-profdata/
llvm-profdata.cpp 567 /// Make a copy of the given function samples with all symbol names remapped
570 remapSamples(const sampleprof::FunctionSamples &Samples,
573 Result.setName(Remapper(Samples.getName()));
574 Result.addTotalSamples(Samples.getTotalSamples());
575 Result.addHeadSamples(Samples.getHeadSamples());
576 for (const auto &BodySample : Samples.getBodySamples()) {
586 for (const auto &CallsiteSamples : Samples.getCallsiteSamples()) {
714 FunctionSamples &Samples = Remapper ? Remapped : I->second;
715 StringRef FName = Samples.getNameWithContext();
716 MergeResult(Result, ProfileMap[FName].merge(Samples, Input.Weight))
    [all...]

Completed in 47 milliseconds