| 23 | //===----------------------------------------------------------------------===// |
| 24 | |
| 25 | static OwningOpRef<Operation *> deserializeModule(llvm::StringRef bytecodeStr, |
| 26 | MLIRContext *context) { |
| 27 | llvm::MemoryBufferRef bytecodeBufferRef(bytecodeStr, |
| 28 | "deserializeModuleBuffer"); |
| 29 | auto dialect = context->getOrLoadDialect<CudaTileDialect>(); |
| 30 | dialect->setWarnUnsupportedHints(getWarnUnsupportedHints()); |
| 31 | dialect->setErrorOnHints(getErrorUnsupportedHints()); |
| 32 | return readBytecode(bytecodeBufferRef, *context); |
| 33 | } |
| 34 | |
| 35 | static void registerFromTileIRBytecodeTranslation() { |
| 36 | TranslateToMLIRRegistration fromBytecode( |
no outgoing calls
no test coverage detected