LLVM 18.0.0git
|
#include "RISCVMacroFusion.h"
#include "RISCVSubtarget.h"
#include "llvm/CodeGen/MacroFusion.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
Go to the source code of this file.
Functions | |
static bool | isLUIADDI (const MachineInstr *FirstMI, const MachineInstr &SecondMI) |
static bool | shouldScheduleAdjacent (const TargetInstrInfo &TII, const TargetSubtargetInfo &TSI, const MachineInstr *FirstMI, const MachineInstr &SecondMI) |
|
static |
Definition at line 25 of file RISCVMacroFusion.cpp.
References llvm::MachineInstr::getMF(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::MachineFunction::getRegInfo(), llvm::MachineOperand::isReg(), llvm::Register::isVirtual(), and MRI.
Referenced by shouldScheduleAdjacent().
|
static |
Definition at line 59 of file RISCVMacroFusion.cpp.
References isLUIADDI().
Referenced by llvm::createRISCVMacroFusionDAGMutation().