Lines Matching refs:InitX
1691 Intrinsic::ID &IntrinID, Value *&InitX, in detectShiftUntilZeroIdiom() argument
1724 InitX = PhiX->getIncomingValueForBlock(CurLoop->getLoopPreheader()); in detectShiftUntilZeroIdiom()
1728 if (DefX->getOpcode() == Instruction::AShr && !isKnownNonNegative(InitX, DL)) in detectShiftUntilZeroIdiom()
1770 Value *InitX; in recognizeAndInsertFFS() local
1778 if (!detectShiftUntilZeroIdiom(CurLoop, *DL, IntrinID, InitX, in recognizeAndInsertFFS()
1818 if (matchCondition(PreCondBI, PH) != InitX) in recognizeAndInsertFFS()
1834 const Value *Args[] = {InitX, in recognizeAndInsertFFS()
1835 ConstantInt::getBool(InitX->getContext(), ZeroCheck)}; in recognizeAndInsertFFS()
1842 IntrinsicCostAttributes Attrs(IntrinID, InitX->getType(), Args); in recognizeAndInsertFFS()
1849 transformLoopToCountable(IntrinID, PH, CntInst, CntPhi, InitX, DefX, in recognizeAndInsertFFS()
1965 PHINode *CntPhi, Value *InitX, Instruction *DefX, const DebugLoc &DL, in transformLoopToCountable() argument
1982 InitXNext = Builder.CreateAShr(InitX, 1); in transformLoopToCountable()
1984 InitXNext = Builder.CreateLShr(InitX, 1); in transformLoopToCountable()
1986 InitXNext = Builder.CreateShl(InitX, 1); in transformLoopToCountable()
1990 InitXNext = InitX; in transformLoopToCountable()