Lines Matching defs:BBInfo
235 for (auto &BBInfo : BlockInfo)
236 for (Instruction &I : *BBInfo.second.BB)
237 InstInfo[&I].Block = &BBInfo.second;
241 for (auto &BBInfo : BlockInfo)
242 BBInfo.second.TerminatorLiveInfo = &InstInfo[BBInfo.second.Terminator];
321 for (auto &BBInfo : BlockInfo)
322 if (!BBInfo.second.terminatorIsLive())
323 BlocksWithDeadTerminators.insert(BBInfo.second.BB);
392 auto &BBInfo = *Info.Block;
393 if (BBInfo.Terminator == I) {
394 BlocksWithDeadTerminators.remove(BBInfo.BB);
397 if (!BBInfo.UnconditionalBranch)
401 markLive(BBInfo);
404 void AggressiveDeadCodeElimination::markLive(BlockInfoType &BBInfo) {
405 if (BBInfo.Live)
407 LLVM_DEBUG(dbgs() << "mark block live: " << BBInfo.BB->getName() << '\n');
408 BBInfo.Live = true;
409 if (!BBInfo.CFLive) {
410 BBInfo.CFLive = true;
411 NewLiveBlocks.insert(BBInfo.BB);
416 if (BBInfo.UnconditionalBranch)
417 markLive(BBInfo.Terminator);