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.cpp700 if (!E || !CurrentBB || E->block() || til::ThreadSafetyTIL::isTrivial(E)) in addStatement()
761 if (CurrE->block() == CurrentBB) { in makePhiNodeVar()
807 unsigned NPreds = CurrentBB->numPredecessors(); in mergeEntryMap()
847 unsigned NPreds = CurrentBB->numPredecessors(); in mergeEntryMapBackEdge()
888 CurrentBB = lookupBlock(&Cfg->getEntry()); in enterCFG()
907 CurrentBB = lookupBlock(B); in enterCFGBlock()
908 CurrentBB->reservePredecessors(B->pred_size()); in enterCFGBlock()
909 Scfg->add(CurrentBB); in enterCFGBlock()
921 CurrentBB->addPredecessor(BlockMap[Pred->getBlockID()]); in handlePredecessor()
940 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.cpp1069 BasicBlock *CurrentBB = L.getHeader(); in unswitchAllTrivialConditions() local
1071 Visited.insert(CurrentBB); in unswitchAllTrivialConditions()
1077 if (auto *Defs = MSSAU->getMemorySSA()->getBlockDefs(CurrentBB)) in unswitchAllTrivialConditions()
1080 if (llvm::any_of(*CurrentBB, in unswitchAllTrivialConditions()
1084 Instruction *CurrentTerm = CurrentBB->getTerminator(); in unswitchAllTrivialConditions()
1104 auto *BI = dyn_cast<BranchInst>(CurrentBB->getTerminator()); in unswitchAllTrivialConditions()
1108 CurrentBB = BI->getSuccessor(0); in unswitchAllTrivialConditions()
1134 BI = cast<BranchInst>(CurrentBB->getTerminator()); in unswitchAllTrivialConditions()
1139 CurrentBB = BI->getSuccessor(0); in unswitchAllTrivialConditions()
1144 } while (L.contains(CurrentBB) && Visited.insert(CurrentBB).second); in unswitchAllTrivialConditions()
H A DJumpThreading.cpp1160 BasicBlock *CurrentBB = BB; in processImpliedCondition() local
1170 if (PBI->getSuccessor(0) != CurrentBB && PBI->getSuccessor(1) != CurrentBB) in processImpliedCondition()
1173 bool CondIsTrue = PBI->getSuccessor(0) == CurrentBB; in processImpliedCondition()
1201 CurrentBB = CurrentPred; in processImpliedCondition()
1202 CurrentPred = CurrentBB->getSinglePredecessor(); in processImpliedCondition()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h532 til::BasicBlock *CurrentBB = nullptr; variable
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCOpts.cpp2104 BasicBlock *CurrentBB = &*Current.getBasicBlockIterator(); in OptimizeWeakCalls() local
2105 for (BasicBlock::iterator B = CurrentBB->begin(), in OptimizeWeakCalls()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2457 BasicBlock *CurrentBB = Builder.GetInsertBlock(); in shuffleAndStore() local
2461 PhiSrc->addIncoming(Ptr, CurrentBB); in shuffleAndStore()
2464 PhiDest->addIncoming(ElemPtr, CurrentBB); in shuffleAndStore()