HomeSort by: relevance | last modified time | path
    Searched refs:ExitBB (Results 1 - 25 of 33) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
LCSSA.cpp 155 for (BasicBlock *ExitBB : ExitBlocks) {
156 if (!DT.dominates(DomNode, DT.getNode(ExitBB)))
160 if (SSAUpdate.HasValueForBlock(ExitBB))
162 Builder.SetInsertPoint(&ExitBB->front());
163 PHINode *PN = Builder.CreatePHI(I->getType(), PredCache.size(ExitBB),
169 // because `I` dominates `ExitBB` (checked above). This implies
173 for (BasicBlock *Pred : PredCache.get(ExitBB)) {
188 SSAUpdate.AddAvailableValue(ExitBB, PN);
198 if (auto *OtherLoop = LI.getLoopFor(ExitBB))
LowerMemIntrinsics.cpp 323 BasicBlock *ExitBB = InsertBefore->getParent();
324 ExitBB->setName("memmove_done");
351 ExitBB, LoopBB);
354 BranchInst::Create(ExitBB, LoopBB, CompareN, ThenTerm);
359 BasicBlock::Create(F->getContext(), "copy_forward_loop", F, ExitBB);
370 ExitBB, FwdLoopBB);
374 BranchInst::Create(ExitBB, FwdLoopBB, CompareN, ElseTerm);
CodeExtractor.cpp 748 for (BasicBlock *ExitBB : Exits) {
751 for (PHINode &PN : ExitBB->phis()) {
767 NewBB = BasicBlock::Create(ExitBB->getContext(),
768 ExitBB->getName() + ".split",
769 ExitBB->getParent(), ExitBB);
770 SmallVector<BasicBlock *, 4> Preds(predecessors(ExitBB));
773 PredBB->getTerminator()->replaceUsesOfWith(ExitBB, NewBB);
774 BranchInst::Create(ExitBB, NewBB);
1739 for (BasicBlock *ExitBB : ExitBlocks
    [all...]
LoopUtils.cpp 1310 for (BasicBlock *ExitBB : ExitBlocks) {
1313 PHINode *PN = dyn_cast<PHINode>(ExitBB->begin());
1319 BasicBlock::iterator BBI = ExitBB->begin();
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
SimpleLoopUnswitch.cpp 175 BasicBlock &ExitBB) {
176 for (Instruction &I : ExitBB) {
234 static void rewritePHINodesForExitAndUnswitchedBlocks(BasicBlock &ExitBB,
239 assert(&ExitBB != &UnswitchedBB &&
242 for (PHINode &PN : ExitBB.phis()) {
270 NewPN->addIncoming(&PN, &ExitBB);
290 for (auto *ExitBB : Exits)
291 if (Loop *ExitL = LI.getLoopFor(ExitBB))
347 // Return the top-most loop containing ExitBB and having ExitBB as exiting bloc
    [all...]
LoopUnswitch.cpp 910 /// If true, we return true and set ExitBB to the block we
914 BasicBlock *&ExitBB,
924 if (ExitBB) return false;
925 ExitBB = BB;
932 if (!isTrivialLoopExitBlockHelper(L, Succ, ExitBB, Visited))
951 BasicBlock *ExitBB = nullptr;
952 if (isTrivialLoopExitBlockHelper(L, BB, ExitBB, Visited))
953 return ExitBB;
LoopUnrollPass.cpp 627 BasicBlock *ExitingBB, *ExitBB;
628 std::tie(ExitingBB, ExitBB) = ExitWorklist.pop_back_val();
630 for (Instruction &I : *ExitBB) {
LoopPredication.cpp 1143 BasicBlock *ExitBB = BI->getSuccessor(ExitIfTrue ? 0 : 1);
1144 if (!ExitBB->getPostdominatingDeoptimizeCall())
LICM.cpp 1593 BasicBlock *ExitBB = PN->getParent();
1594 assert(ExitBlockSet.count(ExitBB) && "Expect the PHI is in an exit block.");
1629 SmallSetVector<BasicBlock *, 8> PredBBs(pred_begin(ExitBB), pred_end(ExitBB));
1636 ExitBB, PredBB, ".split.loop.exit", DT, LI, MSSAU, true);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
CrossDSOCFI.cpp 128 BasicBlock *ExitBB = BasicBlock::Create(Ctx, "exit", F);
136 IRBFail.CreateBr(ExitBB);
138 IRBuilder<> IRBExit(ExitBB);
152 BranchInst *BI = IRBTest.CreateCondBr(Test, ExitBB, TrapBB);
HotColdSplitting.cpp 291 for (BasicBlock *ExitBB : SuccsOutsideRegion) {
292 for (PHINode &PN : ExitBB->phis()) {
  /src/external/apache2/llvm/dist/llvm/lib/Frontend/OpenMP/
OMPIRBuilder.cpp 170 << " Exit: " << OI.ExitBB->getName() << "\n");
703 OI.ExitBB = PRegExitBB;
901 auto *ExitBB = CondBB->getTerminator()->getSuccessor(1);
902 Instruction *I = Builder.CreateBr(ExitBB);
960 // ExitBB after LoopAfterBB because LoopAfterBB is used for FinalizationCB,
962 BasicBlock *ExitBB =
972 Builder.SetInsertPoint(ExitBB);
998 auto *ExitBB = CondBB->getTerminator()->getSuccessor(1);
999 Instruction *I = Builder.CreateBr(ExitBB);
1714 BasicBlock *ExitBB = Nested->getHeader()
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGOpenMPRuntimeGPU.cpp 1137 EST.ExitBB = CGF.createBasicBlock(".exit");
1147 CGF.EmitBranch(EST.ExitBB);
1153 Bld.CreateCondBr(IsMaster, MasterBB, EST.ExitBB);
1182 if (!EST.ExitBB)
1183 EST.ExitBB = CGF.createBasicBlock(".exit");
1198 CGF.EmitBranch(EST.ExitBB);
1200 CGF.EmitBlock(EST.ExitBB);
1201 EST.ExitBB = nullptr;
1262 EST.ExitBB = CGF.createBasicBlock(".exit");
1290 if (!EST.ExitBB)
    [all...]
CGAtomic.cpp 1828 auto *ExitBB = CGF.createBasicBlock("atomic_exit");
1844 CGF.Builder.CreateCondBr(Res, ExitBB, ContBB);
1845 CGF.EmitBlock(ExitBB, /*IsFinished=*/true);
1857 auto *ExitBB = CGF.createBasicBlock("atomic_exit");
1876 CGF.Builder.CreateCondBr(Res.second, ExitBB, ContBB);
1877 CGF.EmitBlock(ExitBB, /*IsFinished=*/true);
1914 auto *ExitBB = CGF.createBasicBlock("atomic_exit");
1927 CGF.Builder.CreateCondBr(Res, ExitBB, ContBB);
1928 CGF.EmitBlock(ExitBB, /*IsFinished=*/true);
1939 auto *ExitBB = CGF.createBasicBlock("atomic_exit")
    [all...]
CGOpenMPRuntimeGPU.h 41 llvm::BasicBlock *ExitBB = nullptr;
CGNonTrivialStruct.cpp 387 llvm::BasicBlock *ExitBB = CGF.createBasicBlock("loop.exit");
394 CGF.Builder.CreateCondBr(Done, ExitBB, LoopBB);
421 CGF.EmitBlock(ExitBB);
CGOpenMPRuntime.cpp 2595 llvm::BasicBlock *ExitBB = CGF.createBasicBlock(".cancel.exit");
2598 CGF.Builder.CreateCondBr(Cmp, ExitBB, ContBB);
2599 CGF.EmitBlock(ExitBB);
6312 llvm::BasicBlock *ExitBB = CGF.createBasicBlock(".cancel.exit");
6315 CGF.Builder.CreateCondBr(Cmp, ExitBB, ContBB);
6316 CGF.EmitBlock(ExitBB);
6348 llvm::BasicBlock *ExitBB = CGF.createBasicBlock(".cancel.exit");
6351 CGF.Builder.CreateCondBr(Cmp, ExitBB, ContBB);
6352 CGF.EmitBlock(ExitBB);
9910 llvm::BasicBlock *ExitBB = MapperCGF.createBasicBlock("omp.arraymap.exit")
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
AtomicExpandPass.cpp 1055 BasicBlock *ExitBB =
1057 BasicBlock *LoopBB = BasicBlock::Create(Ctx, "atomicrmw.start", F, ExitBB);
1075 Builder.CreateCondBr(TryAgain, LoopBB, ExitBB);
1077 Builder.SetInsertPoint(ExitBB, ExitBB->begin());
1203 BasicBlock *ExitBB = BB->splitBasicBlock(CI->getIterator(), "cmpxchg.end");
1204 auto FailureBB = BasicBlock::Create(Ctx, "cmpxchg.failure", F, ExitBB);
1285 Builder.CreateBr(ExitBB);
1308 Builder.CreateBr(ExitBB);
1314 Builder.SetInsertPoint(ExitBB, ExitBB->begin())
    [all...]
Analysis.cpp 502 const BasicBlock *ExitBB = Call.getParent();
503 const Instruction *Term = ExitBB->getTerminator();
523 for (BasicBlock::const_iterator BBI = std::prev(ExitBB->end(), 2);; --BBI) {
544 const Function *F = ExitBB->getParent();
MachineBlockPlacement.cpp 503 const MachineBasicBlock *ExitBB,
1955 const MachineBasicBlock *ExitBB,
1959 if (ExitBB)
1961 MBPI->getEdgeProbability(NewTop, ExitBB);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Frontend/OpenMP/
OMPIRBuilder.h 600 BasicBlock *EntryBB, *ExitBB;
602 /// Collect all blocks in between EntryBB and ExitBB in both the given
811 /// \param ExitBB block where the region ends.
818 BasicBlock *ExitBB,
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
LoopInfo.cpp 936 const BasicBlock *ExitBB) const {
948 if (L->contains(ExitBB))
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
GCOVProfiling.cpp 1261 auto *ExitBB = BasicBlock::Create(*Ctx, "exit", WriteoutF);
1355 Builder.CreateCondBr(FileLoopCond, FileLoopHeader, ExitBB);
1358 Builder.SetInsertPoint(ExitBB);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/
ObjCARCOpts.cpp 1683 for (BasicBlock &ExitBB : F) {
1684 BBState &MyStates = BBStates[&ExitBB];
1690 PredStack.push_back(std::make_pair(&ExitBB, MyStates.pred_begin()));
1691 Visited.insert(&ExitBB);
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMConstantIslandPass.cpp 1928 // We queried for the CBN?Z opcode based upon the 'ExitBB', the opposite
1952 MachineBasicBlock *ExitBB = &MBB->back() == Br.MI ?
1957 if (FindCmpForCBZ(Br, Cmp, ExitBB) && TryConvertToLE(Br, Cmp)) {
1958 DestBB = ExitBB;

Completed in 145 milliseconds

1 2