15 #ifndef LLVM_LIB_TARGET_SPARC_SPARC_H 16 #define LLVM_LIB_TARGET_SPARC_SPARC_H 24 class SparcTargetMachine;
25 class formatted_raw_ostream;
150 inline static unsigned HI22(int64_t imm) {
151 return (
unsigned)((imm >> 10) & ((1 << 22)-1));
154 inline static unsigned LO10(int64_t imm) {
155 return (
unsigned)(imm & 0x3FF);
158 inline static unsigned HIX22(int64_t imm) {
162 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)