xref: /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.h (revision e8d8bef961a50d4dc22501cde4fb9fb0be1b2532)
10b57cec5SDimitry Andric //===-- PPCMCAsmInfo.h - PPC asm properties --------------------*- C++ -*--===//
20b57cec5SDimitry Andric //
30b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
40b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
50b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
60b57cec5SDimitry Andric //
70b57cec5SDimitry Andric //===----------------------------------------------------------------------===//
80b57cec5SDimitry Andric //
90b57cec5SDimitry Andric // This file contains the declarations of the PowerPC MCAsmInfo classes.
100b57cec5SDimitry Andric //
110b57cec5SDimitry Andric //===----------------------------------------------------------------------===//
120b57cec5SDimitry Andric 
130b57cec5SDimitry Andric #ifndef LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCMCASMINFO_H
140b57cec5SDimitry Andric #define LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCMCASMINFO_H
150b57cec5SDimitry Andric 
160b57cec5SDimitry Andric #include "llvm/MC/MCAsmInfoELF.h"
170b57cec5SDimitry Andric #include "llvm/MC/MCAsmInfoXCOFF.h"
180b57cec5SDimitry Andric 
190b57cec5SDimitry Andric namespace llvm {
200b57cec5SDimitry Andric class Triple;
210b57cec5SDimitry Andric 
220b57cec5SDimitry Andric class PPCELFMCAsmInfo : public MCAsmInfoELF {
230b57cec5SDimitry Andric   void anchor() override;
240b57cec5SDimitry Andric 
250b57cec5SDimitry Andric public:
260b57cec5SDimitry Andric   explicit PPCELFMCAsmInfo(bool is64Bit, const Triple &);
270b57cec5SDimitry Andric };
280b57cec5SDimitry Andric 
290b57cec5SDimitry Andric class PPCXCOFFMCAsmInfo : public MCAsmInfoXCOFF {
30*5ffd83dbSDimitry Andric   void anchor() override;
310b57cec5SDimitry Andric 
320b57cec5SDimitry Andric public:
330b57cec5SDimitry Andric   explicit PPCXCOFFMCAsmInfo(bool is64Bit, const Triple &);
340b57cec5SDimitry Andric };
350b57cec5SDimitry Andric 
360b57cec5SDimitry Andric } // namespace llvm
370b57cec5SDimitry Andric 
380b57cec5SDimitry Andric #endif
39