Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp858 BinaryOperator *TBO; in FoldShiftByConstant() local
860 if (match(Op0, m_Select(m_Value(Cond), m_OneUse(m_BinOp(TBO)), in FoldShiftByConstant()
863 if (!isa<Constant>(FalseVal) && TBO->getOperand(0) == FalseVal && in FoldShiftByConstant()
864 match(TBO->getOperand(1), m_APInt(C)) && in FoldShiftByConstant()
865 canShiftBinOpWithConstantRHS(I, TBO)) { in FoldShiftByConstant()
867 Builder.CreateBinOp(I.getOpcode(), TBO->getOperand(1), C1); in FoldShiftByConstant()
870 Value *NewOp = Builder.CreateBinOp(TBO->getOpcode(), NewShift, NewRHS); in FoldShiftByConstant()