Home
last modified time | relevance | path

Searched refs:CaseBB (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOMemOPSizeOpt.cpp411 BasicBlock *CaseBB = BasicBlock::Create( in perform() local
419 NewMO.I->insertInto(CaseBB, CaseBB->end()); in perform()
420 IRBuilder<> IRBCase(CaseBB); in perform()
422 SI->addCase(CaseSizeId, CaseBB); in perform()
424 PHI->addIncoming(NewMO.I, CaseBB); in perform()
426 Updates.push_back({DominatorTree::Insert, CaseBB, MergeBB}); in perform()
427 Updates.push_back({DominatorTree::Insert, BB, CaseBB}); in perform()
429 LLVM_DEBUG(dbgs() << *CaseBB << "\n"); in perform()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp2171 auto *CaseBB = BasicBlock::Create(CleanupPadBB->getContext(), in rewritePHIsForCleanupPad() local
2175 updatePhiNodes(CleanupPadBB, Pred, CaseBB); in rewritePHIsForCleanupPad()
2176 CaseBB->setName(CleanupPadBB->getName() + Twine(".from.") + in rewritePHIsForCleanupPad()
2178 Builder.SetInsertPoint(CaseBB); in rewritePHIsForCleanupPad()
2180 movePHIValuesToInsertedBlock(CleanupPadBB, CaseBB, NewCleanupPadBB); in rewritePHIsForCleanupPad()
2188 SwitchOnDispatch->addCase(SwitchConstant, CaseBB); in rewritePHIsForCleanupPad()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPreLegalizer.cpp791 BasicBlock *CaseBB = in processSwitches() local
793 auto It = BB2MBB.find(CaseBB); in processSwitches()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2079 auto *CaseBB = IP.getBlock()->getSinglePredecessor(); in createSections() local
2080 auto *CondBB = CaseBB->getSinglePredecessor()->getSinglePredecessor(); in createSections()
2114 BasicBlock *CaseBB = BasicBlock::Create( in createSections() local
2116 SwitchStmt->addCase(Builder.getInt32(CaseNumber), CaseBB); in createSections()
2117 Builder.SetInsertPoint(CaseBB); in createSections()
2171 auto *CaseBB = Loc.IP.getBlock(); in createSection() local
2172 auto *CondBB = CaseBB->getSinglePredecessor()->getSinglePredecessor(); in createSection()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp4075 auto CaseBB = CGF.createBasicBlock(".omp.sections.case"); in EmitSections() local
4076 CGF.EmitBlock(CaseBB); in EmitSections()
4077 SwitchStmt->addCase(CGF.Builder.getInt32(CaseNumber), CaseBB); in EmitSections()
4083 llvm::BasicBlock *CaseBB = CGF.createBasicBlock(".omp.sections.case"); in EmitSections() local
4084 CGF.EmitBlock(CaseBB); in EmitSections()
4085 SwitchStmt->addCase(CGF.Builder.getInt32(0), CaseBB); in EmitSections()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7490 BasicBlock *CaseBB = Case.getCaseSuccessor(); in optimizeSwitchPhiConstants() local
7494 for (PHINode &PHI : CaseBB->phis()) { in optimizeSwitchPhiConstants()
7525 if (SI->findCaseDest(CaseBB) == nullptr) { in optimizeSwitchPhiConstants()