Lines Matching refs:CurrentBB
613 if (!E || !CurrentBB || E->block() || til::ThreadSafetyTIL::isTrivial(E)) in addStatement()
674 if (CurrE->block() == CurrentBB) { in makePhiNodeVar()
721 unsigned NPreds = CurrentBB->numPredecessors(); in mergeEntryMap()
761 unsigned NPreds = CurrentBB->numPredecessors(); in mergeEntryMapBackEdge()
803 CurrentBB = lookupBlock(&Cfg->getEntry()); in enterCFG()
822 CurrentBB = lookupBlock(B); in enterCFGBlock()
823 CurrentBB->reservePredecessors(B->pred_size()); in enterCFGBlock()
824 Scfg->add(CurrentBB); in enterCFGBlock()
836 CurrentBB->addPredecessor(BlockMap[Pred->getBlockID()]); in handlePredecessor()
855 CurrentBB->arguments().reserve( in enterCFGBlockBody()
858 CurrentBB->addArgument(A); in enterCFGBlockBody()
876 CurrentBB->instructions().reserve( in exitCFGBlockBody()
879 CurrentBB->addInstruction(V); in exitCFGBlockBody()
887 unsigned Idx = BB ? BB->findPredecessorIndex(CurrentBB) : 0; in exitCFGBlockBody()
889 CurrentBB->setTerminator(Tm); in exitCFGBlockBody()
898 CurrentBB->setTerminator(Tm); in exitCFGBlockBody()
915 CurrentBB = nullptr; in exitCFGBlock()