LLVM  14.0.0git
PPCMCAsmInfo.h
Go to the documentation of this file.
1 //===-- PPCMCAsmInfo.h - PPC 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 // This file contains the declarations of the PowerPC MCAsmInfo classes.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCMCASMINFO_H
14 #define LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCMCASMINFO_H
15 
16 #include "llvm/MC/MCAsmInfoELF.h"
17 #include "llvm/MC/MCAsmInfoXCOFF.h"
18 
19 namespace llvm {
20 class Triple;
21 
22 class PPCELFMCAsmInfo : public MCAsmInfoELF {
23  void anchor() override;
24 
25 public:
26  explicit PPCELFMCAsmInfo(bool is64Bit, const Triple &);
27 };
28 
30  void anchor() override;
31 
32 public:
33  explicit PPCXCOFFMCAsmInfo(bool is64Bit, const Triple &);
34 };
35 
36 } // namespace llvm
37 
38 #endif
llvm::MCAsmInfoELF
Definition: MCAsmInfoELF.h:16
llvm::PPCELFMCAsmInfo::PPCELFMCAsmInfo
PPCELFMCAsmInfo(bool is64Bit, const Triple &)
Definition: PPCMCAsmInfo.cpp:21
llvm::PPCXCOFFMCAsmInfo
Definition: PPCMCAsmInfo.h:29
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AllocatorList.h:23
is64Bit
static bool is64Bit(const char *name)
Definition: X86Disassembler.cpp:1019
llvm::Triple
Triple - Helper class for working with autoconf configuration names.
Definition: Triple.h:45
MCAsmInfoXCOFF.h
llvm::PPCELFMCAsmInfo
Definition: PPCMCAsmInfo.h:22
llvm::PPCXCOFFMCAsmInfo::PPCXCOFFMCAsmInfo
PPCXCOFFMCAsmInfo(bool is64Bit, const Triple &)
Definition: PPCMCAsmInfo.cpp:59
MCAsmInfoELF.h
llvm::MCAsmInfoXCOFF
Definition: MCAsmInfoXCOFF.h:16