xref: /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmInfo.h (revision ec0ea6efa1ad229d75c394c1a9b9cac33af2b1d3)
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/Support/Compiler.h"
14 
15 namespace llvm {
16 class Triple;
17 enum SystemZAsmDialect { AD_ATT = 0, AD_HLASM = 1 };
18 
19 class SystemZMCAsmInfo : public MCAsmInfoELF {
20 public:
21   explicit SystemZMCAsmInfo(const Triple &TT);
22   bool isAcceptableChar(char C) const override;
23 };
24 
25 } // end namespace llvm
26 
27 #endif
28