1*700637cbSDimitry Andric//===- SPIRVPassRegistry.def - Registry of SPIRV passes -----*- C++--*-===// 2*700637cbSDimitry Andric// 3*700637cbSDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*700637cbSDimitry Andric// See https://llvm.org/LICENSE.txt for license information. 5*700637cbSDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*700637cbSDimitry Andric// 7*700637cbSDimitry Andric//===----------------------------------------------------------------------===// 8*700637cbSDimitry Andric// 9*700637cbSDimitry Andric// This file is used as the registry of passes that are part of the 10*700637cbSDimitry Andric// SPIRV backend. 11*700637cbSDimitry Andric// 12*700637cbSDimitry Andric//===----------------------------------------------------------------------===// 13*700637cbSDimitry Andric 14*700637cbSDimitry Andric// NOTE: NO INCLUDE GUARD DESIRED! 15*700637cbSDimitry Andric 16*700637cbSDimitry Andric 17*700637cbSDimitry Andric#ifndef FUNCTION_PASS 18*700637cbSDimitry Andric#define FUNCTION_PASS(NAME, CREATE_PASS) 19*700637cbSDimitry Andric#endif 20*700637cbSDimitry AndricFUNCTION_PASS("spirv-structurizer", SPIRVStructurizerWrapper()) 21*700637cbSDimitry Andric#undef FUNCTION_PASS 22