NFC: convert clang/test/AST/HLSL/StructuredBuffers-AST.hlsl to unix line endings
[llvm-project.git] / llvm / lib / Transforms / Vectorize / SandboxVectorizer / Passes / PassRegistry.def
blob0dc72842f1abe0ed6ae42b1b210c1460e3b4d428
1 //===- PassRegistry.def - Registry of 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-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file is used as the registry of sub-passes that are part of the
10 // SandboxVectorizer pass.
12 //===----------------------------------------------------------------------===//
14 // NOTE: NO INCLUDE GUARD DESIRED!
16 #ifndef REGION_PASS
17 #define REGION_PASS(NAME, CLASS_NAME)
18 #endif
20 REGION_PASS("null", ::llvm::sandboxir::NullPass)
21 REGION_PASS("print-instruction-count", ::llvm::sandboxir::PrintInstructionCount)
23 #undef REGION_PASS
25 #ifndef FUNCTION_PASS_WITH_PARAMS
26 #define FUNCTION_PASS_WITH_PARAMS(NAME, CLASS_NAME)
27 #endif
29 FUNCTION_PASS_WITH_PARAMS("bottom-up-vec", ::llvm::sandboxir::BottomUpVec)
30 FUNCTION_PASS_WITH_PARAMS("regions-from-metadata", ::llvm::sandboxir::RegionsFromMetadata)
32 #undef FUNCTION_PASS_WITH_PARAMS