LLVM 20.0.0git
|
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/Support/MathExtras.h"
#include <cstdint>
#include <memory>
#include "PPCGenRegisterInfo.inc"
#include "PPCGenInstrInfo.inc"
#include "PPCGenSubtargetInfo.inc"
Go to the source code of this file.
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
namespace | llvm::PPC |
Define some predicates that are used for node matching. | |
namespace | llvm::PPCII |
PPCII - This namespace holds all of the PowerPC target-specific per-instruction flags. | |
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_REGS_EVEN0_30(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 |
Enumerations | |
enum | { llvm::PPCII::PPC970_First = 0x1 , llvm::PPCII::PPC970_Single = 0x2 , llvm::PPCII::PPC970_Cracked = 0x4 , llvm::PPCII::PPC970_Shift = 3 , llvm::PPCII::PPC970_Mask = 0x07 << PPC970_Shift } |
enum | llvm::PPCII::PPC970_Unit { llvm::PPCII::PPC970_Pseudo = 0 << PPC970_Shift , llvm::PPCII::PPC970_FXU = 1 << PPC970_Shift , llvm::PPCII::PPC970_LSU = 2 << PPC970_Shift , llvm::PPCII::PPC970_FPU = 3 << PPC970_Shift , llvm::PPCII::PPC970_CRU = 4 << PPC970_Shift , llvm::PPCII::PPC970_VALU = 5 << PPC970_Shift , llvm::PPCII::PPC970_VPERM = 6 << PPC970_Shift , llvm::PPCII::PPC970_BRU = 7 << PPC970_Shift } |
enum | { llvm::PPCII::NewDef_Shift = 6 , llvm::PPCII::XFormMemOp = 0x1 << NewDef_Shift , llvm::PPCII::Prefixed = 0x1 << (NewDef_Shift + 1) , llvm::PPCII::SExt32To64 = 0x1 << (NewDef_Shift + 2) , llvm::PPCII::ZExt32To64 = 0x1 << (NewDef_Shift + 3) } |
Functions | |
const char * | llvm::PPC::stripRegisterPrefix (const char *RegName) |
stripRegisterPrefix - This method strips the character prefix from a register name so that only the number is left. | |
unsigned | llvm::PPC::getRegNumForOperand (const MCInstrDesc &Desc, unsigned Reg, unsigned OpNo) |
getRegNumForOperand - some operands use different numbering schemes for the same registers. | |
MCCodeEmitter * | llvm::createPPCMCCodeEmitter (const MCInstrInfo &MCII, MCContext &Ctx) |
MCAsmBackend * | llvm::createPPCAsmBackend (const Target &T, const MCSubtargetInfo &STI, const MCRegisterInfo &MRI, const MCTargetOptions &Options) |
std::unique_ptr< MCObjectTargetWriter > | llvm::createPPCELFObjectWriter (bool Is64Bit, uint8_t OSABI) |
Construct an PPC ELF object writer. | |
std::unique_ptr< MCObjectTargetWriter > | llvm::createPPCMachObjectWriter (bool Is64Bit, uint32_t CPUType, uint32_t CPUSubtype) |
Construct a PPC Mach-O object writer. | |
std::unique_ptr< MCObjectTargetWriter > | llvm::createPPCXCOFFObjectWriter (bool Is64Bit) |
Construct a PPC XCOFF object writer. | |
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. | |
static bool | llvm::isRunOfOnes64 (uint64_t Val, unsigned &MB, unsigned &ME) |
static bool | llvm::PPC::isVFRegister (unsigned Reg) |
static bool | llvm::PPC::isVRRegister (unsigned Reg) |
#define DEFINE_PPC_REGCLASSES |
Definition at line 256 of file PPCMCTargetDesc.h.
#define GET_INSTRINFO_ENUM |
Definition at line 188 of file PPCMCTargetDesc.h.
#define GET_INSTRINFO_MC_HELPER_DECLS |
Definition at line 190 of file PPCMCTargetDesc.h.
#define GET_INSTRINFO_SCHED_ENUM |
Definition at line 189 of file PPCMCTargetDesc.h.
#define GET_REGINFO_ENUM |
Definition at line 183 of file PPCMCTargetDesc.h.
#define GET_SUBTARGETINFO_ENUM |
Definition at line 193 of file PPCMCTargetDesc.h.
#define PPC_REGS0_3 | ( | X | ) |
#define PPC_REGS0_31 | ( | X | ) |
#define PPC_REGS0_63 | ( | X | ) |
Definition at line 214 of file PPCMCTargetDesc.h.
#define PPC_REGS0_7 | ( | X | ) |
#define PPC_REGS0_7 | ( | X | ) |
#define PPC_REGS_EVEN0_30 | ( | X | ) |
#define PPC_REGS_LO_HI | ( | LO, | |
HI | |||
) |
Definition at line 232 of file PPCMCTargetDesc.h.
#define PPC_REGS_NO0_31 | ( | Z, | |
X | |||
) |