Searched refs:CurrentBB (Results 1 – 6 of 6) sorted by relevance
744 if (CurrE->block() == CurrentBB) { in makePhiNodeVar()871 CurrentBB = lookupBlock(&Cfg->getEntry()); in enterCFG()890 CurrentBB = lookupBlock(B); in enterCFGBlock()892 Scfg->add(CurrentBB); in enterCFGBlock()923 CurrentBB->arguments().reserve( in enterCFGBlockBody()926 CurrentBB->addArgument(A); in enterCFGBlockBody()944 CurrentBB->instructions().reserve( in exitCFGBlockBody()947 CurrentBB->addInstruction(V); in exitCFGBlockBody()957 CurrentBB->setTerminator(Tm); in exitCFGBlockBody()966 CurrentBB->setTerminator(Tm); in exitCFGBlockBody()[all …]
1055 BasicBlock *CurrentBB = L.getHeader(); in unswitchAllTrivialConditions() local1057 Visited.insert(CurrentBB); in unswitchAllTrivialConditions()1063 if (auto *Defs = MSSAU->getMemorySSA()->getBlockDefs(CurrentBB)) in unswitchAllTrivialConditions()1066 if (llvm::any_of(*CurrentBB, in unswitchAllTrivialConditions()1070 Instruction *CurrentTerm = CurrentBB->getTerminator(); in unswitchAllTrivialConditions()1090 auto *BI = dyn_cast<BranchInst>(CurrentBB->getTerminator()); in unswitchAllTrivialConditions()1094 CurrentBB = BI->getSuccessor(0); in unswitchAllTrivialConditions()1120 BI = cast<BranchInst>(CurrentBB->getTerminator()); in unswitchAllTrivialConditions()1125 CurrentBB = BI->getSuccessor(0); in unswitchAllTrivialConditions()1130 } while (L.contains(CurrentBB) && Visited.insert(CurrentBB).second); in unswitchAllTrivialConditions()
1176 BasicBlock *CurrentBB = BB; in processImpliedCondition() local1186 if (PBI->getSuccessor(0) != CurrentBB && PBI->getSuccessor(1) != CurrentBB) in processImpliedCondition()1189 bool CondIsTrue = PBI->getSuccessor(0) == CurrentBB; in processImpliedCondition()1217 CurrentBB = CurrentPred; in processImpliedCondition()1218 CurrentPred = CurrentBB->getSinglePredecessor(); in processImpliedCondition()
526 til::BasicBlock *CurrentBB = nullptr; variable
2107 BasicBlock *CurrentBB = &*Current.getBasicBlockIterator(); in OptimizeWeakCalls() local2108 for (BasicBlock::iterator B = CurrentBB->begin(), in OptimizeWeakCalls()
1502 llvm::BasicBlock *CurrentBB = Bld.GetInsertBlock(); in shuffleAndStore() local1506 PhiSrc->addIncoming(Ptr.getPointer(), CurrentBB); in shuffleAndStore()1509 PhiDest->addIncoming(ElemPtr.getPointer(), CurrentBB); in shuffleAndStore()