Lines Matching defs:OBO
2378 const OverflowingBinaryOperator *OBO) {
2380 if (OBO->hasNoUnsignedWrap() && OBO->hasNoSignedWrap())
2385 if (OBO->hasNoUnsignedWrap())
2387 if (OBO->hasNoSignedWrap())
2392 if (OBO->getOpcode() != Instruction::Add &&
2393 OBO->getOpcode() != Instruction::Sub &&
2394 OBO->getOpcode() != Instruction::Mul)
2397 const SCEV *LHS = getSCEV(OBO->getOperand(0));
2398 const SCEV *RHS = getSCEV(OBO->getOperand(1));
2401 UseContextForNoWrapFlagInference ? dyn_cast<Instruction>(OBO) : nullptr;
2402 if (!OBO->hasNoUnsignedWrap() &&
2403 willNotOverflow((Instruction::BinaryOps)OBO->getOpcode(),
2409 if (!OBO->hasNoSignedWrap() &&
2410 willNotOverflow((Instruction::BinaryOps)OBO->getOpcode(),
2430 using OBO = OverflowingBinaryOperator;
2472 Opcode, C, OBO::NoSignedWrap);
2480 Opcode, C, OBO::NoUnsignedWrap);
5088 using OBO = OverflowingBinaryOperator;
5109 Instruction::Add, IncRange, OBO::NoSignedWrap);
5119 Instruction::Add, IncRange, OBO::NoUnsignedWrap);
5255 if (auto *OBO = dyn_cast<OverflowingBinaryOperator>(Op)) {
5256 IsNSW = OBO->hasNoSignedWrap();
5257 IsNUW = OBO->hasNoUnsignedWrap();
6641 using OBO = OverflowingBinaryOperator;
6696 unsigned WrapType = OBO::AnyWrap;
6698 WrapType |= OBO::NoSignedWrap;
6700 WrapType |= OBO::NoUnsignedWrap;