class SampleProfileLoaderPass

Declaration

class SampleProfileLoaderPass : public PassInfoMixin { /* full declaration omitted */ };

Description

The sample profiler data loader pass.

Declared at: llvm/include/llvm/Transforms/IPO/SampleProfile.h:26

Inherits from: PassInfoMixin

Member Variables

private std::string ProfileFileName
private std::string ProfileRemappingFileName
private const llvm::ThinOrFullLTOPhase LTOPhase

Method Overview

  • public SampleProfileLoaderPass(std::string File = "", std::string RemappingFile = "", llvm::ThinOrFullLTOPhase LTOPhase = ThinOrFullLTOPhase::None)
  • public llvm::PreservedAnalyses run(llvm::Module & M, llvm::ModuleAnalysisManager & AM)

Methods

SampleProfileLoaderPass(
    std::string File = "",
    std::string RemappingFile = "",
    llvm::ThinOrFullLTOPhase LTOPhase =
        ThinOrFullLTOPhase::None)

Declared at: llvm/include/llvm/Transforms/IPO/SampleProfile.h:28

Parameters

std::string File = ""
std::string RemappingFile = ""
llvm::ThinOrFullLTOPhase LTOPhase = ThinOrFullLTOPhase::None

llvm::PreservedAnalyses run(
    llvm::Module& M,
    llvm::ModuleAnalysisManager& AM)

Declared at: llvm/include/llvm/Transforms/IPO/SampleProfile.h:34

Parameters

llvm::Module& M
llvm::ModuleAnalysisManager& AM