Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp839 BinaryOperator *TBO; in FoldShiftByConstant() local
841 if (match(Op0, m_Select(m_Value(Cond), m_OneUse(m_BinOp(TBO)), in FoldShiftByConstant()
844 if (!isa<Constant>(FalseVal) && TBO->getOperand(0) == FalseVal && in FoldShiftByConstant()
845 match(TBO->getOperand(1), m_APInt(C)) && in FoldShiftByConstant()
846 canShiftBinOpWithConstantRHS(I, TBO)) { in FoldShiftByConstant()
848 Builder.CreateBinOp(I.getOpcode(), TBO->getOperand(1), C1); in FoldShiftByConstant()
851 Value *NewOp = Builder.CreateBinOp(TBO->getOpcode(), NewShift, NewRHS); in FoldShiftByConstant()