| //===- PassRegistry.def - Registry of passes --------------------*- C++ -*-===// | |
| // | |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | |
| // See https://llvm.org/LICENSE.txt for license information. | |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
| // | |
| //===----------------------------------------------------------------------===// | |
| // | |
| // This file is used as the registry of sub-passes that are part of the | |
| // SandboxVectorizer pass. | |
| // | |
| //===----------------------------------------------------------------------===// | |
| // NOTE: NO INCLUDE GUARD DESIRED! | |
| #ifndef REGION_PASS | |
| #define REGION_PASS(NAME, CLASS_NAME) | |
| #endif | |
| REGION_PASS("null", ::llvm::sandboxir::NullPass) | |
| REGION_PASS("pack-reuse", ::llvm::sandboxir::PackReuse) | |
| REGION_PASS("print-instruction-count", ::llvm::sandboxir::PrintInstructionCount) | |
| REGION_PASS("print-region", ::llvm::sandboxir::PrintRegion) | |
| REGION_PASS("tr-save", ::llvm::sandboxir::TransactionSave) | |
| REGION_PASS("tr-accept", ::llvm::sandboxir::TransactionAlwaysAccept) | |
| REGION_PASS("tr-revert", ::llvm::sandboxir::TransactionAlwaysRevert) | |
| REGION_PASS("tr-accept-or-revert", ::llvm::sandboxir::TransactionAcceptOrRevert) | |
| REGION_PASS("bundle-vec", ::llvm::sandboxir::BundleVec) | |
| REGION_PASS("load-store-vec", ::llvm::sandboxir::LoadStoreVec) | |
| #undef REGION_PASS | |
| #ifndef FUNCTION_PASS_WITH_PARAMS | |
| #define FUNCTION_PASS_WITH_PARAMS(NAME, CLASS_NAME) | |
| #endif | |
| FUNCTION_PASS_WITH_PARAMS("seed-collection", ::llvm::sandboxir::SeedCollection) | |
| FUNCTION_PASS_WITH_PARAMS("regions-from-bbs", ::llvm::sandboxir::RegionsFromBBs) | |
| FUNCTION_PASS_WITH_PARAMS("regions-from-metadata", ::llvm::sandboxir::RegionsFromMetadata) | |
| #undef FUNCTION_PASS_WITH_PARAMS |