Home
last modified time | relevance | path

Searched refs:spvModule (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Conversion/SPIRVToLLVM/
H A DConvertLaunchFuncToLLVMCalls.cpp173 auto spvModule = module.lookupSymbol<spirv::ModuleOp>( in matchAndRewrite() local
175 if (!spvModule) { in matchAndRewrite()
202 if (failed(getKernelGlobalVariables(spvModule, globalVariableMap))) in matchAndRewrite()
312 for (auto spvModule : module.getOps<spirv::ModuleOp>()) in runOnOperation() local
313 (void)encodeKernelName(spvModule); in runOnOperation()
H A DSPIRVToLLVM.cpp1578 for (auto spvModule : spvModules) { in encodeBindAttribute() local
1579 spvModule.walk([&](spirv::GlobalVariableOp op) { in encodeBindAttribute()
1589 spvModule.getName().has_value() in encodeBindAttribute()
1590 ? spvModule.getName().value().str() + "_" + op.sym_name().str() in encodeBindAttribute()
1600 if (failed(SymbolTable::replaceAllSymbolUses(op, nameAttr, spvModule))) in encodeBindAttribute()
/llvm-project-15.0.7/mlir/lib/Conversion/GPUToSPIRV/
H A DGPUToSPIRV.cpp316 auto spvModule = rewriter.create<spirv::ModuleOp>( in matchAndRewrite() local
321 Region &spvModuleRegion = spvModule.getRegion(); in matchAndRewrite()