/external/llvm/lib/Transforms/Utils/ |
LCSSA.cpp | 111 for (BasicBlock *ExitBB : ExitBlocks) { 112 if (!DT.dominates(DomNode, DT.getNode(ExitBB))) 116 if (SSAUpdate.HasValueForBlock(ExitBB)) 119 PHINode *PN = PHINode::Create(Inst.getType(), PredCache.size(ExitBB), 120 Inst.getName() + ".lcssa", &ExitBB->front()); 123 for (BasicBlock *Pred : PredCache.get(ExitBB)) { 138 SSAUpdate.AddAvailableValue(ExitBB, PN); 148 if (auto *OtherLoop = LI->getLoopFor(ExitBB))
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
LCSSA.cpp | 219 BasicBlock *ExitBB = *BBI; 220 if (!DT->dominates(DomNode, DT->getNode(ExitBB))) continue; 223 if (SSAUpdate.HasValueForBlock(ExitBB)) continue; 226 PredCache.GetNumPreds(ExitBB), 228 ExitBB->begin()); 231 for (BasicBlock **PI = PredCache.GetPreds(ExitBB); *PI; ++PI) { 246 SSAUpdate.AddAvailableValue(ExitBB, PN);
|
/external/llvm/lib/Transforms/IPO/ |
CrossDSOCFI.cpp | 114 BasicBlock *ExitBB = BasicBlock::Create(Ctx, "exit", F); 122 IRBFail.CreateBr(ExitBB); 124 IRBuilder<> IRBExit(ExitBB); 138 BranchInst *BI = IRBTest.CreateCondBr(Test, ExitBB, TrapBB);
|
/external/llvm/lib/Transforms/Scalar/ |
LoopInstSimplify.cpp | 162 BasicBlock *ExitBB = SubLoopExitBlocks[i]; 163 if (LI->getLoopFor(ExitBB) == L && Visited.insert(ExitBB).second) 164 VisitStack.push_back(WorklistItem(ExitBB, false));
|
LoopUnswitch.cpp | 660 /// If true, we return true and set ExitBB to the block we 664 BasicBlock *&ExitBB, 674 if (ExitBB) return false; 675 ExitBB = BB; 682 if (!isTrivialLoopExitBlockHelper(L, *SI, ExitBB, Visited)) 701 BasicBlock *ExitBB = nullptr; 702 if (isTrivialLoopExitBlockHelper(L, BB, ExitBB, Visited)) 703 return ExitBB; [all...] |
LoopUnrollPass.cpp | 507 BasicBlock *ExitingBB, *ExitBB; 508 std::tie(ExitingBB, ExitBB) = ExitWorklist.pop_back_val(); 510 for (Instruction &I : *ExitBB) { [all...] |
IndVarSimplify.cpp | 518 for (BasicBlock *ExitBB : ExitBlocks) { 521 PHINode *PN = dyn_cast<PHINode>(ExitBB->begin()); 527 BasicBlock::iterator BBI = ExitBB->begin(); 679 for (auto *ExitBB : ExitBlocks) { 680 BasicBlock::iterator BBI = ExitBB->begin(); [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
LoopInstSimplify.cpp | 144 BasicBlock *ExitBB = SubLoopExitBlocks[i]; 145 if (LI->getLoopFor(ExitBB) == L && Visited.insert(ExitBB)) 146 VisitStack.push_back(WorklistItem(ExitBB, false));
|
LoopUnswitch.cpp | 293 /// If true, we return true and set ExitBB to the block we 297 BasicBlock *&ExitBB, 305 if (ExitBB != 0) return false; 306 ExitBB = BB; 313 if (!isTrivialLoopExitBlockHelper(L, *SI, ExitBB, Visited)) 332 BasicBlock *ExitBB = 0; 333 if (isTrivialLoopExitBlockHelper(L, BB, ExitBB, Visited)) 334 return ExitBB; [all...] |
IndVarSimplify.cpp | 505 BasicBlock *ExitBB = ExitBlocks[i]; 509 PHINode *PN = dyn_cast<PHINode>(ExitBB->begin()); 515 BasicBlock::iterator BBI = ExitBB->begin(); [all...] |
/external/clang/lib/CodeGen/ |
CGOpenMPRuntimeNVPTX.h | 30 llvm::BasicBlock *ExitBB; 32 EntryFunctionState() : ExitBB(nullptr){};
|
CGOpenMPRuntimeNVPTX.cpp | 160 llvm::BasicBlock *ExitBB = CGF.createBasicBlock(".exit"); 173 Bld.CreateCondBr(ShouldTerminate, ExitBB, SelectWorkersBB); 199 CGF.EmitBlock(ExitBB); 217 EST.ExitBB = CGF.createBasicBlock(".exit"); 223 Bld.CreateCondBr(ShouldDie, EST.ExitBB, WorkerCheckBB); 233 CGF.EmitBranch(EST.ExitBB); 259 CGF.EmitBranch(EST.ExitBB); 261 CGF.EmitBlock(EST.ExitBB);
|
CGAtomic.cpp | [all...] |
CGOpenMPRuntime.cpp | [all...] |
ItaniumCXXABI.cpp | [all...] |
CGStmtOpenMP.cpp | [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/unittests/IR/ |
UserTest.cpp | 71 BasicBlock &ExitBB = F->back(); 72 PHINode &P = cast<PHINode>(ExitBB.front());
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
Analysis.cpp | 211 const BasicBlock *ExitBB = I->getParent(); 212 const TerminatorInst *Term = ExitBB->getTerminator(); 230 for (BasicBlock::const_iterator BBI = prior(prior(ExitBB->end())); ; 252 const Function *F = ExitBB->getParent();
|
/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/llvm/lib/CodeGen/ |
AtomicExpandPass.cpp | [all...] |
Analysis.cpp | 492 const BasicBlock *ExitBB = I->getParent(); 493 const TerminatorInst *Term = ExitBB->getTerminator(); 512 for (BasicBlock::const_iterator BBI = std::prev(ExitBB->end(), 2);; --BBI) { 523 const Function *F = ExitBB->getParent();
|
/external/llvm/unittests/Analysis/ |
ScalarEvolutionTest.cpp | 246 BasicBlock *ExitBB = BasicBlock::Create(Context, "exit", F); 248 BranchInst::Create(LoopBB, ExitBB, UndefValue::get(Type::getInt1Ty(Context)), 250 ReturnInst::Create(Context, nullptr, ExitBB);
|
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCOpts.cpp | [all...] |
/external/llvm/lib/Analysis/ |
ScalarEvolution.cpp | [all...] |