14 #ifndef LLVM_LIB_TARGET_SPARC_SPARC_H 15 #define LLVM_LIB_TARGET_SPARC_SPARC_H 23 class SparcTargetMachine;
24 class formatted_raw_ostream;
149 inline static unsigned HI22(int64_t imm) {
150 return (
unsigned)((imm >> 10) & ((1 << 22)-1));
153 inline static unsigned LO10(int64_t imm) {
154 return (
unsigned)(imm & 0x3FF);
157 inline static unsigned HIX22(int64_t imm) {
161 inline static unsigned LOX10(int64_t imm) {
This class represents lattice values for constants.
FunctionPass * createSparcDelaySlotFillerPass()
createSparcDelaySlotFillerPass - Returns a pass that fills in delay slots in Sparc MachineFunctions ...
static unsigned LO10(int64_t imm)
static const char * SPARCCondCodeToString(SPCC::CondCodes CC)
static unsigned HIX22(int64_t imm)
static unsigned HI22(int64_t imm)
static unsigned LOX10(int64_t imm)
FunctionPass * createSparcISelDag(SparcTargetMachine &TM)
createSparcISelDag - This pass converts a legalized DAG into a SPARC-specific DAG, ready for instruction scheduling.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
void LowerSparcMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, AsmPrinter &AP)