xref: /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/HexagonPassRegistry.def (revision 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583)
1*0fca6ea1SDimitry Andric//===- HexagonPassRegistry.def - Registry of Hexagon passes -----*- C++--*-===//
2*0fca6ea1SDimitry Andric//
3*0fca6ea1SDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*0fca6ea1SDimitry Andric// See https://llvm.org/LICENSE.txt for license information.
5*0fca6ea1SDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*0fca6ea1SDimitry Andric//
7*0fca6ea1SDimitry Andric//===----------------------------------------------------------------------===//
8*0fca6ea1SDimitry Andric//
9*0fca6ea1SDimitry Andric// This file is used as the registry of passes that are part of the
10*0fca6ea1SDimitry Andric// Hexagon backend.
11*0fca6ea1SDimitry Andric//
12*0fca6ea1SDimitry Andric//===----------------------------------------------------------------------===//
13*0fca6ea1SDimitry Andric
14*0fca6ea1SDimitry Andric// NOTE: NO INCLUDE GUARD DESIRED!
15*0fca6ea1SDimitry Andric
16*0fca6ea1SDimitry Andric#ifndef LOOP_PASS
17*0fca6ea1SDimitry Andric#define LOOP_PASS(NAME, CREATE_PASS)
18*0fca6ea1SDimitry Andric#endif
19*0fca6ea1SDimitry AndricLOOP_PASS("hexagon-loop-idiom", HexagonLoopIdiomRecognitionPass())
20*0fca6ea1SDimitry AndricLOOP_PASS("hexagon-vlcr", HexagonVectorLoopCarriedReusePass())
21*0fca6ea1SDimitry Andric#undef LOOP_PASS
22