Lines Matching full:live
77 /// True if the associated instruction is live.
78 bool Live = false; member
86 /// True when this block contains a live instructions.
87 bool Live = false; member
92 /// True when this block is known to have live PHI nodes.
95 /// Control dependence sources need to be live for this block.
111 bool terminatorIsLive() const { return TerminatorLiveInfo->Live; } in terminatorIsLive()
131 bool isLive(BasicBlock *BB) { return BlockInfo[BB].Live; } in isLive()
135 bool isLive(Instruction *I) { return InstInfo[I].Live; } in isLive()
137 /// Instructions known to be live where we need to mark
138 /// reaching definitions as live.
141 /// Debug info scopes around a live instruction.
144 /// Set of blocks with not known to have live terminators.
148 /// dependence sources must be live and which have not had
153 /// initialize the Worklist to the set of must-be-live Instruscions.
156 /// Return true for operations which are always treated as live.
165 /// Mark an instruction as live.
168 /// Mark a block as live.
172 /// Mark terminators of control predecessors of a PHI node live.
175 /// Record the Debug Scopes which surround live debug information.
180 /// of control dependences impacting a live block. Those branches are
181 /// marked live.
184 /// Remove instructions not marked live, return if any instruction was
249 // Collect the set of "root" instructions that are known live. in initialize()
284 // and mark the branch live it if there is a back edge. in initialize()
299 // Mark blocks live if there is no path from the block to a in initialize()
302 // program, and for all others, mark the subtree live. in initialize()
318 // Treat the entry block as always live in initialize()
321 EntryInfo.Live = true; in initialize()
362 // Worklist holds newly discovered live instructions in markLiveInstructions()
363 // where we need to mark the inputs as live. in markLiveInstructions()
366 LLVM_DEBUG(dbgs() << "work live: "; LiveInst->dump();); in markLiveInstructions()
377 // decisions are required to determine live instructions are executed. in markLiveInstructions()
385 if (Info.Live) in markLive()
388 LLVM_DEBUG(dbgs() << "mark live: "; I->dump()); in markLive()
389 Info.Live = true; in markLive()
392 // Collect the live debug info scopes attached to this instruction. in markLive()
396 // Mark the containing block live in markLive()
400 // For live terminators, mark destination blocks in markLive()
401 // live to preserve this control flow edges. in markLive()
410 if (BBInfo.Live) in markLive()
412 LLVM_DEBUG(dbgs() << "mark block live: " << BBInfo.BB->getName() << '\n'); in markLive()
413 BBInfo.Live = true; in markLive()
419 // Mark unconditional branches at the end of live in markLive()
420 // blocks as live since there is no work to do for them later in markLive()
442 // Collect live scopes from the scope chain. in collectLiveScopes()
457 // If a predecessor block is not live, mark it as control-flow live in markPhiLive()
458 // which will trigger marking live branches upon which in markPhiLive()
474 dbgs() << "new live blocks:\n"; in markLiveBranchesFromControlDependences()
482 // The dominance frontier of a live block X in the reverse in markLiveBranchesFromControlDependences()
499 // Dead terminators which control live blocks are now marked live. in markLiveBranchesFromControlDependences()
501 LLVM_DEBUG(dbgs() << "live control in: " << BB->getName() << '\n'); in markLiveBranchesFromControlDependences()
527 // If intrinsic is pointing at a live SSA value, there may be an in removeDeadInstructions()
542 // The inverse of the live set is the dead set. These are those instructions in removeDeadInstructions()
600 // A dead region is the set of dead blocks with a common live post-dominator.
606 << (BlockInfo[BB].Live ? " LIVE\n" : "\n"); in updateDeadRegions()
617 InstInfo[Info.Terminator].Live = true; in updateDeadRegions()
628 // live edge. in updateDeadRegions()
678 // all branches in those blocks are forced live. in computeReversePostOrder()
695 // Collect the live debug info scopes attached to this instruction. in makeUnconditional()
699 // Just mark live an existing unconditional branch in makeUnconditional()
702 InstInfo[PredTerm].Live = true; in makeUnconditional()
709 InstInfo[NewTerm].Live = true; in makeUnconditional()