LLVM 20.0.0git
|
Splits the module M into N linkable partitions. More...
#include "Target/AMDGPU/AMDGPUSplitModule.h"
Public Types | |
using | ModuleCreationCallback = function_ref< void(std::unique_ptr< Module > MPart)> |
Public Member Functions | |
AMDGPUSplitModulePass (unsigned N, ModuleCreationCallback ModuleCallback) | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &MAM) |
Public Member Functions inherited from llvm::PassInfoMixin< AMDGPUSplitModulePass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< AMDGPUSplitModulePass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Splits the module M into N linkable partitions.
The function ModuleCallback is called N times passing each individual partition as the MPart argument.
Definition at line 22 of file AMDGPUSplitModule.h.
using llvm::AMDGPUSplitModulePass::ModuleCreationCallback = function_ref<void(std::unique_ptr<Module> MPart)> |
Definition at line 24 of file AMDGPUSplitModule.h.
|
inline |
Definition at line 27 of file AMDGPUSplitModule.h.
References N.
PreservedAnalyses AMDGPUSplitModulePass::run | ( | Module & | M, |
ModuleAnalysisManager & | MAM | ||
) |
Definition at line 778 of file AMDGPUSplitModule.cpp.
References llvm::PreservedAnalyses::all(), F, FAM, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), and MAM.