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.cpp2506 const MachineInstr *ShiftMI = canCombine(MBB, MO, RISCV::SLLI); in canCombineShiftIntoShXAdd() local
2507 if (!ShiftMI) in canCombineShiftIntoShXAdd()
2510 unsigned InnerShiftAmt = ShiftMI->getOperand(2).getImm(); in canCombineShiftIntoShXAdd()
2693 MachineInstr *ShiftMI = in genShXAddAddShift() local
2696 unsigned InnerShiftAmt = ShiftMI->getOperand(2).getImm(); in genShXAddAddShift()
2718 const MachineOperand &Y = ShiftMI->getOperand(1); in genShXAddAddShift()
2734 DelInstrs.push_back(ShiftMI); in genShXAddAddShift()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp1813 auto ShiftMI = BuildMI(LoopBB, dl, TII.get(Opc), ShiftReg2).addReg(ShiftReg); in insertShift() local
1815 ShiftMI.addReg(ShiftReg); in insertShift()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2719 MachineInstr *ShiftMI = MatchInfo.first; in applyCombineTruncOfShift() local
2725 Register ShiftAmt = ShiftMI->getOperand(2).getReg(); in applyCombineTruncOfShift()
2726 Register ShiftSrc = ShiftMI->getOperand(1).getReg(); in applyCombineTruncOfShift()
2731 .buildInstr(ShiftMI->getOpcode(), {NewShiftTy}, {ShiftSrc, ShiftAmt}) in applyCombineTruncOfShift()