MLIR  20.0.0git
Namespaces | Macros | Typedefs | Functions
Passes.h File Reference
#include "mlir/Dialect/SPIRV/IR/SPIRVAttributes.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Dialect/SPIRV/Transforms/Passes.h.inc"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::spirv
 

Macros

#define GEN_PASS_DECL
 
#define GEN_PASS_REGISTRATION
 Generate the code for registering passes. More...
 

Typedefs

using mlir::spirv::GetTargetEnvFn = std::function< spirv::TargetEnvAttr(spirv::ModuleOp)>
 Creates an operation pass that unifies access of multiple aliased resources into access of one single resource. More...
 

Functions

std::unique_ptr< OperationPass< spirv::ModuleOp > > mlir::spirv::createUnifyAliasedResourcePass (GetTargetEnvFn getTargetEnv=nullptr)
 

Macro Definition Documentation

◆ GEN_PASS_DECL

#define GEN_PASS_DECL

Definition at line 31 of file Passes.h.

◆ GEN_PASS_REGISTRATION

#define GEN_PASS_REGISTRATION

Generate the code for registering passes.

Definition at line 45 of file Passes.h.