Lines Matching refs:BO

640     if (BinaryOperator *BO = dyn_cast<BinaryOperator>(BBI))  in solveBlockValueImpl()  local
641 return solveBlockValueBinaryOp(Res, BO, BB); in solveBlockValueImpl()
1022 BinaryOperator *BO, in solveBlockValueBinaryOp() argument
1025 assert(BO->getOperand(0)->getType()->isSized() && in solveBlockValueBinaryOp()
1031 switch (BO->getOpcode()) { in solveBlockValueBinaryOp()
1055 Optional<ConstantRange> LHSRes = getRangeForOperand(0, BO, BB); in solveBlockValueBinaryOp()
1056 Optional<ConstantRange> RHSRes = getRangeForOperand(1, BO, BB); in solveBlockValueBinaryOp()
1068 Instruction::BinaryOps BinOp = BO->getOpcode(); in solveBlockValueBinaryOp()
1150 BinaryOperator *BO = dyn_cast<BinaryOperator>(Cond); in getValueFromConditionImpl() local
1151 if (!BO || (isTrueDest && BO->getOpcode() != BinaryOperator::And) || in getValueFromConditionImpl()
1152 (!isTrueDest && BO->getOpcode() != BinaryOperator::Or)) in getValueFromConditionImpl()
1159 Value *BL = BO->getOperand(0); in getValueFromConditionImpl()
1160 Value *BR = BO->getOperand(1); in getValueFromConditionImpl()
1217 } else if (auto *BO = dyn_cast<BinaryOperator>(Usr)) { in constantFoldUser() local
1218 bool Op0Match = BO->getOperand(0) == Op; in constantFoldUser()
1219 bool Op1Match = BO->getOperand(1) == Op; in constantFoldUser()
1222 Value *LHS = Op0Match ? OpConst : BO->getOperand(0); in constantFoldUser()
1223 Value *RHS = Op1Match ? OpConst : BO->getOperand(1); in constantFoldUser()
1225 SimplifyBinOp(BO->getOpcode(), LHS, RHS, DL))) { in constantFoldUser()