Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Linking/ModuleCombiner/
H A DModuleCombiner.cpp98 auto memoryModel = firstModule.memory_model(); in combine() local
105 module.memory_model() != memoryModel || in combine()
114 firstModule.getLoc(), addressingModel, memoryModel, vceTriple); in combine()
/llvm-project-15.0.7/mlir/lib/Conversion/GPUToSPIRV/
H A DGPUToSPIRV.cpp309 FailureOr<spirv::MemoryModel> memoryModel = spirv::getMemoryModel(targetEnv); in matchAndRewrite() local
310 if (failed(memoryModel)) in matchAndRewrite()
317 moduleOp.getLoc(), addressingModel, *memoryModel, llvm::None, in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Target/SPIRV/Serialization/
H A DSerializer.cpp113 memoryModel.size() + entryPoints.size() + in collect()
124 binary.append(memoryModel.begin(), memoryModel.end()); in collect()
198 encodeInstructionInto(memoryModel, spirv::Opcode::OpMemoryModel, {am, mm}); in processMemoryModel()
H A DSerializer.h347 SmallVector<uint32_t, 3> memoryModel; variable
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVOps.cpp3148 spirv::MemoryModel memoryModel, in build() argument
3155 static_cast<int32_t>(memoryModel))); in build()
3175 spirv::MemoryModel memoryModel; in parse() local
3177 ::parseEnumKeywordAttr(memoryModel, parser, state)) in parse()