Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Live

1 //===-- LiveVariables.cpp - Live Variable Analysis for Machine Code -------===//
17 // This class computes live variables using are sparse implementation based on
18 // the machine code SSA form. This class computes live variable information for
20 // uses the dominance properties of SSA form to efficiently compute live
22 // live within a single basic block (allowing it to do a single local analysis
45 "Live Variable Analysis", false, false)
48 "Live Variable Analysis", false, false)
105 return; // We already know the block is live
138 // live range by updating the kill instruction.
172 // Update all dominating blocks to mark them as "known live".
425 SmallSet<unsigned, 32> Live;
427 Live.insert(Reg);
429 Live.insert(*SS);
439 if (Live.count(SubReg))
442 Live.insert(SubReg);
444 Live.insert(*SS);
455 if (!Live.count(SubReg))
497 // Calculate live variable information in depth first order on the CFG of the
509 // Mark live-in registers as live-in.
514 "Cannot have a live-in virtual register!");
588 // mark it as using all of the live-out values in the function.
601 "Cannot have a live-out virtual register!");
604 // Add live-out registers as implicit uses.
690 // Reg is live-through.
694 // Registers defined in MBB cannot be live in.
707 // the value is either live in the block, or if it is killed in the block.
720 // Check to see if this value is live because there is a use in a successor
749 /// variables that are live out of DomBB will be marked as passing live through
756 // All registers used by PHI nodes in SuccBB must be live through BB.
763 // Update info for all live variables