LLVM 20.0.0git
Public Types | Public Member Functions | List of all members
llvm::AMDGPUSplitModulePass Class Reference

Splits the module M into N linkable partitions. More...

#include "Target/AMDGPU/AMDGPUSplitModule.h"

Inheritance diagram for llvm::AMDGPUSplitModulePass:
Inheritance graph
[legend]

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.
 

Detailed Description

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.

Member Typedef Documentation

◆ ModuleCreationCallback

Definition at line 24 of file AMDGPUSplitModule.h.

Constructor & Destructor Documentation

◆ AMDGPUSplitModulePass()

llvm::AMDGPUSplitModulePass::AMDGPUSplitModulePass ( unsigned  N,
ModuleCreationCallback  ModuleCallback 
)
inline

Definition at line 27 of file AMDGPUSplitModule.h.

References N.

Member Function Documentation

◆ run()

PreservedAnalyses AMDGPUSplitModulePass::run ( Module M,
ModuleAnalysisManager MAM 
)

The documentation for this class was generated from the following files: