Home
last modified time | relevance | path

Searched refs:ExitBlock (Results 1 – 25 of 28) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopDeletion.cpp45 BasicBlock *ExitBlock, bool &Changed, in isLoopDead() argument
54 for (PHINode &P : ExitBlock->phis()) { in isLoopDead()
158 BasicBlock *ExitBlock = L->getUniqueExitBlock(); in deleteLoopIfDead() local
160 if (ExitBlock && isLoopNeverExecuted(L)) { in deleteLoopIfDead()
163 for (PHINode &P : ExitBlock->phis()) { in deleteLoopIfDead()
181 if (!ExitBlock) { in deleteLoopIfDead()
187 if (!isLoopDead(L, SE, ExitingBlocks, ExitBlock, Changed, Preheader)) { in deleteLoopIfDead()
DLoopFuse.cpp143 BasicBlock *ExitBlock; member
169 ExitingBlock(L->getExitingBlock()), ExitBlock(L->getExitBlock()), in FusionCandidate()
214 return Preheader && Header && ExitingBlock && ExitBlock && Latch && L && in isValid()
226 assert(ExitBlock == L->getExitBlock() && "Exit block is out of sync"); in verify()
272 << "\tExitBB: " << (ExitBlock ? ExitBlock->getName() : "nullptr") in dump()
293 if (!ExitBlock) in isEligibleForFusion()
1042 return FC0.ExitBlock == FC1.getEntryBlock(); in isAdjacent()
1106 assert(FC.ExitBlock && "Expecting a valid exit block"); in isEmptyExitBlock()
1107 return FC.ExitBlock->size() == 1; in isEmptyExitBlock()
1175 assert(FC1.Preheader == FC0.ExitBlock); in performFusion()
[all …]
DLICM.cpp159 Instruction &I, BasicBlock &ExitBlock, PHINode &PN, const LoopInfo *LI,
423 for (BasicBlock *ExitBlock : ExitBlocks) { in runOnLoop()
424 InsertPts.push_back(&*ExitBlock->getFirstInsertionPt()); in runOnLoop()
1366 Instruction &I, BasicBlock &ExitBlock, PHINode &PN, const LoopInfo *LI, in CloneInstructionInExitBlock() argument
1386 const ColorVector &CV = BlockColors.find(&ExitBlock)->second; in CloneInstructionInExitBlock()
1399 ExitBlock.getInstList().insert(ExitBlock.getFirstInsertionPt(), New); in CloneInstructionInExitBlock()
1431 OInst->getName() + ".lcssa", &ExitBlock.front()); in CloneInstructionInExitBlock()
1472 BasicBlock *ExitBlock = TPN->getParent(); in sinkThroughTriviallyReplaceablePHI() local
1474 auto It = SunkCopies.find(ExitBlock); in sinkThroughTriviallyReplaceablePHI()
1478 New = SunkCopies[ExitBlock] = CloneInstructionInExitBlock( in sinkThroughTriviallyReplaceablePHI()
[all …]
DLoopUnswitch.cpp251 BasicBlock *ExitBlock, Instruction *TI);
1001 BasicBlock *ExitBlock, in UnswitchTrivialCondition() argument
1026 assert(!L->contains(ExitBlock) && "Exit block is in the loop?"); in UnswitchTrivialCondition()
1028 SplitBlock(ExitBlock, &ExitBlock->front(), DT, LI, MSSAU.get()); in UnswitchTrivialCondition()
1220 BasicBlock *ExitBlock = ExitBlocks[i]; in SplitExitEdges() local
1221 SmallVector<BasicBlock *, 4> Preds(pred_begin(ExitBlock), in SplitExitEdges()
1222 pred_end(ExitBlock)); in SplitExitEdges()
1226 SplitBlockPredecessors(ExitBlock, Preds, ".us-lcssa", DT, LI, MSSAU.get(), in SplitExitEdges()
DLoopSimplifyCFG.cpp267 for (auto *ExitBlock : ExitBlocks) in analyze() local
268 if (!LiveExitBlocks.count(ExitBlock) && in analyze()
269 UniqueDeadExits.insert(ExitBlock).second) in analyze()
270 DeadExitBlocks.push_back(ExitBlock); in analyze()
DLoopDistribute.cpp448 BasicBlock *ExitBlock = L->getExitBlock(); in cloneLoops() local
449 assert(ExitBlock && "No single exit block"); in cloneLoops()
473 Part->getVMap()[ExitBlock] = TopPH; in cloneLoops()
DIndVarSimplify.cpp837 BasicBlock *ExitBlock = ExitBlocks[0]; in canLoopBeDeleted() local
838 BasicBlock::iterator BI = ExitBlock->begin(); in canLoopBeDeleted()
2568 BasicBlock *ExitBlock = L->getExitBlock(); in sinkUnusedInvariants() local
2569 if (!ExitBlock) return false; in sinkUnusedInvariants()
2575 BasicBlock::iterator InsertPt = ExitBlock->getFirstInsertionPt(); in sinkUnusedInvariants()
2645 ToMove->moveBefore(*ExitBlock, InsertPt); in sinkUnusedInvariants()
2861 BasicBlock *ExitBlock = in predicateLoopExits() local
2863 if (!ExitBlock->phis().empty()) in predicateLoopExits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DPartialInlining.cpp186 BasicBlock *EntryBlock, BasicBlock *ExitBlock, in OutlineRegionInfo()
189 ExitBlock(ExitBlock), ReturnBlock(ReturnBlock) {} in OutlineRegionInfo()
192 BasicBlock *ExitBlock; member
422 BasicBlock *ExitBlock = nullptr; in computeOutliningColdRegionsInfo() local
426 if (ExitBlock) { in computeOutliningColdRegionsInfo()
436 ExitBlock = Block; in computeOutliningColdRegionsInfo()
440 return ExitBlock; in computeOutliningColdRegionsInfo()
506 BasicBlock *ExitBlock = nullptr; in computeOutliningColdRegionsInfo() local
508 if (!(ExitBlock = IsSingleExit(DominateVector))) in computeOutliningColdRegionsInfo()
535 BasicBlock *ReturnBlock = ExitBlock->getSingleSuccessor(); in computeOutliningColdRegionsInfo()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMustExecute.cpp116 static bool CanProveNotTakenFirstIteration(const BasicBlock *ExitBlock, in CanProveNotTakenFirstIteration() argument
119 auto *CondExitBlock = ExitBlock->getSinglePredecessor(); in CanProveNotTakenFirstIteration()
130 return BI->getSuccessor(Cond->getZExtValue() ? 1 : 0) == ExitBlock; in CanProveNotTakenFirstIteration()
141 auto DL = ExitBlock->getModule()->getDataLayout(); in CanProveNotTakenFirstIteration()
150 if (ExitBlock == BI->getSuccessor(0)) in CanProveNotTakenFirstIteration()
152 assert(ExitBlock == BI->getSuccessor(1) && "implied by above"); in CanProveNotTakenFirstIteration()
DSyncDependenceAnalysis.cpp319 for (const auto *ExitBlock : ReachedLoopExits) { in computeJoinPoints() local
320 auto ItExitDef = DefMap.find(ExitBlock); in computeJoinPoints()
324 JoinBlocks->insert(ExitBlock); in computeJoinPoints()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp525 auto *ExitBlock = L->getUniqueExitBlock(); in deleteDeadLoop() local
526 assert(ExitBlock && "Should have a unique exit block!"); in deleteDeadLoop()
558 Builder.CreateCondBr(Builder.getFalse(), L->getHeader(), ExitBlock); in deleteDeadLoop()
564 for (PHINode &P : ExitBlock->phis()) { in deleteDeadLoop()
587 Builder.CreateBr(ExitBlock); in deleteDeadLoop()
595 DTU.applyUpdates({{DominatorTree::Insert, Preheader, ExitBlock}, in deleteDeadLoop()
642 DIBuilder DIB(*ExitBlock->getModule()); in deleteDeadLoop()
643 Instruction *InsertDbgValueBefore = ExitBlock->getFirstNonPHI(); in deleteDeadLoop()
DCodeExtractor.cpp445 BasicBlock *ExitBlock) const { in getLifetimeMarkers()
480 if (Info.HoistLifeEnd && !ExitBlock) in getLifetimeMarkers()
488 BasicBlock *&ExitBlock) const { in findAllocas()
490 ExitBlock = getCommonExitBlock(Blocks); in findAllocas()
521 LifetimeMarkerInfo MarkerInfo = getLifetimeMarkers(CEAC, AI, ExitBlock); in findAllocas()
535 LifetimeMarkerInfo LMI = getLifetimeMarkers(CEAC, Bitcast, ExitBlock); in findAllocas()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DControlHeightReduction.cpp379 BasicBlock *ExitBlock,
1579 BasicBlock *EntryBlock, BasicBlock *ExitBlock, in insertTrivialPHIs() argument
1602 !(isa<PHINode>(UI) && UI->getParent() == ExitBlock)) { in insertTrivialPHIs()
1621 unsigned PredCount = std::distance(pred_begin(ExitBlock), in insertTrivialPHIs()
1622 pred_end(ExitBlock)); in insertTrivialPHIs()
1624 &ExitBlock->front()); in insertTrivialPHIs()
1625 for (BasicBlock *Pred : predecessors(ExitBlock)) { in insertTrivialPHIs()
1708 BasicBlock *ExitBlock = LastRegion->getExit(); in transformScopes() local
1711 if (ExitBlock) { in transformScopes()
1718 insertTrivialPHIs(Scope, EntryBlock, ExitBlock, TrivialPHIs); in transformScopes()
[all …]
DInstrProfiling.cpp197 BasicBlock *ExitBlock = ExitBlocks[i]; in doExtraRewritesBeforeFinalDeletion() local
202 Value *LiveInValue = SSA.GetValueInMiddleOfBlock(ExitBlock); in doExtraRewritesBeforeFinalDeletion()
218 auto *TargetLoop = LI.getLoopFor(ExitBlock); in doExtraRewritesBeforeFinalDeletion()
249 for (BasicBlock *ExitBlock : LoopExitBlocks) { in PGOCounterPromoter()
250 if (BlockSet.insert(ExitBlock).second) { in PGOCounterPromoter()
251 ExitBlocks.push_back(ExitBlock); in PGOCounterPromoter()
252 InsertPts.push_back(&*ExitBlock->getFirstInsertionPt()); in PGOCounterPromoter()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DCodeExtractor.h185 BasicBlock *&ExitBlock) const;
207 Instruction *Addr, BasicBlock *ExitBlock) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
DBitstreamRemarkSerializer.cpp230 Bitstream.ExitBlock(); in setupBlockInfo()
265 Bitstream.ExitBlock(); in emitMetaBlock()
315 Bitstream.ExitBlock(); in emitRemarkBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitcodeParser.h417 virtual void ExitBlock() {} in ExitBlock() function
590 ExitBlock(); in ParseThisBlockInternal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp785 Stream.ExitBlock(); in writeAttributeGroupTable()
807 Stream.ExitBlock(); in writeAttributeTable()
967 Stream.ExitBlock(); in writeTypeTable()
2132 Stream.ExitBlock(); in writeModuleMetadata()
2143 Stream.ExitBlock(); in writeFunctionMetadata()
2189 Stream.ExitBlock(); in writeFunctionMetadataAttachment()
2213 Stream.ExitBlock(); in writeModuleMetadataKinds()
2240 Stream.ExitBlock(); in writeOperandBundleTags()
2258 Stream.ExitBlock(); in writeSyncScopeNames()
2533 Stream.ExitBlock(); in writeConstants()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeParser.cpp67 Parser->ExitBlock(); in EndBlockInfoBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPlan.h1205 void setExit(VPBlockBase *ExitBlock) { in setExit() argument
1206 assert(ExitBlock->getSuccessors().empty() && in setExit()
1208 Exit = ExitBlock; in setExit()
1209 ExitBlock->setParent(this); in setExit()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dfuzzer_pass_outline_functions_test.cpp452 TEST(FuzzerPassOutlineFunctionsTest, ExitBlock) { in TEST() argument
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
Dfuzzer_pass_outline_functions_test.cpp452 TEST(FuzzerPassOutlineFunctionsTest, ExitBlock) { in TEST() argument
/third_party/spirv-tools/test/fuzz/
Dfuzzer_pass_outline_functions_test.cpp452 TEST(FuzzerPassOutlineFunctionsTest, ExitBlock) { in TEST() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/
DBitstreamWriter.h228 void ExitBlock() { in ExitBlock() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DHardwareLoops.cpp298 (HWLoopInfo.ExitBlock && HWLoopInfo.ExitBranch && HWLoopInfo.ExitCount) && in TryConvertLoop()

12