Lines Matching refs:InitX
1631 Intrinsic::ID &IntrinID, Value *&InitX, in detectShiftUntilZeroIdiom() argument
1664 InitX = PhiX->getIncomingValueForBlock(CurLoop->getLoopPreheader()); in detectShiftUntilZeroIdiom()
1668 if (DefX->getOpcode() == Instruction::AShr && !isKnownNonNegative(InitX, DL)) in detectShiftUntilZeroIdiom()
1712 Value *InitX; in recognizeAndInsertFFS() local
1720 if (!detectShiftUntilZeroIdiom(CurLoop, *DL, IntrinID, InitX, in recognizeAndInsertFFS()
1760 if (matchCondition(PreCondBI, PH) != InitX) in recognizeAndInsertFFS()
1776 const Value *Args[] = {InitX, in recognizeAndInsertFFS()
1777 ConstantInt::getBool(InitX->getContext(), ZeroCheck)}; in recognizeAndInsertFFS()
1784 IntrinsicCostAttributes Attrs(IntrinID, InitX->getType(), Args); in recognizeAndInsertFFS()
1791 transformLoopToCountable(IntrinID, PH, CntInst, CntPhi, InitX, DefX, in recognizeAndInsertFFS()
1907 PHINode *CntPhi, Value *InitX, Instruction *DefX, const DebugLoc &DL, in transformLoopToCountable() argument
1924 InitXNext = Builder.CreateAShr(InitX, 1); in transformLoopToCountable()
1926 InitXNext = Builder.CreateLShr(InitX, 1); in transformLoopToCountable()
1928 InitXNext = Builder.CreateShl(InitX, 1); in transformLoopToCountable()
1932 InitXNext = InitX; in transformLoopToCountable()