13 #ifndef LLVM_LIB_TARGET_SPARC_LEON_PASSES_H
14 #define LLVM_LIB_TARGET_SPARC_LEON_PASSES_H
28 const int LAST_OPERAND = -1;
42 UsedRegisters.push_back(registerIndex);
55 return "InsertNOPLoad: Erratum Fix LBR35: insert a NOP instruction after "
56 "every single-cycle load instruction when the next instruction is "
57 "another load/store instruction";
69 return "FixFSMULD: Erratum Fix LBR31: do not select FSMULD";
81 return "ReplaceFMULS: Erratum Fix LBR32: replace FMULS instruction with a "
82 "routine using conversions/double precision operations to replace "
96 return "DetectRoundChange: Leon erratum detection: detect any rounding "
97 "mode change request: use only the round-to-nearest rounding mode";
109 return "FixAllFDIVSQRT: Erratum Fix LBR34: fix FDIVS/FDIVD/FSQRTS/FSQRTD "
110 "instructions with NOPs and floating-point store";
115 #endif // LLVM_LIB_TARGET_SPARC_LEON_PASSES_H
StringRef getPassName() const override
getPassName - Return a nice clean name for a pass.
StringRef getPassName() const override
getPassName - Return a nice clean name for a pass.
StringRef getPassName() const override
getPassName - Return a nice clean name for a pass.
MachineFunctionPass - This class adapts the FunctionPass interface to allow convenient creation of pa...
StringRef getPassName() const override
getPassName - Return a nice clean name for a pass.
void clearUsedRegisterList()
const SparcSubtarget * Subtarget
unsigned const MachineRegisterInfo * MRI
#define LLVM_LIBRARY_VISIBILITY
LLVM_LIBRARY_VISIBILITY - If a class marked with this attribute is linked into a shared library...
void markRegisterUsed(int registerIndex)
MachineRegisterInfo - Keep track of information for virtual and physical registers, including vreg register classes, use/def chains for registers, etc.
Representation of each machine instruction.
std::vector< int > UsedRegisters
Primary interface to the complete machine description for the target machine.
StringRef - Represent a constant reference to a string, i.e.
StringRef getPassName() const override
getPassName - Return a nice clean name for a pass.