47 for (
auto MFI = MF.
begin(),
E = MF.
end(); MFI !=
E; ++MFI) {
49 for (
auto MBBI = MBB.
begin(),
E = MBB.
end(); MBBI !=
E; ++MBBI) {
52 if (Opcode >= SP::LDDArr && Opcode <= SP::LDrr) {
82 for (
auto MFI = MF.
begin(),
E = MF.
end(); MFI !=
E; ++MFI) {
84 for (
auto MBBI = MBB.
begin(),
E = MBB.
end(); MBBI !=
E; ++MBBI) {
93 errs() <<
"Error: You are using the detectroundchange " 94 "option to detect rounding changes that will " 95 "cause LEON errata. The only way to fix this " 96 "is to remove the call to fesetround from " 134 for (
auto MFI = MF.
begin(),
E = MF.
end(); MFI !=
E; ++MFI) {
136 for (
auto MBBI = MBB.
begin(),
E = MBB.
end(); MBBI !=
E; ++MBBI) {
144 if (Opcode == SP::FSQRTD || Opcode == SP::FDIVD) {
145 for (
int InsertedCount = 0; InsertedCount < 5; InsertedCount++)
149 for (
int InsertedCount = 0; InsertedCount < 28; InsertedCount++)
raw_ostream & errs()
This returns a reference to a raw_ostream for standard error.
DILocation * get() const
Get the underlying DILocation.
This class represents lattice values for constants.
const SparcInstrInfo * getInstrInfo() const override
MachineFunctionPass - This class adapts the FunctionPass interface to allow convenient creation of pa...
const HexagonInstrInfo * TII
unsigned getNumOperands() const
Retuns the total number of operands.
unsigned getOpcode() const
Returns the opcode of this MachineInstr.
bool runOnMachineFunction(MachineFunction &MF) override
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformat...
TargetInstrInfo - Interface to description of machine instruction set.
const SparcSubtarget * Subtarget
MachineInstrBuilder BuildMI(MachineFunction &MF, const DebugLoc &DL, const MCInstrDesc &MCID)
Builder interface. Specify how to create the initial instruction itself.
const TargetSubtargetInfo & getSubtarget() const
getSubtarget - Return the subtarget for which this machine code is being compiled.
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
const GlobalValue * getGlobal() const
bool runOnMachineFunction(MachineFunction &MF) override
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformat...
LLVM_NODISCARD int compare_lower(StringRef RHS) const
compare_lower - Compare two strings, ignoring case.
bool isGlobal() const
isGlobal - Tests if this is a MO_GlobalAddress operand.
MachineOperand class - Representation of each machine instruction operand.
LEONMachineFunctionPass(char &ID)
Representation of each machine instruction.
bool runOnMachineFunction(MachineFunction &MF) override
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformat...
StringRef getName() const
Return a constant reference to the value's name.
StringRef - Represent a constant reference to a string, i.e.
const MachineOperand & getOperand(unsigned i) const