Lines Matching refs:WideDef
710 Instruction *WideDef; member
712 NarrowIVDefUse(): NarrowDef(nullptr), NarrowUse(nullptr), WideDef(nullptr) {} in NarrowIVDefUse()
715 NarrowDef(ND), NarrowUse(NU), WideDef(WD) {} in NarrowIVDefUse()
781 void pushNarrowIVUsers(Instruction *NarrowDef, Instruction *WideDef);
835 Value *LHS = (DU.NarrowUse->getOperand(0) == DU.NarrowDef) ? DU.WideDef : in CloneIVUser()
837 Value *RHS = (DU.NarrowUse->getOperand(1) == DU.NarrowDef) ? DU.WideDef : in CloneIVUser()
903 const SCEV *lhs = SE->getSCEV(DU.WideDef); in GetExtendedOperandRecurrence()
947 DEBUG(dbgs() << "INDVARS: Truncate IV " << *DU.WideDef in truncateIVUse()
950 Value *Trunc = Builder.CreateTrunc(DU.WideDef, DU.NarrowDef->getType()); in truncateIVUse()
973 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef); in WidenLoopCompare()
997 PHINode::Create(DU.WideDef->getType(), 1, UsePhi->getName() + ".wide", in WidenIVUse()
999 WidePhi->addIncoming(DU.WideDef, UsePhi->getIncomingBlock(0)); in WidenIVUse()
1012 Value *NewDef = DU.WideDef; in WidenIVUse()
1019 NewDef = Builder.CreateTrunc(DU.WideDef, DU.NarrowUse->getType()); in WidenIVUse()
1027 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef); in WidenIVUse()
1033 << " replaced by " << *DU.WideDef << "\n"); in WidenIVUse()
1099 void WidenIV::pushNarrowIVUsers(Instruction *NarrowDef, Instruction *WideDef) { in pushNarrowIVUsers() argument
1107 NarrowIVUsers.push_back(NarrowIVDefUse(NarrowDef, NarrowUser, WideDef)); in pushNarrowIVUsers()