[PowerPC] Convert r+r instructions to r+i (pre and post RA)
[llvm-core.git] / lib / Target / PowerPC / MCTargetDesc / PPCMCAsmInfo.h
blobe252ac944d40be1536257a6bf7506fee4a854fc8
1 //===-- PPCMCAsmInfo.h - PPC asm properties --------------------*- C++ -*--===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the declaration of the MCAsmInfoDarwin class.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCMCASMINFO_H
15 #define LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCMCASMINFO_H
17 #include "llvm/MC/MCAsmInfoDarwin.h"
18 #include "llvm/MC/MCAsmInfoELF.h"
20 namespace llvm {
21 class Triple;
23 class PPCMCAsmInfoDarwin : public MCAsmInfoDarwin {
24 virtual void anchor();
26 public:
27 explicit PPCMCAsmInfoDarwin(bool is64Bit, const Triple &);
30 class PPCELFMCAsmInfo : public MCAsmInfoELF {
31 void anchor() override;
33 public:
34 explicit PPCELFMCAsmInfo(bool is64Bit, const Triple &);
37 } // namespace llvm
39 #endif