• Home
  • Raw
  • Download

Lines Matching refs:NarrowDef

851   Instruction *NarrowDef = nullptr;  member
862 : NarrowDef(ND), NarrowUse(NU), WideDef(WD), in NarrowIVDefUse()
932 void pushNarrowIVUsers(Instruction *NarrowDef, Instruction *WideDef);
988 Instruction *NarrowDef = DU.NarrowDef; in cloneBitwiseIVUser() local
997 Value *LHS = (NarrowUse->getOperand(0) == NarrowDef) in cloneBitwiseIVUser()
1001 Value *RHS = (NarrowUse->getOperand(1) == NarrowDef) in cloneBitwiseIVUser()
1018 Instruction *NarrowDef = DU.NarrowDef; in cloneArithmeticIVUser() local
1023 unsigned IVOpIdx = (NarrowUse->getOperand(0) == NarrowDef) ? 0 : 1; in cloneArithmeticIVUser()
1088 Value *LHS = (NarrowUse->getOperand(0) == NarrowDef) in cloneArithmeticIVUser()
1092 Value *RHS = (NarrowUse->getOperand(1) == NarrowDef) in cloneArithmeticIVUser()
1135 DU.NarrowUse->getOperand(0) == DU.NarrowDef ? 1 : 0; in getExtendedOperandRecurrence()
1136 assert(DU.NarrowUse->getOperand(1-ExtendOperIdx) == DU.NarrowDef && "bad DU"); in getExtendedOperandRecurrence()
1201 getInsertPointForUses(DU.NarrowUse, DU.NarrowDef, DT, LI)); in truncateIVUse()
1202 Value *Trunc = Builder.CreateTrunc(DU.WideDef, DU.NarrowDef->getType()); in truncateIVUse()
1203 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, Trunc); in truncateIVUse()
1232 Value *Op = Cmp->getOperand(Cmp->getOperand(0) == DU.NarrowDef ? 1 : 0); in widenLoopCompare()
1239 getInsertPointForUses(DU.NarrowUse, DU.NarrowDef, DT, LI)); in widenLoopCompare()
1240 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef); in widenLoopCompare()
1274 Value *Trunc = Builder.CreateTrunc(WidePhi, DU.NarrowDef->getType()); in widenIVUse()
1300 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef); in widenIVUse()
1371 void WidenIV::pushNarrowIVUsers(Instruction *NarrowDef, Instruction *WideDef) { in pushNarrowIVUsers() argument
1372 const SCEV *NarrowSCEV = SE->getSCEV(NarrowDef); in pushNarrowIVUsers()
1376 for (User *U : NarrowDef->users()) { in pushNarrowIVUsers()
1383 NarrowIVUsers.emplace_back(NarrowDef, NarrowUser, WideDef, NeverNegative); in pushNarrowIVUsers()
1461 if (DU.NarrowDef->use_empty()) in createWideIV()
1462 DeadInsts.emplace_back(DU.NarrowDef); in createWideIV()