Lines Matching refs:DefX

249                                 Value *Var, Instruction *DefX,
1462 static PHINode *getRecurrenceVar(Value *VarX, Instruction *DefX, in getRecurrenceVar() argument
1466 (PhiX->getOperand(0) == DefX || PhiX->getOperand(1) == DefX)) in getRecurrenceVar()
1633 Instruction *&DefX) { in detectShiftUntilZeroIdiom() argument
1637 DefX = nullptr; in detectShiftUntilZeroIdiom()
1645 DefX = dyn_cast<Instruction>(T); in detectShiftUntilZeroIdiom()
1650 if (!DefX || !DefX->isShift()) in detectShiftUntilZeroIdiom()
1652 IntrinID = DefX->getOpcode() == Instruction::Shl ? Intrinsic::cttz : in detectShiftUntilZeroIdiom()
1654 ConstantInt *Shft = dyn_cast<ConstantInt>(DefX->getOperand(1)); in detectShiftUntilZeroIdiom()
1657 VarX = DefX->getOperand(0); in detectShiftUntilZeroIdiom()
1660 PHINode *PhiX = getRecurrenceVar(VarX, DefX, LoopEntry); in detectShiftUntilZeroIdiom()
1668 if (DefX->getOpcode() == Instruction::AShr && !isKnownNonNegative(InitX, DL)) in detectShiftUntilZeroIdiom()
1713 Instruction *DefX = nullptr; in recognizeAndInsertFFS() local
1721 CntInst, CntPhi, DefX)) in recognizeAndInsertFFS()
1791 transformLoopToCountable(IntrinID, PH, CntInst, CntPhi, InitX, DefX, in recognizeAndInsertFFS()
1792 DefX->getDebugLoc(), ZeroCheck, in recognizeAndInsertFFS()
1907 PHINode *CntPhi, Value *InitX, Instruction *DefX, const DebugLoc &DL, in transformLoopToCountable() argument
1923 if (DefX->getOpcode() == Instruction::AShr) in transformLoopToCountable()
1925 else if (DefX->getOpcode() == Instruction::LShr) in transformLoopToCountable()
1927 else if (DefX->getOpcode() == Instruction::Shl) // cttz in transformLoopToCountable()