Home
last modified time | relevance | path

Searched refs:Samples (Results 1 – 21 of 21) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DProfiledCallGraph.h47 for (const auto &Samples : ProfileMap) { in ProfiledCallGraph() local
48 addProfiledCalls(Samples.second); in ProfiledCallGraph()
103 void addProfiledCalls(const FunctionSamples &Samples) { in addProfiledCalls() argument
104 addProfiledFunction(Samples.getFuncName()); in addProfiledCalls()
106 for (const auto &Sample : Samples.getBodySamples()) { in addProfiledCalls()
109 addProfiledCall(Samples.getFuncName(), Target.first()); in addProfiledCalls()
113 for (const auto &CallsiteSamples : Samples.getCallsiteSamples()) { in addProfiledCalls()
116 addProfiledCall(Samples.getFuncName(), InlinedSamples.first); in addProfiledCalls()
H A DSampleProfileProbe.h93 bool profileIsValid(const Function &F, const FunctionSamples &Samples) const;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InsertPrefetch.cpp51 bool findPrefetchInfo(const FunctionSamples *Samples, const MachineInstr &MI,
73 if (const auto *Samples = TopSamples->findFunctionSamples(Loc)) in getPrefetchHints() local
74 return Samples->findCallTargetMapAt(FunctionSamples::getOffset(Loc), in getPrefetchHints()
182 const FunctionSamples *Samples = Reader->getSamplesFor(MF.getFunction()); in runOnMachineFunction() local
183 if (!Samples) in runOnMachineFunction()
204 if (!findPrefetchInfo(Samples, *Current, Prefetches)) in runOnMachineFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp53 FunctionSamples *Samples = ChildNode.getFunctionSamples(); in getHottestChildContext() local
54 if (!Samples) in getHottestChildContext()
56 if (Samples->getTotalSamples() > MaxCalleeSamples) { in getHottestChildContext()
58 MaxCalleeSamples = Samples->getTotalSamples(); in getHottestChildContext()
252 FunctionSamples *Samples = ContextNode->getFunctionSamples(); in getContextSamplesFor() local
253 if (Samples && ContextNode->getParentContext() != &RootContext) in getContextSamplesFor()
254 Samples->getContext().setState(InlinedContext); in getContextSamplesFor()
256 return Samples; in getContextSamplesFor()
H A DSampleProfile.cpp380 void findExternalInlineCandidate(const FunctionSamples *Samples,
587 uint64_t Samples = R.get() * Probe->Factor; in getProbeWeight() local
592 Remark << "Applied " << ore::NV("NumSamples", Samples); in getProbeWeight()
606 return Samples; in getProbeWeight()
715 return Samples; in findFunctionSamples()
958 assert(Samples && "expect non-null caller profile"); in findExternalInlineCandidate()
968 ContextTracker->getContextFor(Samples->getContext()); in findExternalInlineCandidate()
1587 if (!ProbeManager->profileIsValid(F, *Samples)) { in emitAnnotations()
1973 Samples = ContextTracker->getBaseSamplesFor(F); in runOnFunction()
1975 Samples = Reader->getSamplesFor(F); in runOnFunction()
[all …]
H A DSampleProfileProbe.cpp198 const FunctionSamples &Samples) const { in profileIsValid()
205 if (Desc->getFunctionHash() != Samples.getFunctionHash()) { in profileIsValid()
/freebsd-13.1/contrib/googletest/googletest/
H A DMakefile.am150 xcode/Samples/FrameworkSample/Info.plist \
151 xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj \
152 xcode/Samples/FrameworkSample/runtests.sh \
153 xcode/Samples/FrameworkSample/widget.cc \
154 xcode/Samples/FrameworkSample/widget.h \
155 xcode/Samples/FrameworkSample/widget_test.cc
H A DCMakeLists.txt155 # Samples on how to link user tests with gtest or gtest_main.
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileLoaderBaseImpl.h188 FunctionSamples *Samples = nullptr;
373 return Samples;
377 it.first->second = Samples->findFunctionSamples(DIL, Reader->getRemapper());
434 BlockWeights[EC] = Samples->getHeadSamples() + 1;
835 ProfileCount(Samples->getHeadSamples() + 1, Function::PCT_Real),
856 unsigned Used = CoverageTracker.countUsedRecords(Samples, PSI);
857 unsigned Total = CoverageTracker.countBodyRecords(Samples, PSI);
870 uint64_t Total = CoverageTracker.countBodySamples(Samples, PSI);
H A DSampleProfileLoaderBaseUtil.h44 uint32_t Discriminator, uint64_t Samples);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSampleProfileLoaderBaseUtil.cpp76 uint64_t Samples) { in markSamplesUsed() argument
81 TotalUsedSamples += Samples; in markSamplesUsed()
/freebsd-13.1/contrib/googletest/googletest/docs/
H A Dsamples.md1 # Googletest Samples {#samples}
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp589 remapSamples(const sampleprof::FunctionSamples &Samples, in remapSamples() argument
592 Result.setName(Remapper(Samples.getName())); in remapSamples()
593 Result.addTotalSamples(Samples.getTotalSamples()); in remapSamples()
594 Result.addHeadSamples(Samples.getHeadSamples()); in remapSamples()
595 for (const auto &BodySample : Samples.getBodySamples()) { in remapSamples()
606 for (const auto &CallsiteSamples : Samples.getCallsiteSamples()) { in remapSamples()
735 FunctionSamples &Samples = Remapper ? Remapped : I->second; in mergeSampleProfile() local
736 StringRef FName = Samples.getNameWithContext(); in mergeSampleProfile()
737 MergeResult(Result, ProfileMap[FName].merge(Samples, Input.Weight)); in mergeSampleProfile()
/freebsd-13.1/contrib/googletest/
H A DBUILD.bazel147 #All Samples except:
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h973 SampleSorter(const std::map<LocationT, SampleT> &Samples) {
974 for (const auto &I : Samples)
/freebsd-13.1/contrib/file/magic/Magdir/
H A Dasf32 >>>82 lelong x \b, Samples Per Second %d
H A Daudio401 # Track Length (TRL), Tracks (TRK), Samples (SMP), Subsongs (SS)
H A Dimages1567 # Samples: https://www.loci.wisc.edu/software/sample-data
/freebsd-13.1/contrib/googletest/googlemock/test/
H A Dgmock-matchers_test.cc6189 INSTANTIATE_TEST_CASE_P(Samples, BipartiteRandomTest,
/freebsd-13.1/contrib/ncurses/
H A Daclocal.m41903 dnl functions versus the total of incorrect uses. Samples of a few thousand
/freebsd-13.1/contrib/ncurses/misc/
H A Dterminfo.src20947 # Samples with TERM=viewdata and TERM=viewdata-rv: http://canal.chez.com/blog/