/external/llvm/lib/Transforms/Utils/ |
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/ |
UserTest.cpp | 71 BasicBlock &ExitBB = F->back(); 72 PHINode &P = cast<PHINode>(ExitBB.front());
|
/external/llvm/lib/CodeGen/ |
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, ExitBB->begin()) [all...] |
Analysis.cpp | 493 const BasicBlock *ExitBB = I->getParent(); 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/ |
LoopInstSimplify.cpp | 169 BasicBlock *ExitBB = SubLoopExitBlocks[i]; 170 if (LI->getLoopFor(ExitBB) == L && Visited.insert(ExitBB).second) 171 VisitStack.push_back(WorklistItem(ExitBB, false));
|
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; 645 if (isTrivialLoopExitBlockHelper(L, BB, ExitBB, Visited)) 646 return ExitBB; [all...] |
IndVarSimplify.cpp | 554 BasicBlock *ExitBB = ExitBlocks[i]; 558 PHINode *PN = dyn_cast<PHINode>(ExitBB->begin()); 576 (!L->getParentLoop() || L->getParentLoop() == LI->getLoopFor(ExitBB)); 579 BasicBlock::iterator BBI = ExitBB->begin(); [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXLowerAggrCopies.cpp | 159 BasicBlock *ExitBB = ConvertedInst->getParent(); 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/ |
CrossDSOCFI.cpp | 137 BasicBlock *ExitBB = BasicBlock::Create(Ctx, "exit", F); 138 IRBuilder<> IRBExit(ExitBB); 153 BranchInst *BI = IRBTest.CreateCondBr(Test, ExitBB, TrapBB);
|
/external/llvm/unittests/Linker/ |
LinkModulesTest.cpp | 39 ExitBB = BasicBlock::Create(Ctx, "exit", F); 72 BasicBlock *ExitBB; 92 Builder.CreateBr(ExitBB); 95 Builder.CreateBr(ExitBB); 97 Builder.SetInsertPoint(ExitBB);
|
/external/clang/lib/CodeGen/ |
CGAtomic.cpp | [all...] |
CGOpenMPRuntime.cpp | [all...] |
CGStmtOpenMP.cpp | [all...] |
ItaniumCXXABI.cpp | [all...] |
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCOpts.cpp | [all...] |
/external/llvm/lib/Analysis/ |
ScalarEvolution.cpp | [all...] |