Home | History | Annotate | Download | only in InstCombine

Lines Matching defs:BO

218     BinaryOperator *BO = cast<BinaryOperator>(I);
219 unsigned TypeWidth = BO->getType()->getScalarSizeInBits();
222 ConstantInt *CI = cast<ConstantInt>(BO->getOperand(1));
231 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt));
232 BO->setHasNoUnsignedWrap(false);
233 BO->setHasNoSignedWrap(false);
241 V = IC.Builder->CreateAnd(BO->getOperand(0),
242 ConstantInt::get(BO->getContext(), Mask));
244 VI->moveBefore(BO);
245 VI->takeName(BO);
253 BO->setOperand(1, ConstantInt::get(BO->getType(),
255 BO->setHasNoUnsignedWrap(false);
256 BO->setHasNoSignedWrap(false);
257 return BO;
262 BinaryOperator *BO = cast<BinaryOperator>(I);
263 unsigned TypeWidth = BO->getType()->getScalarSizeInBits();
265 ConstantInt *CI = cast<ConstantInt>(BO->getOperand(1));
272 return Constant::getNullValue(BO->getType());
274 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt));
275 BO->setIsExact(false);
284 ConstantInt::get(BO->getContext(), Mask));
295 BO->setOperand(1, ConstantInt::get(BO->getType(),
297 BO->setIsExact(false);
298 return BO;
356 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(Op0))
357 if (BO->getOpcode() == Instruction::Mul && isLeftShift)
358 if (Constant *BOOp = dyn_cast<Constant>(BO->getOperand(1)))
359 return BinaryOperator::CreateMul(BO->getOperand(0),