Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DPGOMemOPSizeOpt.cpp374 BasicBlock *CaseBB = BasicBlock::Create( in perform() local
383 CaseBB->getInstList().push_back(NewInst); in perform()
384 IRBuilder<> IRBCase(CaseBB); in perform()
386 SI->addCase(CaseSizeId, CaseBB); in perform()
388 Updates.push_back({DominatorTree::Insert, CaseBB, MergeBB}); in perform()
389 Updates.push_back({DominatorTree::Insert, BB, CaseBB}); in perform()
391 LLVM_DEBUG(dbgs() << *CaseBB << "\n"); in perform()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DPGOMemOPSizeOpt.cpp445 BasicBlock *CaseBB = BasicBlock::Create( in perform() local
453 CaseBB->getInstList().push_back(NewMO.I); in perform()
454 IRBuilder<> IRBCase(CaseBB); in perform()
456 SI->addCase(CaseSizeId, CaseBB); in perform()
458 PHI->addIncoming(NewMO.I, CaseBB); in perform()
460 Updates.push_back({DominatorTree::Insert, CaseBB, MergeBB}); in perform()
461 Updates.push_back({DominatorTree::Insert, BB, CaseBB}); in perform()
463 LLVM_DEBUG(dbgs() << *CaseBB << "\n"); in perform()
/external/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp1477 auto *CaseBB = BasicBlock::Create(CleanupPadBB->getContext(), in rewritePHIsForCleanupPad() local
1481 updatePhiNodes(CleanupPadBB, Pred, CaseBB); in rewritePHIsForCleanupPad()
1482 CaseBB->setName(CleanupPadBB->getName() + Twine(".from.") + in rewritePHIsForCleanupPad()
1484 Builder.SetInsertPoint(CaseBB); in rewritePHIsForCleanupPad()
1486 movePHIValuesToInsertedBlock(CleanupPadBB, CaseBB, NewCleanupPadBB); in rewritePHIsForCleanupPad()
1494 SwitchOnDispatch->addCase(SwitchConstant, CaseBB); in rewritePHIsForCleanupPad()
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp2204 auto CaseBB = CGF.createBasicBlock(".omp.sections.case"); in EmitSections() local
2205 CGF.EmitBlock(CaseBB); in EmitSections()
2206 SwitchStmt->addCase(CGF.Builder.getInt32(CaseNumber), CaseBB); in EmitSections()
2212 auto CaseBB = CGF.createBasicBlock(".omp.sections.case"); in EmitSections() local
2213 CGF.EmitBlock(CaseBB); in EmitSections()
2214 SwitchStmt->addCase(CGF.Builder.getInt32(0), CaseBB); in EmitSections()
/external/llvm-project/clang/lib/CodeGen/
DCGStmtOpenMP.cpp3456 auto CaseBB = CGF.createBasicBlock(".omp.sections.case"); in EmitSections() local
3457 CGF.EmitBlock(CaseBB); in EmitSections()
3458 SwitchStmt->addCase(CGF.Builder.getInt32(CaseNumber), CaseBB); in EmitSections()
3464 llvm::BasicBlock *CaseBB = CGF.createBasicBlock(".omp.sections.case"); in EmitSections() local
3465 CGF.EmitBlock(CaseBB); in EmitSections()
3466 SwitchStmt->addCase(CGF.Builder.getInt32(0), CaseBB); in EmitSections()