/external/llvm/lib/Transforms/Utils/ |
H A D | LCSSA.cpp | 112 for (BasicBlock *ExitBB : ExitBlocks) { 113 if (!DT.dominates(DomNode, DT.getNode(ExitBB))) 117 if (SSAUpdate.HasValueForBlock(ExitBB)) 120 PHINode *PN = PHINode::Create(Inst.getType(), PredCache.size(ExitBB), 121 Inst.getName() + ".lcssa", &ExitBB->front()); 124 for (BasicBlock *Pred : PredCache.get(ExitBB)) { 139 SSAUpdate.AddAvailableValue(ExitBB, PN); 149 if (auto *OtherLoop = LI->getLoopFor(ExitBB)) 212 for (BasicBlock *ExitBB : ExitBlocks) 213 if (DT.dominates(DomNode, DT.getNode(ExitBB))) [all...] |
/external/llvm/unittests/IR/ |
H A D | UserTest.cpp | 71 BasicBlock &ExitBB = F->back(); local 72 PHINode &P = cast<PHINode>(ExitBB.front());
|
/external/llvm/lib/CodeGen/ |
H A D | AtomicExpandPass.cpp | 418 BasicBlock *ExitBB = BB->splitBasicBlock(I->getIterator(), "atomicrmw.end"); 419 BasicBlock *LoopBB = BasicBlock::Create(Ctx, "atomicrmw.start", F, ExitBB); 441 Builder.CreateCondBr(TryAgain, LoopBB, ExitBB); 443 Builder.SetInsertPoint(ExitBB, ExitBB->begin()); 493 BasicBlock *ExitBB = BB->splitBasicBlock(CI->getIterator(), "cmpxchg.end"); 494 auto FailureBB = BasicBlock::Create(Ctx, "cmpxchg.failure", F, ExitBB); 534 Builder.CreateBr(ExitBB); 546 Builder.CreateBr(ExitBB); 553 Builder.SetInsertPoint(ExitBB, ExitB [all...] |
H A D | Analysis.cpp | 493 const BasicBlock *ExitBB = I->getParent(); local 494 const TerminatorInst *Term = ExitBB->getTerminator(); 513 for (BasicBlock::const_iterator BBI = std::prev(ExitBB->end(), 2);; --BBI) { 524 const Function *F = ExitBB->getParent();
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoopInstSimplify.cpp | 169 BasicBlock *ExitBB = SubLoopExitBlocks[i]; local 170 if (LI->getLoopFor(ExitBB) == L && Visited.insert(ExitBB).second) 171 VisitStack.push_back(WorklistItem(ExitBB, false));
|
H A D | LoopUnswitch.cpp | 603 /// If true, we return true and set ExitBB to the block we 607 BasicBlock *&ExitBB, 617 if (ExitBB) return false; 618 ExitBB = BB; 625 if (!isTrivialLoopExitBlockHelper(L, *SI, ExitBB, Visited)) 644 BasicBlock *ExitBB = nullptr; local 645 if (isTrivialLoopExitBlockHelper(L, BB, ExitBB, Visited)) 646 return ExitBB; 606 isTrivialLoopExitBlockHelper(Loop *L, BasicBlock *BB, BasicBlock *&ExitBB, std::set<BasicBlock*> &Visited) argument
|
H A D | IndVarSimplify.cpp | 554 BasicBlock *ExitBB = ExitBlocks[i]; local 558 PHINode *PN = dyn_cast<PHINode>(ExitBB->begin()); 576 (!L->getParentLoop() || L->getParentLoop() == LI->getLoopFor(ExitBB)); 579 BasicBlock::iterator BBI = ExitBB->begin();
|
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXLowerAggrCopies.cpp | 159 BasicBlock *ExitBB = ConvertedInst->getParent(); local 160 ExitBB->setName("memmove_done"); 181 ExitBB, LoopBB); 184 BranchInst::Create(ExitBB, LoopBB, CompareN, ThenTerm); 189 BasicBlock::Create(Context, "copy_forward_loop", &F, ExitBB); 199 ExitBB, FwdLoopBB); 203 BranchInst::Create(ExitBB, FwdLoopBB, CompareN, ElseTerm);
|
/external/llvm/lib/Transforms/IPO/ |
H A D | CrossDSOCFI.cpp | 137 BasicBlock *ExitBB = BasicBlock::Create(Ctx, "exit", F); local 138 IRBuilder<> IRBExit(ExitBB); 153 BranchInst *BI = IRBTest.CreateCondBr(Test, ExitBB, TrapBB);
|
/external/llvm/unittests/Linker/ |
H A D | LinkModulesTest.cpp | 39 ExitBB = BasicBlock::Create(Ctx, "exit", F); 72 BasicBlock *ExitBB; member in class:__anon12777::LinkModuleTest 92 Builder.CreateBr(ExitBB); 95 Builder.CreateBr(ExitBB); 97 Builder.SetInsertPoint(ExitBB);
|
/external/clang/lib/CodeGen/ |
H A D | CGAtomic.cpp | 1573 auto *ExitBB = CGF.createBasicBlock("atomic_exit"); local 1589 CGF.Builder.CreateCondBr(Res, ExitBB, ContBB); 1590 CGF.EmitBlock(ExitBB, /*IsFinished=*/true); 1602 auto *ExitBB = CGF.createBasicBlock("atomic_exit"); local 1621 CGF.Builder.CreateCondBr(Res.second, ExitBB, ContBB); 1622 CGF.EmitBlock(ExitBB, /*IsFinished=*/true); 1660 auto *ExitBB = CGF.createBasicBlock("atomic_exit"); local 1673 CGF.Builder.CreateCondBr(Res, ExitBB, ContBB); 1674 CGF.EmitBlock(ExitBB, /*IsFinished=*/true); 1685 auto *ExitBB local [all...] |
H A D | CGOpenMPRuntime.cpp | 1704 auto *ExitBB = CGF.createBasicBlock(".cancel.exit"); local 1707 CGF.Builder.CreateCondBr(Cmp, ExitBB, ContBB); 1708 CGF.EmitBlock(ExitBB); 3181 auto *ExitBB = CGF.createBasicBlock(".cancel.exit"); local 3184 CGF.Builder.CreateCondBr(Cmp, ExitBB, ContBB); 3185 CGF.EmitBlock(ExitBB); 3220 auto *ExitBB = CGF.createBasicBlock(".cancel.exit"); 3223 CGF.Builder.CreateCondBr(Cmp, ExitBB, ContBB); 3224 CGF.EmitBlock(ExitBB);
|
H A D | CGStmtOpenMP.cpp | 1675 auto *ExitBB = CGF.createBasicBlock(".omp.sections.exit"); 1677 CGF.EmitLoadOfLValue(IV, S.getLocStart()).getScalarVal(), ExitBB, 1685 CGF.EmitBranch(ExitBB); 1688 CGF.EmitBlock(ExitBB, /*IsFinished=*/true);
|
H A D | ItaniumCXXABI.cpp | 2283 llvm::BasicBlock *ExitBB = llvm::BasicBlock::Create(Context, "", Wrapper); local 2284 Builder.CreateCondBr(Have, InitBB, ExitBB); 2288 Builder.CreateBr(ExitBB); 2290 Builder.SetInsertPoint(ExitBB);
|
/external/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARCOpts.cpp | 1419 for (BasicBlock &ExitBB : F) { 1420 BBState &MyStates = BBStates[&ExitBB]; 1426 PredStack.push_back(std::make_pair(&ExitBB, MyStates.pred_begin())); 1427 Visited.insert(&ExitBB);
|
/external/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 5200 BasicBlock *ExitBB = ExitingBlocks[i]; 5201 ExitLimit EL = computeExitLimit(L, ExitBB); 5210 ExitCounts.push_back(std::make_pair(ExitBB, EL.Exact)); 5222 DT.dominates(ExitBB, Latch)) {
|