LLVM  15.0.0git
Macros | Functions
MipsMulMulBugPass.cpp File Reference
#include "Mips.h"
#include "MipsInstrInfo.h"
#include "MipsSubtarget.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Target/TargetMachine.h"
Include dependency graph for MipsMulMulBugPass.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "mips-vr4300-mulmul-fix"
 

Functions

static bool isFirstMul (const MachineInstr &MI)
 
static bool isSecondMulOrBranch (const MachineInstr &MI)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "mips-vr4300-mulmul-fix"

Definition at line 31 of file MipsMulMulBugPass.cpp.

Function Documentation

◆ isFirstMul()

static bool isFirstMul ( const MachineInstr MI)
static

Definition at line 77 of file MipsMulMulBugPass.cpp.

References MI.

◆ isSecondMulOrBranch()

static bool isSecondMulOrBranch ( const MachineInstr MI)
static

Definition at line 89 of file MipsMulMulBugPass.cpp.

References MI, llvm::ISD::MUL, and llvm::MipsISD::MULT.