MLIR  16.0.0git
Namespaces | Functions
TranslateRegistration.cpp File Reference
#include "mlir/Dialect/SPIRV/IR/SPIRVDialect.h"
#include "mlir/Dialect/SPIRV/IR/SPIRVOps.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/Dialect.h"
#include "mlir/IR/Verifier.h"
#include "mlir/Parser/Parser.h"
#include "mlir/Support/FileUtilities.h"
#include "mlir/Target/SPIRV/Deserialization.h"
#include "mlir/Target/SPIRV/Serialization.h"
#include "mlir/Tools/mlir-translate/Translation.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/SMLoc.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/ToolOutputFile.h"
+ Include dependency graph for TranslateRegistration.cpp:

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 

Functions

static OwningOpRef< ModuleOp > deserializeModule (const llvm::MemoryBuffer *input, MLIRContext *context)
 
void mlir::registerFromSPIRVTranslation ()
 
static LogicalResult serializeModule (ModuleOp module, raw_ostream &output)
 
void mlir::registerToSPIRVTranslation ()
 
static LogicalResult roundTripModule (ModuleOp srcModule, bool emitDebugInfo, raw_ostream &output)
 
void mlir::registerTestRoundtripSPIRV ()
 
void mlir::registerTestRoundtripDebugSPIRV ()
 

Function Documentation

◆ deserializeModule()

static OwningOpRef<ModuleOp> deserializeModule ( const llvm::MemoryBuffer *  input,
MLIRContext context 
)
static

◆ roundTripModule()

static LogicalResult roundTripModule ( ModuleOp  srcModule,
bool  emitDebugInfo,
raw_ostream &  output 
)
static

◆ serializeModule()

static LogicalResult serializeModule ( ModuleOp  module,
raw_ostream &  output 
)
static