|
LLVM 24.0.0git
|
#include "Mips.h"#include "MipsInstrInfo.h"#include "MipsSubtarget.h"#include "llvm/CodeGen/MachineBasicBlock.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineFunctionAnalysisManager.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachinePassManager.h"#include "llvm/IR/Analysis.h"#include "llvm/Pass.h"#include "llvm/Support/Debug.h"#include "llvm/Target/TargetMachine.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "mips-mulmul-bug-fix" |
Functions | |
| static INITIALIZE_PASS(MipsMulMulBugFixLegacy, "mips-mulmul-bug-fix", "Mips VR4300 mulmul bugfix", false, false) char MipsMulMulBugFixLegacy bool | isFirstMul (const MachineInstr &MI) |
| static bool | isSecondMulOrBranch (const MachineInstr &MI) |
| static bool | fixMulMulBB (MachineBasicBlock &MBB, const MipsInstrInfo &MipsII) |
| static bool | fixMulMulBugInMF (MachineFunction &MF) |
| #define DEBUG_TYPE "mips-mulmul-bug-fix" |
Definition at line 34 of file MipsMulMulBugPass.cpp.
|
static |
Definition at line 99 of file MipsMulMulBugPass.cpp.
References llvm::BuildMI(), llvm::dbgs(), llvm::dwarf_linker::DebugLoc, E(), isFirstMul(), isSecondMulOrBranch(), LLVM_DEBUG, MBB, Modified, and llvm::next_nodbg().
Referenced by fixMulMulBugInMF().
|
static |
Definition at line 125 of file MipsMulMulBugPass.cpp.
References fixMulMulBB(), llvm::MachineFunction::getSubtarget(), MBB, and Modified.
Referenced by llvm::MipsMulMulBugFixPass::run().
|
static |
Definition at line 67 of file MipsMulMulBugPass.cpp.
References const, isFirstMul(), and MI.
Referenced by fixMulMulBB(), and isFirstMul().
|
static |