14 #ifndef LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCMCTARGETDESC_H 15 #define LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCMCTARGETDESC_H 30 class MCObjectTargetWriter;
32 class MCSubtargetInfo;
33 class MCTargetOptions;
37 class raw_pwrite_stream;
44 const MCRegisterInfo &
MRI,
48 const MCRegisterInfo &
MRI,
49 const MCTargetOptions &Options);
55 std::unique_ptr<MCObjectTargetWriter>
62 static inline bool isRunOfOnes(
unsigned Val,
unsigned &MB,
unsigned &ME) {
95 #define GET_REGINFO_ENUM 96 #include "PPCGenRegisterInfo.inc" 100 #define GET_INSTRINFO_ENUM 101 #define GET_INSTRINFO_SCHED_ENUM 102 #include "PPCGenInstrInfo.inc" 104 #define GET_SUBTARGETINFO_ENUM 105 #include "PPCGenSubtargetInfo.inc" 107 #endif // LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCMCTARGETDESC_H Compute iterated dominance frontiers using a linear time algorithm.
Target & getThePPC32Target()
std::size_t countLeadingZeros(T Val, ZeroBehavior ZB=ZB_Width)
Count number of 0's from the most significant bit to the least stopping at the first 1...
std::unique_ptr< MCObjectTargetWriter > createPPCMachObjectWriter(bool Is64Bit, uint32_t CPUType, uint32_t CPUSubtype)
Construct a PPC Mach-O object writer.
std::unique_ptr< MCObjectTargetWriter > createPPCELFObjectWriter(bool Is64Bit, uint8_t OSABI)
Construct an PPC ELF object writer.
Target & getThePPC64Target()
unsigned const MachineRegisterInfo * MRI
MCAsmBackend * createPPCAsmBackend(const Target &T, const MCSubtargetInfo &STI, const MCRegisterInfo &MRI, const MCTargetOptions &Options)
Target & getThePPC64LETarget()
static bool 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...
constexpr bool isShiftedMask_32(uint32_t Value)
Return true if the argument contains a non-empty sequence of ones with the remainder zero (32 bit ver...
MCCodeEmitter * createPPCMCCodeEmitter(const MCInstrInfo &MCII, const MCRegisterInfo &MRI, MCContext &Ctx)