Lines Matching defs:SampleProfileLoader

9 // This file implements the SampleProfileLoader transformation. This pass
465 class SampleProfileLoader final : public SampleProfileLoaderBaseImpl<Function> {
467 SampleProfileLoader(
653 ErrorOr<uint64_t> SampleProfileLoader::getInstWeight(const Instruction &Inst) {
694 SampleProfileLoader::findCalleeFunctionSamples(const CallBase &Inst) const {
720 SampleProfileLoader::findIndirectCallFunctionSamples(
775 SampleProfileLoader::findFunctionSamples(const Instruction &Inst) const {
919 bool SampleProfileLoader::tryPromoteAndInlineCandidate(
992 bool SampleProfileLoader::shouldInlineColdCallee(CallBase &CallInst) {
1012 void SampleProfileLoader::emitOptimizationRemarksForInlineCandidates(
1029 void SampleProfileLoader::findExternalInlineCandidate(
1133 bool SampleProfileLoader::inlineHotFunctions(
1230 bool SampleProfileLoader::tryInlineCandidate(
1295 bool SampleProfileLoader::getInlineCandidate(InlineCandidate *NewCandidate,
1320 SampleProfileLoader::getExternalInlineAdvisorCost(CallBase &CB) {
1337 bool SampleProfileLoader::getExternalInlineAdvisorShouldInline(CallBase &CB) {
1343 SampleProfileLoader::shouldInlineCandidate(InlineCandidate &Candidate) {
1408 bool SampleProfileLoader::inlineHotFunctionsWithPriority(
1540 void SampleProfileLoader::promoteMergeNotInlinedContextSamples(
1612 void SampleProfileLoader::generateMDProfMetadata(Function &F) {
1785 bool SampleProfileLoader::emitAnnotations(Function &F) {
1829 SampleProfileLoader::buildProfiledCallGraph(Module &M) {
1850 SampleProfileLoader::buildFunctionOrder(Module &M, LazyCallGraph &CG) {
1954 bool SampleProfileLoader::doInitialization(Module &M,
2089 bool SampleProfileLoader::rejectHighStalenessProfile(
2128 void SampleProfileLoader::removePseudoProbeInsts(Module &M) {
2142 bool SampleProfileLoader::runOnModule(Module &M, ModuleAnalysisManager *AM,
2220 bool SampleProfileLoader::runOnFunction(Function &F, ModuleAnalysisManager *AM) {
2331 SampleProfileLoader SampleLoader(