|
LLVM 24.0.0git
|
#include "LeonPasses.h"#include "Sparc.h"#include "SparcSubtarget.h"#include "llvm/CodeGen/MachineBasicBlock.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineFunctionAnalysisManager.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/CodeGen/MachineInstrBuilder.h"#include "llvm/CodeGen/MachinePassManager.h"#include "llvm/CodeGen/TargetInstrInfo.h"#include "llvm/CodeGen/TargetRegisterInfo.h"#include "llvm/IR/Analysis.h"Go to the source code of this file.
|
static |
Definition at line 106 of file LeonPasses.cpp.
References I, insertNop(), MI, and TII.
Referenced by runErrataWorkaroundOnMachineFunction().
|
static |
Definition at line 145 of file LeonPasses.cpp.
References I, insertNop(), MI, and TII.
Referenced by runErrataWorkaroundOnMachineFunction().
|
static |
Definition at line 173 of file LeonPasses.cpp.
References llvm::MachineBasicBlock::begin(), llvm::MachineBasicBlock::end(), I, insertNop(), isAtomic(), MI, and TII.
Referenced by runErrataWorkaroundOnMachineFunction().
|
static |
Definition at line 207 of file LeonPasses.cpp.
References I, insertNop(), isAtomic(), MBB, and TII.
Referenced by runErrataWorkaroundOnMachineFunction().
|
static |
Definition at line 222 of file LeonPasses.cpp.
References llvm::MachineBasicBlock::begin(), llvm::MachineBasicBlock::end(), I, insertNop(), isFloat(), MI, and TII.
Referenced by runErrataWorkaroundOnMachineFunction().
|
static |
Definition at line 253 of file LeonPasses.cpp.
References I, insertNop(), isDivSqrt(), isFloat(), MI, TII, and TRI.
Referenced by runErrataWorkaroundOnMachineFunction().
| INITIALIZE_PASS | ( | SparcErrataWorkaroundLegacy | , |
| "errata-workaround" | , | ||
| "Errata workaround pass" | , | ||
| false | , | ||
| false | ) |
Definition at line 34 of file LeonPasses.cpp.
|
static |
Definition at line 58 of file LeonPasses.cpp.
References llvm::BuildMI(), I, and TII.
Referenced by checkSeqTN0009A(), checkSeqTN0009B(), checkSeqTN0010(), checkSeqTN0010First(), checkSeqTN0012(), and checkSeqTN0013().
|
static |
Definition at line 311 of file LeonPasses.cpp.
References llvm::BuildMI(), llvm::dwarf_linker::DebugLoc, E(), MBB, MBBI, Modified, and TII.
Referenced by runErrataWorkaroundOnMachineFunction().
|
static |
Definition at line 89 of file LeonPasses.cpp.
References I.
Referenced by checkSeqTN0010(), checkSeqTN0010First(), llvm::AArch64RegisterBankInfo::getInstrMapping(), llvm::RISCVRegisterBankInfo::getInstrMapping(), and llvm::RewriteStatepointsForGC::runOnFunction().
|
static |
|
static |
Definition at line 63 of file LeonPasses.cpp.
References contains(), and I.
Referenced by checkSeqTN0012(), checkSeqTN0013(), and llvm::TargetLoweringBase::getBooleanContents().
|
static |
Definition at line 323 of file LeonPasses.cpp.
References Changed, checkSeqTN0009A(), checkSeqTN0009B(), checkSeqTN0010(), checkSeqTN0010First(), checkSeqTN0012(), checkSeqTN0013(), llvm::MachineFunction::front(), llvm::MachineFunction::getSubtarget(), I, insertNOPLoad(), MBB, TII, and TRI.
Referenced by llvm::SparcErrataWorkaroundPass::run(), and llvm::SparcErrataWorkaroundLegacy::runOnMachineFunction().