13 #ifndef LLVM_LIB_TARGET_SPARC_LEON_PASSES_H
14 #define LLVM_LIB_TARGET_SPARC_LEON_PASSES_H
28 const int LAST_OPERAND = -1;
41 UsedRegisters.push_back(registerIndex);
54 return "InsertNOPLoad: Erratum Fix LBR35: insert a NOP instruction after "
55 "every single-cycle load instruction when the next instruction is "
56 "another load/store instruction";
68 return "FixFSMULD: Erratum Fix LBR31: do not select FSMULD";
80 return "ReplaceFMULS: Erratum Fix LBR32: replace FMULS instruction with a "
81 "routine using conversions/double precision operations to replace "
95 return "DetectRoundChange: Leon erratum detection: detect any rounding "
96 "mode change request: use only the round-to-nearest rounding mode";
108 return "FixAllFDIVSQRT: Erratum Fix LBR34: fix FDIVS/FDIVD/FSQRTS/FSQRTD "
109 "instructions with NOPs and floating-point store";
114 #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
StringRef - Represent a constant reference to a string, i.e.
StringRef getPassName() const override
getPassName - Return a nice clean name for a pass.