Home
last modified time | relevance | path

Searched refs:spirvModule (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Target/SPIRV/
H A DTranslateRegistration.cpp55 OwningOpRef<spirv::ModuleOp> spirvModule = in deserializeModule() local
57 if (!spirvModule) in deserializeModule()
62 module->getBody()->push_front(spirvModule.release()); in deserializeModule()
145 OwningOpRef<spirv::ModuleOp> spirvModule = in roundTripModule() local
147 if (!spirvModule) in roundTripModule()
154 dstModule->getBody()->push_front(spirvModule.release()); in roundTripModule()
/llvm-project-15.0.7/mlir/lib/Conversion/GPUToVulkan/
H A DConvertGPULaunchFuncToVulkanLaunchFunc.cpp95 for (auto spirvModule : in runOnOperation() local
97 spirvModule.erase(); in runOnOperation()
135 for (auto spirvModule : module.getOps<spirv::ModuleOp>()) { in createBinaryShader() local
137 return spirvModule.emitError("should only contain one 'spv.module' op"); in createBinaryShader()
140 if (failed(spirv::serialize(spirvModule, binary))) in createBinaryShader()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/
H A DDecorateCompositeTypeLayoutPass.cpp66 auto spirvModule = op->getParentOfType<spirv::ModuleOp>(); in matchAndRewrite() local
68 auto varOp = spirvModule.lookupSymbol<spirv::GlobalVariableOp>(varName); in matchAndRewrite()
137 for (auto spirvModule : module.getOps<spirv::ModuleOp>()) in runOnOperation() local
138 if (failed(applyFullConversion(spirvModule, target, frozenPatterns))) in runOnOperation()
H A DLowerABIAttributesPass.cpp30 auto spirvModule = funcOp->getParentOfType<spirv::ModuleOp>(); in createGlobalVarForEntryPointArgument() local
31 if (!spirvModule) in createGlobalVarForEntryPointArgument()
117 auto spirvModule = funcOp->getParentOfType<spirv::ModuleOp>(); in lowerEntryPointABIAttr() local
118 builder.setInsertionPointToEnd(spirvModule.getBody()); in lowerEntryPointABIAttr()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVOps.cpp2580 if (auto spirvModule = (*this)->getParentOfType<spirv::ModuleOp>()) in verify() local
2581 targetEnv = spirv::lookupTargetEnvOrDefault(spirvModule); in verify()