Searched refs:CurrentBB (Results 1 – 7 of 7) sorted by relevance
699 if (CurrE->block() == CurrentBB) { in makePhiNodeVar()826 CurrentBB = lookupBlock(&Cfg->getEntry()); in enterCFG()845 CurrentBB = lookupBlock(B); in enterCFGBlock()847 Scfg->add(CurrentBB); in enterCFGBlock()878 CurrentBB->arguments().reserve( in enterCFGBlockBody()881 CurrentBB->addArgument(A); in enterCFGBlockBody()899 CurrentBB->instructions().reserve( in exitCFGBlockBody()902 CurrentBB->addInstruction(V); in exitCFGBlockBody()912 CurrentBB->setTerminator(Tm); in exitCFGBlockBody()921 CurrentBB->setTerminator(Tm); in exitCFGBlockBody()[all …]
1153 BasicBlock *CurrentBB = CurrentLoop->getHeader(); in tryTrivialLoopUnswitch() local1154 Instruction *CurrentTerm = CurrentBB->getTerminator(); in tryTrivialLoopUnswitch()1155 LLVMContext &Context = CurrentBB->getContext(); in tryTrivialLoopUnswitch()1178 if (!CurrentLoop->contains(CurrentBB) || !Visited.insert(CurrentBB).second) in tryTrivialLoopUnswitch()1184 for (Instruction &I : *CurrentBB) in tryTrivialLoopUnswitch()1190 CurrentBB = BI->getSuccessor(0); in tryTrivialLoopUnswitch()1192 CurrentBB = BI->getSuccessor(0); in tryTrivialLoopUnswitch()1194 CurrentBB = BI->getSuccessor(1); in tryTrivialLoopUnswitch()1206 CurrentBB = SI->findCaseValue(Cond)->getCaseSuccessor(); in tryTrivialLoopUnswitch()1212 CurrentTerm = CurrentBB->getTerminator(); in tryTrivialLoopUnswitch()
966 BasicBlock *CurrentBB = L.getHeader(); in unswitchAllTrivialConditions() local968 Visited.insert(CurrentBB); in unswitchAllTrivialConditions()974 if (auto *Defs = MSSAU->getMemorySSA()->getBlockDefs(CurrentBB)) in unswitchAllTrivialConditions()977 if (llvm::any_of(*CurrentBB, in unswitchAllTrivialConditions()981 Instruction *CurrentTerm = CurrentBB->getTerminator(); in unswitchAllTrivialConditions()1001 auto *BI = dyn_cast<BranchInst>(CurrentBB->getTerminator()); in unswitchAllTrivialConditions()1005 CurrentBB = BI->getSuccessor(0); in unswitchAllTrivialConditions()1030 BI = cast<BranchInst>(CurrentBB->getTerminator()); in unswitchAllTrivialConditions()1035 CurrentBB = BI->getSuccessor(0); in unswitchAllTrivialConditions()1040 } while (L.contains(CurrentBB) && Visited.insert(CurrentBB).second); in unswitchAllTrivialConditions()
1261 BasicBlock *CurrentBB = BB; in processImpliedCondition() local1271 if (PBI->getSuccessor(0) != CurrentBB && PBI->getSuccessor(1) != CurrentBB) in processImpliedCondition()1274 bool CondIsTrue = PBI->getSuccessor(0) == CurrentBB; in processImpliedCondition()1290 CurrentBB = CurrentPred; in processImpliedCondition()1291 CurrentPred = CurrentBB->getSinglePredecessor(); in processImpliedCondition()
510 til::BasicBlock *CurrentBB = nullptr; variable
2146 BasicBlock *CurrentBB = &*Current.getBasicBlockIterator(); in OptimizeWeakCalls() local2147 for (BasicBlock::iterator B = CurrentBB->begin(), in OptimizeWeakCalls()
1769 llvm::BasicBlock *CurrentBB = Bld.GetInsertBlock(); in shuffleAndStore() local1773 PhiSrc->addIncoming(Ptr.getPointer(), CurrentBB); in shuffleAndStore()1776 PhiDest->addIncoming(ElemPtr.getPointer(), CurrentBB); in shuffleAndStore()