Lines Matching refs:InitX
1774 Intrinsic::ID &IntrinID, Value *&InitX, in detectShiftUntilZeroIdiom() argument
1807 InitX = PhiX->getIncomingValueForBlock(CurLoop->getLoopPreheader()); in detectShiftUntilZeroIdiom()
1811 if (DefX->getOpcode() == Instruction::AShr && !isKnownNonNegative(InitX, DL)) in detectShiftUntilZeroIdiom()
1853 Value *InitX; in recognizeAndInsertFFS() local
1861 if (!detectShiftUntilZeroIdiom(CurLoop, *DL, IntrinID, InitX, in recognizeAndInsertFFS()
1901 if (matchCondition(PreCondBI, PH) != InitX) in recognizeAndInsertFFS()
1917 const Value *Args[] = {InitX, in recognizeAndInsertFFS()
1918 ConstantInt::getBool(InitX->getContext(), ZeroCheck)}; in recognizeAndInsertFFS()
1925 IntrinsicCostAttributes Attrs(IntrinID, InitX->getType(), Args); in recognizeAndInsertFFS()
1932 transformLoopToCountable(IntrinID, PH, CntInst, CntPhi, InitX, DefX, in recognizeAndInsertFFS()
2048 PHINode *CntPhi, Value *InitX, Instruction *DefX, const DebugLoc &DL, in transformLoopToCountable() argument
2065 InitXNext = Builder.CreateAShr(InitX, 1); in transformLoopToCountable()
2067 InitXNext = Builder.CreateLShr(InitX, 1); in transformLoopToCountable()
2069 InitXNext = Builder.CreateShl(InitX, 1); in transformLoopToCountable()
2073 InitXNext = InitX; in transformLoopToCountable()