Searched refs:LoADDI (Results 1 – 1 of 1) sorted by relevance
46 bool detectAndFoldOffset(MachineInstr &HiLUI, MachineInstr &LoADDI);47 void foldOffset(MachineInstr &HiLUI, MachineInstr &LoADDI, MachineInstr &Tail,82 MachineInstr *&LoADDI) { in detectLuiAddiGlobal() argument90 LoADDI = MRI->use_begin(HiLuiDestReg)->getParent(); in detectLuiAddiGlobal()91 if (LoADDI->getOpcode() != RISCV::ADDI || in detectLuiAddiGlobal()92 LoADDI->getOperand(2).getTargetFlags() != RISCVII::MO_LO || in detectLuiAddiGlobal()93 LoADDI->getOperand(2).getType() != MachineOperand::MO_GlobalAddress || in detectLuiAddiGlobal()94 LoADDI->getOperand(2).getOffset() != 0 || in detectLuiAddiGlobal()95 !MRI->hasOneUse(LoADDI->getOperand(0).getReg())) in detectLuiAddiGlobal()104 MachineInstr &LoADDI, in foldOffset() argument[all …]