1 //===- PassRegistry.def
- Registry of passes
--------------------*- C
++ -*-===//
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
7 //===----------------------------------------------------------------------===//
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
!
17 #define
REGION_PASS(NAME
, CLASS_NAME
)
20 REGION_PASS("null", ::llvm
::sandboxir
::NullPass
)
21 REGION_PASS("print-instruction-count", ::llvm
::sandboxir
::PrintInstructionCount
)
25 #ifndef FUNCTION_PASS_WITH_PARAMS
26 #define
FUNCTION_PASS_WITH_PARAMS(NAME
, CLASS_NAME
)
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