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

Lines Matching defs:In

861       Value *In = Cmp->getOperand(0);
862 Value *Sh = ConstantInt::get(In->getType(),
863 In->getType()->getScalarSizeInBits() - 1);
864 In = Builder.CreateLShr(In, Sh, In->getName() + ".lobit");
865 if (In->getType() != Zext.getType())
866 In = Builder.CreateIntCast(In, Zext.getType(), false /*ZExt*/);
869 Constant *One = ConstantInt::get(In->getType(), 1);
870 In = Builder.CreateXor(In, One, In->getName() + ".not");
873 return replaceInstUsesWith(Zext, In);
903 Value *In = Cmp->getOperand(0);
907 In = Builder.CreateLShr(In, ConstantInt::get(In->getType(), ShAmt),
908 In->getName() + ".lobit");
912 Constant *One = ConstantInt::get(In->getType(), 1);
913 In = Builder.CreateXor(In, One);
916 if (Zext.getType() == In->getType())
917 return replaceInstUsesWith(Zext, In);
919 Value *IntCast = Builder.CreateIntCast(In, Zext.getType(), false);
1241 Value *In = Builder.CreateAShr(Op0, Sh, Op0->getName() + ".lobit");
1242 if (In->getType() != CI.getType())
1243 In = Builder.CreateIntCast(In, CI.getType(), true /*SExt*/);
1246 In = Builder.CreateNot(In, In->getName() + ".not");
1247 return replaceInstUsesWith(CI, In);
1260 Value *In = ICI->getOperand(0);
1276 In = Builder.CreateLShr(In,
1277 ConstantInt::get(In->getType(), ShiftAmt));
1279 // At this point "In" is either 1 or 0. Subtract 1 to turn
1281 In = Builder.CreateAdd(In,
1282 ConstantInt::getAllOnesValue(In->getType()),
1290 In = Builder.CreateShl(In,
1291 ConstantInt::get(In->getType(), ShiftAmt));
1294 In = Builder.CreateAShr(In, ConstantInt::get(In->getType(),
1298 if (CI.getType() == In->getType())
1299 return replaceInstUsesWith(CI, In);
1300 return CastInst::CreateIntegerCast(In, CI.getType(), true/*SExt*/);
2445 // In a non-default address space (not 0), a null pointer can not be