Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp297 bool speculativelyExecuteBB(BranchInst *BI, BasicBlock *ThenBB);
3050 static bool validateAndCostRequiredSelects(BasicBlock *BB, BasicBlock *ThenBB, in validateAndCostRequiredSelects() argument
3063 Value *ThenV = PN.getIncomingValueForBlock(ThenBB); in validateAndCostRequiredSelects()
3164 BasicBlock *ThenBB) { in speculativelyExecuteBB() argument
3174 BasicBlock *EndBB = ThenBB->getTerminator()->getSuccessor(0); in speculativelyExecuteBB()
3181 if (ThenBB != BI->getSuccessor(0)) { in speculativelyExecuteBB()
3182 assert(ThenBB == BI->getSuccessor(1) && "No edge from 'if' block?"); in speculativelyExecuteBB()
3205 for (Instruction &I : reverse(drop_end(*ThenBB))) { in speculativelyExecuteBB()
3243 isSafeToSpeculateStore(&I, BB, ThenBB, EndBB)))) in speculativelyExecuteBB()
3281 Convert |= validateAndCostRequiredSelects(BB, ThenBB, EndBB, in speculativelyExecuteBB()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp1630 BasicBlock *ThenBB = BasicBlock::Create(C, "if.then", &F); in handleLongjmpableCallsForWasmSjLj() local
1636 IRB.CreateCondBr(Cmp, ThenBB, EndBB); in handleLongjmpableCallsForWasmSjLj()
1638 IRB.SetInsertPoint(ThenBB); in handleLongjmpableCallsForWasmSjLj()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2455 BasicBlock *ThenBB = BasicBlock::Create(M.getContext(), ".shuffle.then"); in shuffleAndStore() local
2471 Builder.CreateICmpSGT(PtrDiff, Builder.getInt64(IntSize - 1)), ThenBB, in shuffleAndStore()
2473 emitBlock(ThenBB, CurFunc); in shuffleAndStore()
2485 PhiSrc->addIncoming(LocalPtr, ThenBB); in shuffleAndStore()
2486 PhiDest->addIncoming(LocalElemPtr, ThenBB); in shuffleAndStore()
2744 BasicBlock *ThenBB = BasicBlock::Create(Ctx, "then"); in emitInterWarpCopyFunction() local
2750 Builder.CreateCondBr(IsWarpMaster, ThenBB, ElseBB); in emitInterWarpCopyFunction()
2751 emitBlock(ThenBB, Builder.GetInsertBlock()->getParent()); in emitInterWarpCopyFunction()
2974 BasicBlock *ThenBB = BasicBlock::Create(Ctx, "then"); in emitShuffleAndReduceFunction() local
2978 Builder.CreateCondBr(CondReduce, ThenBB, ElseBB); in emitShuffleAndReduceFunction()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp1177 llvm::BasicBlock *ThenBB = nullptr; in EmitOMPLastprivateClauseFinal() local
1192 ThenBB = createBasicBlock(".omp.lastprivate.then"); in EmitOMPLastprivateClauseFinal()
1194 Builder.CreateCondBr(IsLastIterCond, ThenBB, DoneBB); in EmitOMPLastprivateClauseFinal()
1195 EmitBlock(ThenBB); in EmitOMPLastprivateClauseFinal()
1525 llvm::BasicBlock *ThenBB = CGF.createBasicBlock(".omp.reduction.pu"); in emitPostUpdateForReductionClause() local
1527 CGF.Builder.CreateCondBr(Cond, ThenBB, DoneBB); in emitPostUpdateForReductionClause()
1528 CGF.EmitBlock(ThenBB); in emitPostUpdateForReductionClause()
2268 llvm::BasicBlock *ThenBB = createBasicBlock(".omp.linear.pu"); in EmitOMPLinearClauseFinal() local
2270 Builder.CreateCondBr(Cond, ThenBB, DoneBB); in EmitOMPLinearClauseFinal()
2271 EmitBlock(ThenBB); in EmitOMPLinearClauseFinal()
[all …]
H A DCGOpenMPRuntime.cpp11857 llvm::BasicBlock *ThenBB = CGF.createBasicBlock("lp_cond_then"); in emitLastprivateConditionalUpdate() local
11859 CGF.Builder.CreateCondBr(CmpRes, ThenBB, ExitBB); in emitLastprivateConditionalUpdate()
11861 CGF.EmitBlock(ThenBB); in emitLastprivateConditionalUpdate()
11971 llvm::BasicBlock *ThenBB = CGF.createBasicBlock("lpc.then"); in checkAndEmitSharedLastprivateConditional() local
11974 CGF.Builder.CreateCondBr(Cmp, ThenBB, DoneBB); in checkAndEmitSharedLastprivateConditional()
11975 CGF.EmitBlock(ThenBB); in checkAndEmitSharedLastprivateConditional()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp6471 BasicBlock *ThenBB = Br->getSuccessor(0); in collectValuesToIgnore() local
6474 if (!TheLoop->contains(ThenBB) || !TheLoop->contains(ElseBB)) in collectValuesToIgnore()
6476 bool ThenEmpty = IsEmptyBlock(ThenBB); in collectValuesToIgnore()
6479 (ThenEmpty && ThenBB->getSingleSuccessor() == ElseBB && in collectValuesToIgnore()
6481 (ElseEmpty && ElseBB->getSingleSuccessor() == ThenBB && in collectValuesToIgnore()
6482 ThenBB->phis().empty())) { in collectValuesToIgnore()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSimpleLoopUnswitch.cpp2728 BasicBlock *ThenBB = CondBr->getSuccessor(0), in turnSelectIntoBranch() local
2735 Phi->addIncoming(SI->getTrueValue(), ThenBB); in turnSelectIntoBranch()