MLIR
20.0.0git
|
#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"
Go to the source code of this file.
Namespaces | |
mlir | |
Include the generated interface declarations. | |
Functions | |
static OwningOpRef< Operation * > | deserializeModule (const llvm::MemoryBuffer *input, MLIRContext *context) |
void | mlir::registerFromSPIRVTranslation () |
static LogicalResult | serializeModule (spirv::ModuleOp module, raw_ostream &output) |
void | mlir::registerToSPIRVTranslation () |
static LogicalResult | roundTripModule (spirv::ModuleOp module, bool emitDebugInfo, raw_ostream &output) |
void | mlir::registerTestRoundtripSPIRV () |
void | mlir::registerTestRoundtripDebugSPIRV () |
|
static |
Definition at line 40 of file TranslateRegistration.cpp.
References mlir::spirv::deserialize(), mlir::emitError(), mlir::get(), and mlir::MLIRContext::loadDialect().
Referenced by mlir::registerFromSPIRVTranslation().
|
static |
Definition at line 102 of file TranslateRegistration.cpp.
References mlir::spirv::deserialize(), mlir::MLIRContext::getDialectRegistry(), mlir::MLIRContext::loadAllAvailableDialects(), options, and mlir::spirv::serialize().
Referenced by mlir::registerTestRoundtripDebugSPIRV(), and mlir::registerTestRoundtripSPIRV().
|
static |
Definition at line 73 of file TranslateRegistration.cpp.
References mlir::spirv::serialize().
Referenced by mlir::registerToSPIRVTranslation().