Lines Matching refs:CurrentBB
683 if (!E || !CurrentBB || E->block() || til::ThreadSafetyTIL::isTrivial(E)) in addStatement()
744 if (CurrE->block() == CurrentBB) { in makePhiNodeVar()
790 unsigned NPreds = CurrentBB->numPredecessors(); in mergeEntryMap()
830 unsigned NPreds = CurrentBB->numPredecessors(); in mergeEntryMapBackEdge()
871 CurrentBB = lookupBlock(&Cfg->getEntry()); in enterCFG()
890 CurrentBB = lookupBlock(B); in enterCFGBlock()
891 CurrentBB->reservePredecessors(B->pred_size()); in enterCFGBlock()
892 Scfg->add(CurrentBB); in enterCFGBlock()
904 CurrentBB->addPredecessor(BlockMap[Pred->getBlockID()]); in handlePredecessor()
923 CurrentBB->arguments().reserve( in enterCFGBlockBody()
926 CurrentBB->addArgument(A); in enterCFGBlockBody()
944 CurrentBB->instructions().reserve( in exitCFGBlockBody()
947 CurrentBB->addInstruction(V); in exitCFGBlockBody()
955 unsigned Idx = BB ? BB->findPredecessorIndex(CurrentBB) : 0; in exitCFGBlockBody()
957 CurrentBB->setTerminator(Tm); in exitCFGBlockBody()
966 CurrentBB->setTerminator(Tm); in exitCFGBlockBody()
983 CurrentBB = nullptr; in exitCFGBlock()