brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.6 KiB · 02b9739 Raw
41 lines · plain
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-exception6//7//===----------------------------------------------------------------------===//8//9// This file is used as the registry of sub-passes that are part of the10// SandboxVectorizer pass.11//12//===----------------------------------------------------------------------===//13 14// NOTE: NO INCLUDE GUARD DESIRED!15 16#ifndef REGION_PASS17#define REGION_PASS(NAME, CLASS_NAME)18#endif19 20REGION_PASS("null", ::llvm::sandboxir::NullPass)21REGION_PASS("pack-reuse", ::llvm::sandboxir::PackReuse)22REGION_PASS("print-instruction-count", ::llvm::sandboxir::PrintInstructionCount)23REGION_PASS("print-region", ::llvm::sandboxir::PrintRegion)24REGION_PASS("tr-save", ::llvm::sandboxir::TransactionSave)25REGION_PASS("tr-accept", ::llvm::sandboxir::TransactionAlwaysAccept)26REGION_PASS("tr-revert", ::llvm::sandboxir::TransactionAlwaysRevert)27REGION_PASS("tr-accept-or-revert", ::llvm::sandboxir::TransactionAcceptOrRevert)28REGION_PASS("bottom-up-vec", ::llvm::sandboxir::BottomUpVec)29 30#undef REGION_PASS31 32#ifndef FUNCTION_PASS_WITH_PARAMS33#define FUNCTION_PASS_WITH_PARAMS(NAME, CLASS_NAME)34#endif35 36FUNCTION_PASS_WITH_PARAMS("seed-collection", ::llvm::sandboxir::SeedCollection)37FUNCTION_PASS_WITH_PARAMS("regions-from-bbs", ::llvm::sandboxir::RegionsFromBBs)38FUNCTION_PASS_WITH_PARAMS("regions-from-metadata", ::llvm::sandboxir::RegionsFromMetadata)39 40#undef FUNCTION_PASS_WITH_PARAMS41