xref: /llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/PassRegistry.def (revision 2e8ad49e7cffb22a169c22d02607708c71a80c65)
1756ec99cSJorge Gorbe Moya//===- PassRegistry.def - Registry of passes --------------------*- C++ -*-===//
2756ec99cSJorge Gorbe Moya//
3756ec99cSJorge Gorbe Moya// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4756ec99cSJorge Gorbe Moya// See https://llvm.org/LICENSE.txt for license information.
5756ec99cSJorge Gorbe Moya// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6756ec99cSJorge Gorbe Moya//
7756ec99cSJorge Gorbe Moya//===----------------------------------------------------------------------===//
8756ec99cSJorge Gorbe Moya//
9756ec99cSJorge Gorbe Moya// This file is used as the registry of sub-passes that are part of the
10756ec99cSJorge Gorbe Moya// SandboxVectorizer pass.
11756ec99cSJorge Gorbe Moya//
12756ec99cSJorge Gorbe Moya//===----------------------------------------------------------------------===//
13756ec99cSJorge Gorbe Moya
14756ec99cSJorge Gorbe Moya// NOTE: NO INCLUDE GUARD DESIRED!
15756ec99cSJorge Gorbe Moya
16756ec99cSJorge Gorbe Moya#ifndef REGION_PASS
17*2e8ad49eSJorge Gorbe Moya#define REGION_PASS(NAME, CLASS_NAME)
18756ec99cSJorge Gorbe Moya#endif
19756ec99cSJorge Gorbe Moya
20*2e8ad49eSJorge Gorbe MoyaREGION_PASS("null", ::llvm::sandboxir::NullPass)
21*2e8ad49eSJorge Gorbe MoyaREGION_PASS("print-instruction-count", ::llvm::sandboxir::PrintInstructionCount)
22756ec99cSJorge Gorbe Moya
23756ec99cSJorge Gorbe Moya#undef REGION_PASS
24*2e8ad49eSJorge Gorbe Moya
25*2e8ad49eSJorge Gorbe Moya#ifndef FUNCTION_PASS_WITH_PARAMS
26*2e8ad49eSJorge Gorbe Moya#define FUNCTION_PASS_WITH_PARAMS(NAME, CLASS_NAME)
27*2e8ad49eSJorge Gorbe Moya#endif
28*2e8ad49eSJorge Gorbe Moya
29*2e8ad49eSJorge Gorbe MoyaFUNCTION_PASS_WITH_PARAMS("bottom-up-vec", ::llvm::sandboxir::BottomUpVec)
30*2e8ad49eSJorge Gorbe MoyaFUNCTION_PASS_WITH_PARAMS("regions-from-metadata", ::llvm::sandboxir::RegionsFromMetadata)
31*2e8ad49eSJorge Gorbe Moya
32*2e8ad49eSJorge Gorbe Moya#undef FUNCTION_PASS_WITH_PARAMS
33