29 return FirstMI ==
nullptr || FirstMI->
getOpcode() == ARM::AESE;
32 return FirstMI ==
nullptr || FirstMI->
getOpcode() == ARM::AESD;
42 if ((FirstMI ==
nullptr || FirstMI->
getOpcode() == ARM::MOVi16) &&
This class represents lattice values for constants.
static bool isAESPair(const MachineInstr *FirstMI, const MachineInstr &SecondMI)
const HexagonInstrInfo * TII
unsigned getOpcode() const
Returns the opcode of this MachineInstr.
std::unique_ptr< ScheduleDAGMutation > createMacroFusionDAGMutation(ShouldSchedulePredTy shouldScheduleAdjacent)
Create a DAG scheduling mutation to pair instructions back to back for instructions that benefit acco...
bool hasFuseLiterals() const
std::unique_ptr< ScheduleDAGMutation > createARMMacroFusionDAGMutation()
Note that you have to add: DAG.addMutation(createARMMacroFusionDAGMutation()); to ARMPassConfig::crea...
TargetInstrInfo - Interface to description of machine instruction set.
static bool isLiteralsPair(const MachineInstr *FirstMI, const MachineInstr &SecondMI)
static bool shouldScheduleAdjacent(const TargetInstrInfo &TII, const TargetSubtargetInfo &TSI, const MachineInstr *FirstMI, const MachineInstr &SecondMI)
Check if the instr pair, FirstMI and SecondMI, should be fused together.
TargetSubtargetInfo - Generic base class for all target subtargets.
Representation of each machine instruction.