Lines Matching refs:InV
865 Value *InV = nullptr; in FoldOpIntoPhi() local
870 InV = InC->isNullValue() ? FalseVInPred : TrueVInPred; in FoldOpIntoPhi()
872 InV = Builder->CreateSelect(PN->getIncomingValue(i), in FoldOpIntoPhi()
874 NewPN->addIncoming(InV, ThisBB); in FoldOpIntoPhi()
879 Value *InV = nullptr; in FoldOpIntoPhi() local
881 InV = ConstantExpr::getCompare(CI->getPredicate(), InC, C); in FoldOpIntoPhi()
883 InV = Builder->CreateICmp(CI->getPredicate(), PN->getIncomingValue(i), in FoldOpIntoPhi()
886 InV = Builder->CreateFCmp(CI->getPredicate(), PN->getIncomingValue(i), in FoldOpIntoPhi()
888 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); in FoldOpIntoPhi()
893 Value *InV = nullptr; in FoldOpIntoPhi() local
895 InV = ConstantExpr::get(I.getOpcode(), InC, C); in FoldOpIntoPhi()
897 InV = Builder->CreateBinOp(cast<BinaryOperator>(I).getOpcode(), in FoldOpIntoPhi()
899 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); in FoldOpIntoPhi()
905 Value *InV; in FoldOpIntoPhi() local
907 InV = ConstantExpr::getCast(CI->getOpcode(), InC, RetTy); in FoldOpIntoPhi()
909 InV = Builder->CreateCast(CI->getOpcode(), in FoldOpIntoPhi()
911 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); in FoldOpIntoPhi()