Searched refs:CurrentBB (Results 1 – 7 of 7) sorted by relevance
724 if (CurrE->block() == CurrentBB) { in makePhiNodeVar()851 CurrentBB = lookupBlock(&Cfg->getEntry()); in enterCFG()870 CurrentBB = lookupBlock(B); in enterCFGBlock()872 Scfg->add(CurrentBB); in enterCFGBlock()903 CurrentBB->arguments().reserve( in enterCFGBlockBody()906 CurrentBB->addArgument(A); in enterCFGBlockBody()924 CurrentBB->instructions().reserve( in exitCFGBlockBody()927 CurrentBB->addInstruction(V); in exitCFGBlockBody()937 CurrentBB->setTerminator(Tm); in exitCFGBlockBody()946 CurrentBB->setTerminator(Tm); in exitCFGBlockBody()[all …]
188 BasicBlock *CurrentBB = I->getParent(); in captured() local190 if (DT.dominates(EarliestBB, CurrentBB)) { in captured()192 } else if (DT.dominates(CurrentBB, EarliestBB)) { in captured()197 DT.findNearestCommonDominator(CurrentBB, EarliestBB); in captured()
991 BasicBlock *CurrentBB = L.getHeader(); in unswitchAllTrivialConditions() local993 Visited.insert(CurrentBB); in unswitchAllTrivialConditions()999 if (auto *Defs = MSSAU->getMemorySSA()->getBlockDefs(CurrentBB)) in unswitchAllTrivialConditions()1002 if (llvm::any_of(*CurrentBB, in unswitchAllTrivialConditions()1006 Instruction *CurrentTerm = CurrentBB->getTerminator(); in unswitchAllTrivialConditions()1026 auto *BI = dyn_cast<BranchInst>(CurrentBB->getTerminator()); in unswitchAllTrivialConditions()1030 CurrentBB = BI->getSuccessor(0); in unswitchAllTrivialConditions()1056 BI = cast<BranchInst>(CurrentBB->getTerminator()); in unswitchAllTrivialConditions()1061 CurrentBB = BI->getSuccessor(0); in unswitchAllTrivialConditions()1066 } while (L.contains(CurrentBB) && Visited.insert(CurrentBB).second); in unswitchAllTrivialConditions()
1239 BasicBlock *CurrentBB = BB; in processImpliedCondition() local1249 if (PBI->getSuccessor(0) != CurrentBB && PBI->getSuccessor(1) != CurrentBB) in processImpliedCondition()1252 bool CondIsTrue = PBI->getSuccessor(0) == CurrentBB; in processImpliedCondition()1280 CurrentBB = CurrentPred; in processImpliedCondition()1281 CurrentPred = CurrentBB->getSinglePredecessor(); in processImpliedCondition()
519 til::BasicBlock *CurrentBB = nullptr; variable
2144 BasicBlock *CurrentBB = &*Current.getBasicBlockIterator(); in OptimizeWeakCalls() local2145 for (BasicBlock::iterator B = CurrentBB->begin(), in OptimizeWeakCalls()
1800 llvm::BasicBlock *CurrentBB = Bld.GetInsertBlock(); in shuffleAndStore() local1804 PhiSrc->addIncoming(Ptr.getPointer(), CurrentBB); in shuffleAndStore()1807 PhiDest->addIncoming(ElemPtr.getPointer(), CurrentBB); in shuffleAndStore()