LLVM  16.0.0git
Namespaces | Macros | Functions
PPCMCTargetDesc.h File Reference
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/Support/MathExtras.h"
#include <cstdint>
#include <memory>
#include "PPCGenRegisterInfo.inc"
#include "PPCGenInstrInfo.inc"
#include "PPCGenSubtargetInfo.inc"
Include dependency graph for PPCMCTargetDesc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Macros

#define GET_REGINFO_ENUM
 
#define GET_INSTRINFO_ENUM
 
#define GET_INSTRINFO_SCHED_ENUM
 
#define GET_INSTRINFO_MC_HELPER_DECLS
 
#define GET_SUBTARGETINFO_ENUM
 
#define PPC_REGS0_7(X)
 
#define PPC_REGS0_31(X)
 
#define PPC_REGS0_63(X)
 
#define PPC_REGS_NO0_31(Z, X)
 
#define PPC_REGS_LO_HI(LO, HI)
 
#define PPC_REGS0_7(X)
 
#define PPC_REGS0_3(X)
 
#define DEFINE_PPC_REGCLASSES
 

Functions

MCCodeEmitterllvm::createPPCMCCodeEmitter (const MCInstrInfo &MCII, MCContext &Ctx)
 
MCAsmBackendllvm::createPPCAsmBackend (const Target &T, const MCSubtargetInfo &STI, const MCRegisterInfo &MRI, const MCTargetOptions &Options)
 
std::unique_ptr< MCObjectTargetWriterllvm::createPPCELFObjectWriter (bool Is64Bit, uint8_t OSABI)
 Construct an PPC ELF object writer. More...
 
std::unique_ptr< MCObjectTargetWriter > llvm::createPPCMachObjectWriter (bool Is64Bit, uint32_t CPUType, uint32_t CPUSubtype)
 Construct a PPC Mach-O object writer. More...
 
std::unique_ptr< MCObjectTargetWriterllvm::createPPCXCOFFObjectWriter (bool Is64Bit)
 Construct a PPC XCOFF object writer. More...
 
static bool llvm::isRunOfOnes (unsigned Val, unsigned &MB, unsigned &ME)
 Returns true iff Val consists of one contiguous run of 1s with any number of 0s on either side. More...
 
static bool llvm::isRunOfOnes64 (uint64_t Val, unsigned &MB, unsigned &ME)
 

Macro Definition Documentation

◆ DEFINE_PPC_REGCLASSES

#define DEFINE_PPC_REGCLASSES

Definition at line 181 of file PPCMCTargetDesc.h.

◆ GET_INSTRINFO_ENUM

#define GET_INSTRINFO_ENUM

Definition at line 119 of file PPCMCTargetDesc.h.

◆ GET_INSTRINFO_MC_HELPER_DECLS

#define GET_INSTRINFO_MC_HELPER_DECLS

Definition at line 121 of file PPCMCTargetDesc.h.

◆ GET_INSTRINFO_SCHED_ENUM

#define GET_INSTRINFO_SCHED_ENUM

Definition at line 120 of file PPCMCTargetDesc.h.

◆ GET_REGINFO_ENUM

#define GET_REGINFO_ENUM

Definition at line 114 of file PPCMCTargetDesc.h.

◆ GET_SUBTARGETINFO_ENUM

#define GET_SUBTARGETINFO_ENUM

Definition at line 124 of file PPCMCTargetDesc.h.

◆ PPC_REGS0_3

#define PPC_REGS0_3 (   X)
Value:
{ \
X##0, X##1, X##2, X##3 \
}

Definition at line 174 of file PPCMCTargetDesc.h.

◆ PPC_REGS0_31

#define PPC_REGS0_31 (   X)
Value:
{ \
X##0, X##1, X##2, X##3, X##4, X##5, X##6, X##7, X##8, X##9, X##10, X##11, \
X##12, X##13, X##14, X##15, X##16, X##17, X##18, X##19, X##20, X##21, \
X##22, X##23, X##24, X##25, X##26, X##27, X##28, X##29, X##30, X##31 \
}

Definition at line 132 of file PPCMCTargetDesc.h.

◆ PPC_REGS0_63

#define PPC_REGS0_63 (   X)
Value:
{ \
X##0, X##1, X##2, X##3, X##4, X##5, X##6, X##7, X##8, X##9, X##10, X##11, \
X##12, X##13, X##14, X##15, X##16, X##17, X##18, X##19, X##20, X##21, \
X##22, X##23, X##24, X##25, X##26, X##27, X##28, X##29, X##30, X##31, \
X##32, X##33, X##34, X##35, X##36, X##37, X##38, X##39, X##40, X##41, \
X##42, X##43, X##44, X##45, X##46, X##47, X##48, X##49, X##50, X##51, \
X##52, X##53, X##54, X##55, X##56, X##57, X##58, X##59, X##60, X##61, \
X##62, X##63 \
}

Definition at line 139 of file PPCMCTargetDesc.h.

◆ PPC_REGS0_7 [1/2]

#define PPC_REGS0_7 (   X)
Value:
{ \
X##0, X##1, X##2, X##3, X##4, X##5, X##6, X##7 \
}

Definition at line 169 of file PPCMCTargetDesc.h.

◆ PPC_REGS0_7 [2/2]

#define PPC_REGS0_7 (   X)
Value:
{ \
X##0, X##1, X##2, X##3, X##4, X##5, X##6, X##7 \
}

Definition at line 169 of file PPCMCTargetDesc.h.

◆ PPC_REGS_LO_HI

#define PPC_REGS_LO_HI (   LO,
  HI 
)
Value:
{ \
LO##0, LO##1, LO##2, LO##3, LO##4, LO##5, LO##6, LO##7, LO##8, LO##9, \
LO##10, LO##11, LO##12, LO##13, LO##14, LO##15, LO##16, LO##17, \
LO##18, LO##19, LO##20, LO##21, LO##22, LO##23, LO##24, LO##25, \
LO##26, LO##27, LO##28, LO##29, LO##30, LO##31, HI##0, HI##1, HI##2, \
HI##3, HI##4, HI##5, HI##6, HI##7, HI##8, HI##9, HI##10, HI##11, \
HI##12, HI##13, HI##14, HI##15, HI##16, HI##17, HI##18, HI##19, \
HI##20, HI##21, HI##22, HI##23, HI##24, HI##25, HI##26, HI##27, \
HI##28, HI##29, HI##30, HI##31 \
}

Definition at line 157 of file PPCMCTargetDesc.h.

◆ PPC_REGS_NO0_31

#define PPC_REGS_NO0_31 (   Z,
  X 
)
Value:
{ \
Z, X##1, X##2, X##3, X##4, X##5, X##6, X##7, X##8, X##9, X##10, X##11, \
X##12, X##13, X##14, X##15, X##16, X##17, X##18, X##19, X##20, X##21, \
X##22, X##23, X##24, X##25, X##26, X##27, X##28, X##29, X##30, X##31 \
}

Definition at line 150 of file PPCMCTargetDesc.h.

llvm::AArch64CC::LO
@ LO
Definition: AArch64BaseInfo.h:258
llvm::AArch64CC::HI
@ HI
Definition: AArch64BaseInfo.h:263
X
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")