11#ifndef LLVM_TARGET_AMDGPUSPLITMODULE_H
12#define LLVM_TARGET_AMDGPUSPLITMODULE_H
28 :
N(
N), ModuleCallback(ModuleCallback) {}
This header defines various interfaces for pass management in LLVM.
ModuleAnalysisManager MAM
Splits the module M into N linkable partitions.
PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM)
AMDGPUSplitModulePass(unsigned N, ModuleCreationCallback ModuleCallback)
function_ref< void(std::unique_ptr< Module > MPart)> ModuleCreationCallback
A container for analyses that lazily runs them and caches their results.
A Module instance is used to store all the information related to an LLVM module.
A set of analyses that are preserved following a run of a transformation pass.
This is an optimization pass for GlobalISel generic memory operations.
A CRTP mix-in to automatically provide informational APIs needed for passes.