Home
last modified time | relevance | path

Searched refs:CurrentBB (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp683 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()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpTableToSwitch.cpp154 BasicBlock *CurrentBB = &BB; in run() local
155 while (CurrentBB) { in run()
157 for (Instruction &I : make_early_inc_range(*CurrentBB)) { in run()
177 CurrentBB = SplittedOutTail ? SplittedOutTail : nullptr; in run()
H A DSimpleLoopUnswitch.cpp1064 BasicBlock *CurrentBB = L.getHeader(); in unswitchAllTrivialConditions() local
1066 Visited.insert(CurrentBB); in unswitchAllTrivialConditions()
1072 if (auto *Defs = MSSAU->getMemorySSA()->getBlockDefs(CurrentBB)) in unswitchAllTrivialConditions()
1075 if (llvm::any_of(*CurrentBB, in unswitchAllTrivialConditions()
1079 Instruction *CurrentTerm = CurrentBB->getTerminator(); in unswitchAllTrivialConditions()
1099 auto *BI = dyn_cast<BranchInst>(CurrentBB->getTerminator()); in unswitchAllTrivialConditions()
1103 CurrentBB = BI->getSuccessor(0); in unswitchAllTrivialConditions()
1129 BI = cast<BranchInst>(CurrentBB->getTerminator()); in unswitchAllTrivialConditions()
1134 CurrentBB = BI->getSuccessor(0); in unswitchAllTrivialConditions()
1139 } while (L.contains(CurrentBB) in unswitchAllTrivialConditions()
[all...]
H A DJumpThreading.cpp1163 BasicBlock *CurrentBB = BB; in processImpliedCondition() local
1173 if (PBI->getSuccessor(0) != CurrentBB && PBI->getSuccessor(1) != CurrentBB) in processImpliedCondition()
1176 bool CondIsTrue = PBI->getSuccessor(0) == CurrentBB; in processImpliedCondition()
1204 CurrentBB = CurrentPred; in processImpliedCondition()
1205 CurrentPred = CurrentBB->getSinglePredecessor(); in processImpliedCondition()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h526 til::BasicBlock *CurrentBB = nullptr; variable
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCOpts.cpp2113 BasicBlock *CurrentBB = &*Current.getBasicBlockIterator(); in OptimizeWeakCalls() local
2114 for (BasicBlock::iterator B = CurrentBB->begin(), in OptimizeWeakCalls()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2323 BasicBlock *CurrentBB = Builder.GetInsertBlock(); in shuffleAndStore() local
2327 PhiSrc->addIncoming(Ptr, CurrentBB); in shuffleAndStore()
2330 PhiDest->addIncoming(ElemPtr, CurrentBB); in shuffleAndStore()