Home
last modified time | relevance | path

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

/llvm-project/mlir/lib/Dialect/SPIRV/Linking/ModuleCombiner/
H A DModuleCombiner.cpp98 auto memoryModel = firstModule.getMemoryModel(); in combine() local
105 module.getMemoryModel() != memoryModel || in combine()
114 firstModule.getLoc(), addressingModel, memoryModel, vceTriple); in combine()
/llvm-project/mlir/lib/Conversion/GPUToSPIRV/
H A DGPUToSPIRV.cpp356 FailureOr<spirv::MemoryModel> memoryModel = spirv::getMemoryModel(targetEnv); in matchAndRewrite()
357 if (failed(memoryModel)) in matchAndRewrite()
364 moduleOp.getLoc(), addressingModel, *memoryModel, std::nullopt, in matchAndRewrite()
359 FailureOr<spirv::MemoryModel> memoryModel = spirv::getMemoryModel(targetEnv); matchAndRewrite() local
/llvm-project/mlir/lib/Target/SPIRV/Serialization/
H A DSerializer.cpp116 memoryModel.size() + entryPoints.size() + in collect()
128 binary.append(memoryModel.begin(), memoryModel.end()); in collect()
209 encodeInstructionInto(memoryModel, spirv::Opcode::OpMemoryModel, {am, mm}); in processMemoryModel()
H A DSerializer.h350 SmallVector<uint32_t, 3> memoryModel; variable
/llvm-project/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVOps.cpp1395 spirv::MemoryModel memoryModel, in print()
1402 builder.getAttr<spirv::MemoryModelAttr>(memoryModel)); in verify()
1423 spirv::MemoryModel memoryModel; in build()
1426 spirv::parseEnumKeywordAttr<spirv::MemoryModelAttr>(memoryModel, parser, in build()
1422 build(OpBuilder & builder,OperationState & state,spirv::AddressingModel addressingModel,spirv::MemoryModel memoryModel,std::optional<VerCapExtAttr> vceTriple,std::optional<StringRef> name) build() argument
1450 spirv::MemoryModel memoryModel; parse() local