Lines Matching defs:BO
214 BinaryOperator *BO = cast<BinaryOperator>(I);
215 unsigned TypeWidth = BO->getType()->getScalarSizeInBits();
218 ConstantInt *CI = cast<ConstantInt>(BO->getOperand(1));
227 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt));
228 BO->setHasNoUnsignedWrap(false);
229 BO->setHasNoSignedWrap(false);
237 V = IC.Builder->CreateAnd(BO->getOperand(0),
238 ConstantInt::get(BO->getContext(), Mask));
240 VI->moveBefore(BO);
241 VI->takeName(BO);
249 BO->setOperand(1, ConstantInt::get(BO->getType(),
251 BO->setHasNoUnsignedWrap(false);
252 BO->setHasNoSignedWrap(false);
253 return BO;
256 BinaryOperator *BO = cast<BinaryOperator>(I);
257 unsigned TypeWidth = BO->getType()->getScalarSizeInBits();
259 ConstantInt *CI = cast<ConstantInt>(BO->getOperand(1));
266 return Constant::getNullValue(BO->getType());
268 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt));
269 BO->setIsExact(false);
278 ConstantInt::get(BO->getContext(), Mask));
289 BO->setOperand(1, ConstantInt::get(BO->getType(),
291 BO->setIsExact(false);
292 return BO;
348 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(Op0))
349 if (BO->getOpcode() == Instruction::Mul && isLeftShift)
350 if (Constant *BOOp = dyn_cast<Constant>(BO->getOperand(1)))
351 return BinaryOperator::CreateMul(BO->getOperand(0),