xref: /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/GISel/M68kLegalizerInfo.h (revision 1db9f3b21e39176dd5b67cf8ac378633b172463e)
1*04eeddc0SDimitry Andric //===-- M68kLegalizerInfo ---------------------------------------*- C++ -*-===//
2349cc55cSDimitry Andric //
3349cc55cSDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4349cc55cSDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
5349cc55cSDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6349cc55cSDimitry Andric //
7349cc55cSDimitry Andric //===----------------------------------------------------------------------===//
8349cc55cSDimitry Andric /// \file
9349cc55cSDimitry Andric /// This file declares the targeting of the MachineLegalizer class for
10349cc55cSDimitry Andric /// M68k.
11349cc55cSDimitry Andric /// \todo This should be generated by TableGen.
12349cc55cSDimitry Andric //===----------------------------------------------------------------------===//
13349cc55cSDimitry Andric 
14349cc55cSDimitry Andric #ifndef LLVM_LIB_TARGET_M68K_GLSEL_M68KLEGALIZERINFO_H
15349cc55cSDimitry Andric #define LLVM_LIB_TARGET_M68K_GLSEL_M68KLEGALIZERINFO_H
16349cc55cSDimitry Andric 
17349cc55cSDimitry Andric #include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
18349cc55cSDimitry Andric 
19349cc55cSDimitry Andric namespace llvm {
20349cc55cSDimitry Andric 
21349cc55cSDimitry Andric class M68kSubtarget;
22349cc55cSDimitry Andric 
23349cc55cSDimitry Andric struct M68kLegalizerInfo : public LegalizerInfo {
24349cc55cSDimitry Andric public:
25349cc55cSDimitry Andric   M68kLegalizerInfo(const M68kSubtarget &ST);
26349cc55cSDimitry Andric };
27349cc55cSDimitry Andric } // end namespace llvm
28349cc55cSDimitry Andric #endif // LLVM_LIB_TARGET_M68K_GLSEL_M68KLEGALIZERINFO_H
29