Lines Matching refs:ConstantInt
571 if (!isa<ConstantInt>(Cond))
575 Cond == ConstantInt::getTrue(Cond->getContext())
703 unswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) {
746 unswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context), TI)) {
769 auto *AllZero = cast<ConstantInt>(Constant::getNullValue(SC->getType()));
777 auto *AllOne = cast<ConstantInt>(Constant::getAllOnesValue(SC->getType()));
820 unswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) {
921 if (!isa<ConstantInt>(Val) ||
924 else if (Val != ConstantInt::getTrue(Val->getContext())) {
1073 } else if (BI->getCondition() == ConstantInt::getTrue(Context)) {
1075 } else if (BI->getCondition() == ConstantInt::getFalse(Context)) {
1084 ConstantInt *Cond = dyn_cast<ConstantInt>(SI->getCondition());
1122 CondVal = ConstantInt::getTrue(Context);
1125 CondVal = ConstantInt::getFalse(Context);
1162 ConstantInt *CaseVal = Case.getCaseValue();
1436 if (IsEqual || (isa<ConstantInt>(Val) &&
1442 Replacement = ConstantInt::get(Type::getInt1Ty(Val->getContext()),
1443 !cast<ConstantInt>(Val)->getZExtValue());
1489 if (!SI || !isa<ConstantInt>(Val)) continue;
1495 *SI->findCaseValue(cast<ConstantInt>(Val));
1534 ConstantInt::getTrue(Context), NewSISucc);
1636 return ConstantInt::getFalse(Ctx);
1638 return ConstantInt::getTrue(Ctx);