Lines Matching refs:In

597       Value *In = ICI->getOperand(0);  in transformZExtICmp()  local
598 Value *Sh = ConstantInt::get(In->getType(), in transformZExtICmp()
599 In->getType()->getScalarSizeInBits()-1); in transformZExtICmp()
600 In = Builder->CreateLShr(In, Sh, In->getName()+".lobit"); in transformZExtICmp()
601 if (In->getType() != CI.getType()) in transformZExtICmp()
602 In = Builder->CreateIntCast(In, CI.getType(), false/*ZExt*/); in transformZExtICmp()
605 Constant *One = ConstantInt::get(In->getType(), 1); in transformZExtICmp()
606 In = Builder->CreateXor(In, One, In->getName()+".not"); in transformZExtICmp()
609 return ReplaceInstUsesWith(CI, In); in transformZExtICmp()
643 Value *In = ICI->getOperand(0); in transformZExtICmp() local
647 In = Builder->CreateLShr(In, ConstantInt::get(In->getType(),ShiftAmt), in transformZExtICmp()
648 In->getName()+".lobit"); in transformZExtICmp()
652 Constant *One = ConstantInt::get(In->getType(), 1); in transformZExtICmp()
653 In = Builder->CreateXor(In, One); in transformZExtICmp()
656 if (CI.getType() == In->getType()) in transformZExtICmp()
657 return ReplaceInstUsesWith(CI, In); in transformZExtICmp()
658 return CastInst::CreateIntegerCast(In, CI.getType(), false/*ZExt*/); in transformZExtICmp()
983 Value *In = Builder->CreateAShr(Op0, Sh, Op0->getName()+".lobit"); in transformSExtICmp() local
984 if (In->getType() != CI.getType()) in transformSExtICmp()
985 In = Builder->CreateIntCast(In, CI.getType(), true/*SExt*/); in transformSExtICmp()
988 In = Builder->CreateNot(In, In->getName()+".not"); in transformSExtICmp()
989 return ReplaceInstUsesWith(CI, In); in transformSExtICmp()
1005 Value *In = ICI->getOperand(0); in transformSExtICmp() local
1021 In = Builder->CreateLShr(In, in transformSExtICmp()
1022 ConstantInt::get(In->getType(), ShiftAmt)); in transformSExtICmp()
1026 In = Builder->CreateAdd(In, in transformSExtICmp()
1027 ConstantInt::getAllOnesValue(In->getType()), in transformSExtICmp()
1035 In = Builder->CreateShl(In, in transformSExtICmp()
1036 ConstantInt::get(In->getType(), ShiftAmt)); in transformSExtICmp()
1039 In = Builder->CreateAShr(In, ConstantInt::get(In->getType(), in transformSExtICmp()
1043 if (CI.getType() == In->getType()) in transformSExtICmp()
1044 return ReplaceInstUsesWith(CI, In); in transformSExtICmp()
1045 return CastInst::CreateIntegerCast(In, CI.getType(), true/*SExt*/); in transformSExtICmp()