Home
last modified time | relevance | path

Searched refs:ShiftMI (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp2102 const MachineInstr *ShiftMI = canCombine(MBB, MO, RISCV::SLLI); in canCombineShiftIntoShXAdd() local
2103 if (!ShiftMI) in canCombineShiftIntoShXAdd()
2106 unsigned InnerShiftAmt = ShiftMI->getOperand(2).getImm(); in canCombineShiftIntoShXAdd()
2274 MachineInstr *ShiftMI = in genShXAddAddShift() local
2277 unsigned InnerShiftAmt = ShiftMI->getOperand(2).getImm(); in genShXAddAddShift()
2299 const MachineOperand &Y = ShiftMI->getOperand(1); in genShXAddAddShift()
2315 DelInstrs.push_back(ShiftMI); in genShXAddAddShift()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp1859 auto ShiftMI = BuildMI(LoopBB, dl, TII.get(Opc), ShiftReg2).addReg(ShiftReg); in insertShift() local
1861 ShiftMI.addReg(ShiftReg); in insertShift()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2699 MachineInstr *ShiftMI = MatchInfo.first; in applyCombineTruncOfShift() local
2705 Register ShiftAmt = ShiftMI->getOperand(2).getReg(); in applyCombineTruncOfShift()
2706 Register ShiftSrc = ShiftMI->getOperand(1).getReg(); in applyCombineTruncOfShift()
2711 .buildInstr(ShiftMI->getOpcode(), {NewShiftTy}, {ShiftSrc, ShiftAmt}) in applyCombineTruncOfShift()