/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopSimplifyCFG.cpp | 123 MemorySSAUpdater *MSSAU; member in __anon7586ad010111::ConstantTerminatorFoldingImpl 358 Preheader, Preheader->getTerminator(), &DT, &LI, MSSAU); in handleDeadExits() 412 if (MSSAU) in handleDeadExits() 413 MSSAU->applyUpdates(DTUpdates, DT); in handleDeadExits() 419 if (MSSAU) { in handleDeadExits() 422 MSSAU->applyUpdates(DTUpdates, DT); in handleDeadExits() 425 MSSAU->getMemorySSA()->verifyMemorySSA(); in handleDeadExits() 432 if (MSSAU) { in deleteDeadLoopBlocks() 435 MSSAU->removeBlocks(DeadLoopBlocksSet); in deleteDeadLoopBlocks() 497 if (MSSAU) in foldTerminators() [all …]
|
D | LICM.cpp | 141 MemorySSAUpdater *MSSAU, ScalarEvolution *SE, 145 MemorySSAUpdater *MSSAU, OptimizationRemarkEmitter *ORE); 160 const LoopSafetyInfo *SafetyInfo, MemorySSAUpdater *MSSAU); 163 AliasSetTracker *AST, MemorySSAUpdater *MSSAU); 167 MemorySSAUpdater *MSSAU, ScalarEvolution *SE); 192 MemorySSAUpdater *MSSAU); 343 std::unique_ptr<MemorySSAUpdater> MSSAU; in runOnLoop() local 352 MSSAU = std::make_unique<MemorySSAUpdater>(MSSA); in runOnLoop() 392 CurAST.get(), MSSAU.get(), &SafetyInfo, Flags, ORE); in runOnLoop() 397 CurAST.get(), MSSAU.get(), SE, &SafetyInfo, Flags, ORE); in runOnLoop() [all …]
|
D | LoopInstSimplify.cpp | 53 MemorySSAUpdater *MSSAU) { in simplifyLoopInst() argument 80 MemorySSA *MSSA = MSSAU ? MSSAU->getMemorySSA() : nullptr; in simplifyLoopInst() 84 if (MSSAU && VerifyMemorySSA) in simplifyLoopInst() 137 if (MSSAU) in simplifyLoopInst() 155 RecursivelyDeleteTriviallyDeadInstructions(DeadInsts, &TLI, MSSAU); in simplifyLoopInst() 158 if (MSSAU && VerifyMemorySSA) in simplifyLoopInst() 199 Optional<MemorySSAUpdater> MSSAU; in runOnLoop() local 202 MSSAU = MemorySSAUpdater(MSSA); in runOnLoop() 206 MSSAU.hasValue() ? MSSAU.getPointer() : nullptr); in runOnLoop() 227 Optional<MemorySSAUpdater> MSSAU; in run() local [all …]
|
D | SimpleLoopUnswitch.cpp | 268 MemorySSAUpdater *MSSAU, ScalarEvolution *SE) { in hoistLoopToNewParent() argument 329 formDedicatedExitBlocks(OldContainingL, &DT, &LI, MSSAU, in hoistLoopToNewParent() 367 MemorySSAUpdater *MSSAU) { in unswitchTrivialBranch() argument 442 if (MSSAU && VerifyMemorySSA) in unswitchTrivialBranch() 443 MSSAU->getMemorySSA()->verifyMemorySSA(); in unswitchTrivialBranch() 449 BasicBlock *NewPH = SplitEdge(OldPH, L.getHeader(), &DT, &LI, MSSAU); in unswitchTrivialBranch() 462 SplitBlock(LoopExitBB, &LoopExitBB->front(), &DT, &LI, MSSAU); in unswitchTrivialBranch() 465 if (MSSAU && VerifyMemorySSA) in unswitchTrivialBranch() 466 MSSAU->getMemorySSA()->verifyMemorySSA(); in unswitchTrivialBranch() 478 if (MSSAU) { in unswitchTrivialBranch() [all …]
|
D | LoopRotation.cpp | 46 Optional<MemorySSAUpdater> MSSAU; in run() local 48 MSSAU = MemorySSAUpdater(AR.MSSA); in run() 50 MSSAU.hasValue() ? MSSAU.getPointer() : nullptr, in run() 100 Optional<MemorySSAUpdater> MSSAU; in runOnLoop() local 106 MSSAU = MemorySSAUpdater(&MSSAA->getMSSA()); in runOnLoop() 109 MSSAU.hasValue() ? MSSAU.getPointer() : nullptr, SQ, in runOnLoop()
|
D | LoopUnswitch.cpp | 187 std::unique_ptr<MemorySSAUpdater> MSSAU; member in __anon86432cb90111::LoopUnswitch 425 MemorySSAUpdater *MSSAU) { in FindLIVLoopCondition() argument 443 if (L->makeLoopInvariant(Cond, Changed, nullptr, MSSAU)) { in FindLIVLoopCondition() 483 ParentChain, Cache, MSSAU)) { in FindLIVLoopCondition() 491 ParentChain, Cache, MSSAU)) { in FindLIVLoopCondition() 507 MemorySSAUpdater *MSSAU) { in FindLIVLoopCondition() argument 510 Value *FCond = FindLIVLoopCondition(Cond, L, Changed, OpChain, Cache, MSSAU); in FindLIVLoopCondition() 530 MSSAU = std::make_unique<MemorySSAUpdater>(MSSA); in runOnLoop() 700 Changed, MSSAU.get()) in processCurrentLoop() 742 Changed, MSSAU.get()) in processCurrentLoop() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LoopRotationUtils.cpp | 58 MemorySSAUpdater *MSSAU; member in __anone6d253600111::LoopRotate 66 DominatorTree *DT, ScalarEvolution *SE, MemorySSAUpdater *MSSAU, in LoopRotate() argument 69 MSSAU(MSSAU), SQ(SQ), RotationOnly(RotationOnly), in LoopRotate() 282 if (MSSAU && VerifyMemorySSA) in rotateLoop() 283 MSSAU->getMemorySSA()->verifyMemorySSA(); in rotateLoop() 387 if (MSSAU) in rotateLoop() 407 if (MSSAU) { in rotateLoop() 409 MSSAU->updateForClonedBlockIntoPred(OrigHeader, OrigPreheader, in rotateLoop() 439 if (MSSAU) { in rotateLoop() 440 MSSAU->applyUpdates(Updates, *DT); in rotateLoop() [all …]
|
D | LoopSimplify.cpp | 124 LoopInfo *LI, MemorySSAUpdater *MSSAU, in InsertPreheaderForLoop() argument 148 LI, MSSAU, PreserveLCSSA); in InsertPreheaderForLoop() 228 AssumptionCache *AC, MemorySSAUpdater *MSSAU) { in separateNestedLoop() argument 262 DT, LI, MSSAU, PreserveLCSSA); in separateNestedLoop() 325 formDedicatedExitBlocks(L, DT, LI, MSSAU, PreserveLCSSA); in separateNestedLoop() 351 MemorySSAUpdater *MSSAU) { in insertUniqueBackedgeBlock() argument 464 if (MSSAU) in insertUniqueBackedgeBlock() 465 MSSAU->updatePhisWhenInsertingUniqueBackedgeBlock(Header, Preheader, in insertUniqueBackedgeBlock() 475 MemorySSAUpdater *MSSAU, bool PreserveLCSSA) { in simplifyOneLoop() argument 477 if (MSSAU && VerifyMemorySSA) in simplifyOneLoop() [all …]
|
D | BasicBlockUtils.cpp | 172 LoopInfo *LI, MemorySSAUpdater *MSSAU, in MergeBlockIntoPredecessor() argument 258 if (MSSAU) in MergeBlockIntoPredecessor() 259 MSSAU->moveAllAfterMergeBlocks(BB, PredBB, Start); in MergeBlockIntoPredecessor() 279 if (MSSAU) in MergeBlockIntoPredecessor() 281 MSSAU->getMemorySSA()->getMemoryAccess(PredBB->getTerminator()))) in MergeBlockIntoPredecessor() 282 MSSAU->moveToPlace(MUD, PredBB, MemorySSA::End); in MergeBlockIntoPredecessor() 475 LoopInfo *LI, MemorySSAUpdater *MSSAU) { in SplitEdge() argument 482 CriticalEdgeSplittingOptions(DT, LI, MSSAU).setPreserveLCSSA())) in SplitEdge() 492 return SplitBlock(Succ, &Succ->front(), DT, LI, MSSAU); in SplitEdge() 499 return SplitBlock(BB, BB->getTerminator(), DT, LI, MSSAU); in SplitEdge() [all …]
|
D | BreakCriticalEdges.cpp | 216 auto *MSSAU = Options.MSSAU; in SplitCriticalEdge() local 217 if (MSSAU) in SplitCriticalEdge() 218 MSSAU->wireOldPredecessorsToNewImmediatePredecessor( in SplitCriticalEdge() 309 DestBB, LoopPreds, "split", DT, LI, MSSAU, Options.PreserveLCSSA); in SplitCriticalEdge()
|
D | Local.cpp | 441 Value *V, const TargetLibraryInfo *TLI, MemorySSAUpdater *MSSAU) { in RecursivelyDeleteTriviallyDeadInstructions() argument 448 RecursivelyDeleteTriviallyDeadInstructions(DeadInsts, TLI, MSSAU); in RecursivelyDeleteTriviallyDeadInstructions() 455 MemorySSAUpdater *MSSAU) { in RecursivelyDeleteTriviallyDeadInstructions() argument 482 if (MSSAU) in RecursivelyDeleteTriviallyDeadInstructions() 483 MSSAU->removeMemoryAccess(&I); in RecursivelyDeleteTriviallyDeadInstructions() 1917 MemorySSAUpdater *MSSAU) { in changeToUnreachable() argument 1921 if (MSSAU) in changeToUnreachable() 1922 MSSAU->changeToUnreachable(I); in changeToUnreachable() 2232 MemorySSAUpdater *MSSAU) { in removeUnreachableBlocks() argument 2251 if (MSSAU) in removeUnreachableBlocks() [all …]
|
D | SimplifyCFG.cpp | 304 MemorySSAUpdater *MSSAU = nullptr) { in AddPredecessorToBlock() argument 307 if (MSSAU) in AddPredecessorToBlock() 308 if (auto *MPhi = MSSAU->getMemorySSA()->getMemoryAccess(Succ)) in AddPredecessorToBlock() 682 MemorySSAUpdater *MSSAU = nullptr) { in EraseTerminatorAndDCECond() argument 695 RecursivelyDeleteTriviallyDeadInstructions(Cond, nullptr, MSSAU); in EraseTerminatorAndDCECond() 2585 bool llvm::FoldBranchToCommonDest(BranchInst *BI, MemorySSAUpdater *MSSAU, in FoldBranchToCommonDest() argument 2797 AddPredecessorToBlock(TrueDest, PredBlock, BB, MSSAU); in FoldBranchToCommonDest() 2812 AddPredecessorToBlock(FalseDest, PredBlock, BB, MSSAU); in FoldBranchToCommonDest() 2862 if (MSSAU) in FoldBranchToCommonDest() 2863 MSSAU->changeCondBranchToUnconditionalTo(PBI, TrueDest); in FoldBranchToCommonDest() [all …]
|
D | LoopUtils.cpp | 52 MemorySSAUpdater *MSSAU, in formDedicatedExitBlocks() argument 88 BB, InLoopPredecessors, ".loopexit", DT, LI, MSSAU, PreserveLCSSA); in formDedicatedExitBlocks()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | BasicBlockUtils.h | 93 MemorySSAUpdater *MSSAU = nullptr, 125 MemorySSAUpdater *MSSAU; member 133 MemorySSAUpdater *MSSAU = nullptr, 135 : DT(DT), PDT(PDT), LI(LI), MSSAU(MSSAU) {} in DT() 227 MemorySSAUpdater *MSSAU = nullptr); 235 MemorySSAUpdater *MSSAU = nullptr, 256 MemorySSAUpdater *MSSAU = nullptr, 274 MemorySSAUpdater *MSSAU = nullptr, bool PreserveLCSSA = false);
|
D | Local.h | 145 MemorySSAUpdater *MSSAU = nullptr); 157 const TargetLibraryInfo *TLI = nullptr, MemorySSAUpdater *MSSAU = nullptr); 234 bool FoldBranchToCommonDest(BranchInst *BI, MemorySSAUpdater *MSSAU = nullptr, 399 MemorySSAUpdater *MSSAU = nullptr); 420 MemorySSAUpdater *MSSAU = nullptr);
|
D | LoopUtils.h | 54 MemorySSAUpdater *MSSAU, bool PreserveLCSSA); 62 MemorySSAUpdater *MSSAU, bool PreserveLCSSA); 292 MemorySSAUpdater *MSSAU, bool TargetExecutesOncePerLoop,
|
D | LoopSimplify.h | 63 AssumptionCache *AC, MemorySSAUpdater *MSSAU,
|
D | LoopRotationUtils.h | 35 MemorySSAUpdater *MSSAU, const SimplifyQuery &SQ,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | LoopInfo.cpp | 73 MemorySSAUpdater *MSSAU) const { in makeLoopInvariant() 75 return makeLoopInvariant(I, Changed, InsertPt, MSSAU); in makeLoopInvariant() 81 MemorySSAUpdater *MSSAU) const { in makeLoopInvariant() 102 if (!makeLoopInvariant(Operand, Changed, InsertPt, MSSAU)) in makeLoopInvariant() 107 if (MSSAU) in makeLoopInvariant() 108 if (auto *MUD = MSSAU->getMemorySSA()->getMemoryAccess(I)) in makeLoopInvariant() 109 MSSAU->moveToPlace(MUD, InsertPt->getParent(), in makeLoopInvariant()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | InterleavedLoadCombinePass.cpp | 1225 auto MSSAU = MemorySSAUpdater(&MSSA); in combine() local 1226 MemoryUse *MSSALoad = cast<MemoryUse>(MSSAU.createMemoryAccessBefore( in combine() 1228 MSSAU.insertUse(MSSALoad); in combine()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | LoopInfo.h | 547 MemorySSAUpdater *MSSAU = nullptr) const; 560 MemorySSAUpdater *MSSAU = nullptr) const;
|