14#ifndef LLVM_CODEGEN_MIRSAMPLEPROFILE_H
15#define LLVM_CODEGEN_MIRSAMPLEPROFILE_H
39 std::string ProfileFileName;
48 std::string RemappingFileName =
"",
60 bool doInitialization(
Module &M)
override;
63 std::unique_ptr<MIRProfileLoader> MIRSampleLoader;
This file defines the RefCountedBase, ThreadSafeRefCountedBase, and IntrusiveRefCntPtr classes.
Represent the analysis usage information of a pass.
A smart pointer to a reference-counted object that inherits from RefCountedBase or ThreadSafeRefCount...
const MachineFunction * getMachineFunction() const
getMachineFunction - Return the last machine function computed.
MIRProfileLoaderPass(std::string FileName="", std::string RemappingFileName="", FSDiscriminatorPass P=FSDiscriminatorPass::Pass1, IntrusiveRefCntPtr< vfs::FileSystem > FS=nullptr)
FS bits will only use the '1' bits in the Mask.
StringRef getPassName() const override
getPassName - Return a nice clean name for a pass.
MachineBlockFrequencyInfo pass uses BlockFrequencyInfoImpl implementation to estimate machine basic b...
MachineFunctionPass(char &ID)
A Module instance is used to store all the information related to an LLVM module.
StringRef - Represent a constant reference to a string, i.e.
The virtual file system interface.
This is an optimization pass for GlobalISel generic memory operations.