Go to the documentation of this file.
14 #ifndef LLVM_CODEGEN_MIRSAMPLEPROFILE_H
15 #define LLVM_CODEGEN_MIRSAMPLEPROFILE_H
25 class MachineBlockFrequencyInfo;
26 class MachineFunction;
29 using namespace sampleprof;
31 class MIRProfileLoader;
34 std::string ProfileFileName;
43 std::string RemappingFileName =
"",
54 bool doInitialization(
Module &M)
override;
57 std::unique_ptr<MIRProfileLoader> MIRSampleLoader;
64 #endif // LLVM_CODEGEN_MIRSAMPLEPROFILE_H
This is an optimization pass for GlobalISel generic memory operations.
const MachineFunction * getMachineFunction() const
getMachineFunction - Return the last machine function computed.
This currently compiles esp xmm0 movsd esp eax eax esp ret We should use not the dag combiner This is because dagcombine2 needs to be able to see through the X86ISD::Wrapper which DAGCombine can t really do The code for turning x load into a single vector load is target independent and should be moved to the dag combiner The code for turning x load into a vector load can only handle a direct load from a global or a direct load from the stack It should be generalized to handle any load from P
MachineFunctionPass - This class adapts the FunctionPass interface to allow convenient creation of pa...
MachineBlockFrequencyInfo pass uses BlockFrequencyInfoImpl implementation to estimate machine basic b...
Represent the analysis usage information of a pass.
StringRef getPassName() const override
getPassName - Return a nice clean name for a pass.
initializer< Ty > init(const Ty &Val)
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.
Machine Check Debug Module