#include "mlir/Conversion/ControlFlowToSPIRV/ControlFlowToSPIRVPass.h"
#include "mlir/Conversion/ControlFlowToSPIRV/ControlFlowToSPIRV.h"
#include "mlir/Dialect/SPIRV/IR/SPIRVDialect.h"
#include "mlir/Dialect/SPIRV/Transforms/SPIRVConversion.h"
namespace mlir {
#define GEN_PASS_DEF_CONVERTCONTROLFLOWTOSPIRV
#include "mlir/Conversion/Passes.h.inc"
}
usingnamespacemlir;
namespace {
class ConvertControlFlowToSPIRVPass final
: public impl::ConvertControlFlowToSPIRVBase<
ConvertControlFlowToSPIRVPass> { … };
}
void ConvertControlFlowToSPIRVPass::runOnOperation() { … }
std::unique_ptr<OperationPass<>> mlir::createConvertControlFlowToSPIRVPass() { … }