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";
69 return "DetectRoundChange: Leon erratum detection: detect any rounding " 70 "mode change request: use only the round-to-nearest rounding mode";
82 return "FixAllFDIVSQRT: Erratum Fix LBR34: fix FDIVS/FDIVD/FSQRTS/FSQRTD " 83 "instructions with NOPs and floating-point store";
88 #endif // LLVM_LIB_TARGET_SPARC_LEON_PASSES_H StringRef getPassName() const override
getPassName - Return a nice clean name for a pass.
This class represents lattice values for constants.
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
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.
#define LLVM_LIBRARY_VISIBILITY
LLVM_LIBRARY_VISIBILITY - If a class marked with this attribute is linked into a shared library...
std::vector< int > UsedRegisters
StringRef - Represent a constant reference to a string, i.e.