Lines Matching defs:LI
78 // LI - The live range that is live-in to this block. The algorithms can
80 LiveInterval *LI;
83 // Cleared when the final value has been determined and LI has been updated.
88 // determined, the range from the block start to Kill will be added to LI.
94 LiveInBlock(LiveInterval *li, MachineDomTreeNode *node, SlotIndex kill)
95 : LI(li), DomNode(node), Kill(kill), Value(0) {}
104 /// Assuming that LI is live-in to KillMBB and killed at Kill, find the set
108 /// to LI, and the function returns true.
110 /// If multiple values can reach Kill, the blocks that need LI to be live in
114 bool findReachingDefs(LiveInterval *LI,
150 /// and uses. LI must be empty with no values.
151 void calculate(LiveInterval *LI);
160 /// extend - Extend the live range of LI to reach Kill.
162 /// The existing values in LI must be live so they jointly dominate Kill. If
168 void extend(LiveInterval *LI, SlotIndex Kill, unsigned PhysReg = 0);
170 /// createDeadDefs - Create a dead def in LI for every def operand of Reg.
173 void createDeadDefs(LiveInterval *LI, unsigned Reg);
175 /// createDeadDefs - Create a dead def in LI for every def of LI->reg.
176 void createDeadDefs(LiveInterval *LI) {
177 createDeadDefs(LI, LI->reg);
180 /// extendToUses - Extend the live range of LI to reach all uses of Reg.
184 void extendToUses(LiveInterval *LI, unsigned Reg);
186 /// extendToUses - Extend the live range of LI to reach all uses of LI->reg.
187 void extendToUses(LiveInterval *LI) {
188 extendToUses(LI, LI->reg);
217 /// has been determined, calculateValues() will add liveness to LI.
219 /// @param LI The live range that is live-in to the block.
221 /// @param Kill Index in block where LI is killed. If the value is
224 void addLiveInBlock(LiveInterval *LI,
227 LiveIn.push_back(LiveInBlock(LI, DomNode, Kill));