brintos

brintos / llvm-project-archived public Read only

0
0
Text · 874 B · 1ce131f Raw
27 lines · plain
1//===- SPIRVPassRegistry.def - Registry of SPIRV passes -----*- C++--*-===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8//9// This file is used as the registry of passes that are part of the10// SPIRV backend.11//12//===----------------------------------------------------------------------===//13 14// NOTE: NO INCLUDE GUARD DESIRED!15 16#ifndef MODULE_PASS17#define MODULE_PASS(NAME, CREATE_PASS)18#endif19MODULE_PASS("spirv-cbuffer-access", SPIRVCBufferAccess())20#undef MODULE_PASS21 22#ifndef FUNCTION_PASS23#define FUNCTION_PASS(NAME, CREATE_PASS)24#endif25FUNCTION_PASS("spirv-structurizer", SPIRVStructurizerWrapper())26#undef FUNCTION_PASS27