22 lines · plain
1//===- HexagonPassRegistry.def - Registry of Hexagon 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 passes that are part of the10// Hexagon backend.11//12//===----------------------------------------------------------------------===//13 14// NOTE: NO INCLUDE GUARD DESIRED!15 16#ifndef LOOP_PASS17#define LOOP_PASS(NAME, CREATE_PASS)18#endif19LOOP_PASS("hexagon-loop-idiom", HexagonLoopIdiomRecognitionPass())20LOOP_PASS("hexagon-vlcr", HexagonVectorLoopCarriedReusePass())21#undef LOOP_PASS22