Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp278 bool SpeculativelyExecuteBB(BranchInst *BI, BasicBlock *ThenBB);
2910 static bool validateAndCostRequiredSelects(BasicBlock *BB, BasicBlock *ThenBB, in validateAndCostRequiredSelects() argument
2923 Value *ThenV = PN.getIncomingValueForBlock(ThenBB); in validateAndCostRequiredSelects()
3001 BasicBlock *ThenBB) { in SpeculativelyExecuteBB() argument
3011 BasicBlock *EndBB = ThenBB->getTerminator()->getSuccessor(0); in SpeculativelyExecuteBB()
3018 if (ThenBB != BI->getSuccessor(0)) { in SpeculativelyExecuteBB()
3019 assert(ThenBB == BI->getSuccessor(1) && "No edge from 'if' block?"); in SpeculativelyExecuteBB()
3052 for (Instruction &I : reverse(drop_end(*ThenBB))) { in SpeculativelyExecuteBB()
3084 &I, BB, ThenBB, EndBB)))) in SpeculativelyExecuteBB()
3121 Convert |= validateAndCostRequiredSelects(BB, ThenBB, EndBB, in SpeculativelyExecuteBB()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp1625 BasicBlock *ThenBB = BasicBlock::Create(C, "if.then", &F); in handleLongjmpableCallsForWasmSjLj() local
1631 IRB.CreateCondBr(Cmp, ThenBB, EndBB); in handleLongjmpableCallsForWasmSjLj()
1633 IRB.SetInsertPoint(ThenBB); in handleLongjmpableCallsForWasmSjLj()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2321 BasicBlock *ThenBB = BasicBlock::Create(M.getContext(), ".shuffle.then"); in shuffleAndStore() local
2337 Builder.CreateICmpSGT(PtrDiff, Builder.getInt64(IntSize - 1)), ThenBB, in shuffleAndStore()
2339 emitBlock(ThenBB, CurFunc); in shuffleAndStore()
2351 PhiSrc->addIncoming(LocalPtr, ThenBB); in shuffleAndStore()
2352 PhiDest->addIncoming(LocalElemPtr, ThenBB); in shuffleAndStore()
2606 BasicBlock *ThenBB = BasicBlock::Create(Ctx, "then"); in emitInterWarpCopyFunction() local
2612 Builder.CreateCondBr(IsWarpMaster, ThenBB, ElseBB); in emitInterWarpCopyFunction()
2613 emitBlock(ThenBB, Builder.GetInsertBlock()->getParent()); in emitInterWarpCopyFunction()
2832 BasicBlock *ThenBB = BasicBlock::Create(Ctx, "then"); in emitShuffleAndReduceFunction() local
2836 Builder.CreateCondBr(CondReduce, ThenBB, ElseBB); in emitShuffleAndReduceFunction()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp1139 llvm::BasicBlock *ThenBB = nullptr; in EmitOMPLastprivateClauseFinal() local
1154 ThenBB = createBasicBlock(".omp.lastprivate.then"); in EmitOMPLastprivateClauseFinal()
1156 Builder.CreateCondBr(IsLastIterCond, ThenBB, DoneBB); in EmitOMPLastprivateClauseFinal()
1157 EmitBlock(ThenBB); in EmitOMPLastprivateClauseFinal()
1484 llvm::BasicBlock *ThenBB = CGF.createBasicBlock(".omp.reduction.pu"); in emitPostUpdateForReductionClause() local
1486 CGF.Builder.CreateCondBr(Cond, ThenBB, DoneBB); in emitPostUpdateForReductionClause()
1487 CGF.EmitBlock(ThenBB); in emitPostUpdateForReductionClause()
2221 llvm::BasicBlock *ThenBB = createBasicBlock(".omp.linear.pu"); in EmitOMPLinearClauseFinal() local
2223 Builder.CreateCondBr(Cond, ThenBB, DoneBB); in EmitOMPLinearClauseFinal()
2224 EmitBlock(ThenBB); in EmitOMPLinearClauseFinal()
[all …]
H A DCGOpenMPRuntime.cpp11792 llvm::BasicBlock *ThenBB = CGF.createBasicBlock("lp_cond_then"); in emitLastprivateConditionalUpdate() local
11794 CGF.Builder.CreateCondBr(CmpRes, ThenBB, ExitBB); in emitLastprivateConditionalUpdate()
11796 CGF.EmitBlock(ThenBB); in emitLastprivateConditionalUpdate()
11906 llvm::BasicBlock *ThenBB = CGF.createBasicBlock("lpc.then"); in checkAndEmitSharedLastprivateConditional() local
11909 CGF.Builder.CreateCondBr(Cmp, ThenBB, DoneBB); in checkAndEmitSharedLastprivateConditional()
11910 CGF.EmitBlock(ThenBB); in checkAndEmitSharedLastprivateConditional()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSimpleLoopUnswitch.cpp2722 BasicBlock *ThenBB = CondBr->getSuccessor(0), in turnSelectIntoBranch()
2729 Phi->addIncoming(SI->getTrueValue(), ThenBB); in turnSelectIntoBranch()
2721 BasicBlock *ThenBB = CondBr->getSuccessor(0), turnSelectIntoBranch() local