• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/

Lines Matching refs:ConstantInt

256     ConstantInt *CI = dyn_cast<ConstantInt>(PhiOpnd);
603 return dyn_cast<ConstantInt>(Val);
607 /// if we can infer that the value is a known ConstantInt/BlockAddress or undef
712 ConstantInt *InterestingVal;
714 InterestingVal = ConstantInt::getTrue(I->getContext());
716 InterestingVal = ConstantInt::getFalse(I->getContext());
740 isa<ConstantInt>(I->getOperand(1)) &&
741 cast<ConstantInt>(I->getOperand(1))->isOne()) {
758 if (ConstantInt *CI = dyn_cast<ConstantInt>(BO->getOperand(1))) {
817 Res = ConstantInt::get(Type::getInt1Ty(LHS->getContext()), ResT);
843 Constant *ResC = ConstantInt::get(CmpType, Res);
857 ConstantInt *AddConst;
858 if (isa<ConstantInt>(CmpConst) &&
873 Pred, cast<ConstantInt>(CmpConst)->getValue());
877 ResC = ConstantInt::getTrue(CmpType);
879 ResC = ConstantInt::getFalse(CmpType);
922 if (ConstantInt *CI = dyn_cast<ConstantInt>(Cond)) {
1125 ConstantInt::getTrue(CondCmp->getType()) :
1126 ConstantInt::getFalse(CondCmp->getType());
1603 assert(isa<ConstantInt>(Val) && "Expecting a constant integer");
1604 DestBB = BI->getSuccessor(cast<ConstantInt>(Val)->isZero());
1606 assert(isa<ConstantInt>(Val) && "Expecting a constant integer");
1607 DestBB = SI->findCaseValue(cast<ConstantInt>(Val))->getCaseSuccessor();
1767 if (isa<ConstantInt>(BO->getOperand(0)) ||
1768 isa<ConstantInt>(BO->getOperand(1)))
1819 if (cast<ConstantInt>(XorOpValue.first)->isZero())
1826 ConstantInt *SplitVal = nullptr;
1828 SplitVal = ConstantInt::getTrue(BB->getContext());
1830 SplitVal = ConstantInt::getFalse(BB->getContext());
2102 if (ConstantInt *CI = dyn_cast_or_null<ConstantInt>(
2792 [](Value *V) { return !isa<ConstantInt>(V); }))
2809 isa<ConstantInt>(Cmp->getOperand(1 - U.getOperandNo())))