13#ifndef MLIR_DIALECT_SPIRV_LINKING_MODULECOMBINER_H_
14#define MLIR_DIALECT_SPIRV_LINKING_MODULECOMBINER_H_
33 spirv::ModuleOp originalModule, StringRef oldSymbol, StringRef newSymbol)>;
This class helps build Operations.
This class acts as an owning reference to an op, and will automatically destroy the held op on destru...
function_ref< void( spirv::ModuleOp originalModule, StringRef oldSymbol, StringRef newSymbol)> SymbolRenameListener
The listener function to receive symbol renaming events.
OwningOpRef< spirv::ModuleOp > combine(ArrayRef< spirv::ModuleOp > inputModules, OpBuilder &combinedModuleBuilder, SymbolRenameListener symRenameListener)
Combines a list of SPIR-V inputModules into one.
Include the generated interface declarations.
llvm::function_ref< Fn > function_ref