xref: /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmInfo.h (revision 349cc55c9796c4596a5b9904cd3281af295f878f)
1 //====-- SystemZMCAsmInfo.h - SystemZ asm properties -----------*- 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-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_LIB_TARGET_SYSTEMZ_MCTARGETDESC_SYSTEMZMCASMINFO_H
10 #define LLVM_LIB_TARGET_SYSTEMZ_MCTARGETDESC_SYSTEMZMCASMINFO_H
11 
12 #include "llvm/MC/MCAsmInfoELF.h"
13 #include "llvm/MC/MCAsmInfoGOFF.h"
14 #include "llvm/Support/Compiler.h"
15 
16 namespace llvm {
17 class Triple;
18 enum SystemZAsmDialect { AD_ATT = 0, AD_HLASM = 1 };
19 
20 class SystemZMCAsmInfoELF : public MCAsmInfoELF {
21 public:
22   explicit SystemZMCAsmInfoELF(const Triple &TT);
23 };
24 
25 class SystemZMCAsmInfoGOFF : public MCAsmInfoGOFF {
26 public:
27   explicit SystemZMCAsmInfoGOFF(const Triple &TT);
28   bool isAcceptableChar(char C) const override;
29 };
30 
31 } // end namespace llvm
32 
33 #endif
34