Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp347 auto matchFirstShift = [&](Value *V) { in foldShiftOfShiftedLogic() local
356 if (matchFirstShift(LogicInst->getOperand(0))) in foldShiftOfShiftedLogic()
358 else if (matchFirstShift(LogicInst->getOperand(1))) in foldShiftOfShiftedLogic()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp1523 auto matchFirstShift = [&](const MachineInstr *MI, uint64_t &ShiftVal) { in matchShiftOfShiftedLogic() local
1546 if (matchFirstShift(LogicMIOp1, C0Val)) { in matchShiftOfShiftedLogic()
1549 } else if (matchFirstShift(LogicMIOp2, C0Val)) { in matchShiftOfShiftedLogic()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp8638 auto matchFirstShift = [&](SDValue V, SDValue &ShiftOp, in combineShiftOfShiftedLogic() local
8666 if (matchFirstShift(LogicOp.getOperand(0), X, C0Val)) in combineShiftOfShiftedLogic()
8668 else if (matchFirstShift(LogicOp.getOperand(1), X, C0Val)) in combineShiftOfShiftedLogic()