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

1 2

  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
MemCpyOptimizer.h 35 class MemorySSA;
48 MemorySSA *MSSA = nullptr;
59 MemorySSA *MSSA);
GVN.h 50 class MemorySSA;
260 OptimizationRemarkEmitter *ORE, MemorySSA *MSSA = nullptr);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
MemorySSAUpdater.h 10 // An automatic updater for MemorySSA that handles arbitrary insertion,
12 // automatically updates the MemorySSA IR to be correct.
20 // functions MemorySSA supports).
38 #include "llvm/Analysis/MemorySSA.h"
58 MemorySSA *MSSA;
68 MemorySSAUpdater(MemorySSA *MSSA) : MSSA(MSSA) {}
70 /// Insert a definition into the MemorySSA IR. RenameUses will rename any use
97 /// Update MemorySSA when inserting a unique backedge block for a loop.
101 /// Update MemorySSA after a loop was cloned, given the blocks in RPO order,
133 MemorySSA::InsertionPlace Where)
    [all...]
LoopAnalysisManager.h 43 class MemorySSA;
61 MemorySSA *MSSA;
117 /// Mark MemorySSA as used so we can invalidate self if MSSA is invalidated.
MemorySSA.h 1 //===- MemorySSA.h - Build Memory SSA ---------------------------*- C++ -*-===//
209 friend class MemorySSA;
213 /// Used by MemorySSA to change the block of a MemoryAccess when it is
284 friend class MemorySSA;
358 friend class MemorySSA;
381 friend class MemorySSA;
639 friend class MemorySSA;
702 /// Encapsulates MemorySSA, including all data associated with memory
704 class MemorySSA {
706 MemorySSA(Function &, AliasAnalysis *, DominatorTree *)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
MemorySSA.cpp 1 //===- MemorySSA.cpp - Memory SSA Builder ---------------------------------===//
9 // This file implements the MemorySSA class.
13 #include "llvm/Analysis/MemorySSA.h"
62 #define DEBUG_TYPE "memoryssa"
69 INITIALIZE_PASS_BEGIN(MemorySSAWrapperPass, "memoryssa", "Memory SSA", false,
73 INITIALIZE_PASS_END(MemorySSAWrapperPass, "memoryssa", "Memory SSA", false,
76 INITIALIZE_PASS_BEGIN(MemorySSAPrinterLegacyPass, "print-memoryssa",
79 INITIALIZE_PASS_END(MemorySSAPrinterLegacyPass, "print-memoryssa",
84 cl::desc("The maximum number of stores/phis MemorySSA"
87 // Always verify MemorySSA if expensive checking is enabled
    [all...]
MemorySSAUpdater.cpp 18 #include "llvm/Analysis/MemorySSA.h"
31 #define DEBUG_TYPE "memoryssa"
573 MemorySSA *MSSA) {
610 const MemorySSA::AccessList *Acc = MSSA->getBlockAccesses(BB);
632 MSSA->insertIntoListsForBlock(NewUseOrDef, NewBB, MemorySSA::End);
868 MemorySSA::DefsList *Defs = MSSA->getWritableBlockDefs(BB);
1164 // Move What before Where in the MemorySSA IR.
1176 // Let MemorySSA take care of moving it around in the lists.
1190 // Move What before Where in the MemorySSA IR.
1195 // Move What after Where in the MemorySSA IR
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
LoopUtils.h 35 class MemorySSA;
117 /// are too many) is determined in the constructors when using MemorySSA.
123 Loop *L = nullptr, MemorySSA *MSSA = nullptr);
126 MemorySSA *MSSA = nullptr);
182 LoopInfo *LI, MemorySSA *MSSA = nullptr);
188 LoopInfo &LI, MemorySSA *MSSA);
523 MemorySSA &MSSA, AAResults &AA);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LoopDeletion.cpp 21 #include "llvm/Analysis/MemorySSA.h"
143 LoopInfo &LI, MemorySSA *MSSA,
174 MemorySSA *MSSA,
322 MemorySSA *MSSA = nullptr;
LoopSink.cpp 43 #include "llvm/Analysis/MemorySSA.h"
75 cl::desc("Enable MemorySSA for LoopSink in new pass manager"));
79 cl::desc("Enable MemorySSA for LoopSink in legacy pass manager"));
242 // Create a new MemoryAccess and let MemorySSA set its defining access.
244 MSSAU->createMemoryAccessInBB(IC, nullptr, N, MemorySSA::Beginning);
272 MSSAU->moveToPlace(OldMemAcc, MoveBB, MemorySSA::Beginning);
284 MemorySSA *MSSA) {
361 MemorySSA *MSSA = EnableMSSAInLoopSink
438 MemorySSA *MSSA = nullptr;
LoopInstSimplify.cpp 24 #include "llvm/Analysis/MemorySSA.h"
80 MemorySSA *MSSA = MSSAU ? MSSAU->getMemorySSA() : nullptr;
198 MemorySSA *MSSA = nullptr;
LICM.cpp 56 #include "llvm/Analysis/MemorySSA.h"
128 // exchange for faster compile. This is to be removed if MemorySSA starts to
129 // address the same issue. This flag applies only when LICM uses MemorySSA
132 // accuracy. Afterwards, LICM will call into MemorySSA's getDefiningAccess,
139 "for faster compile. Caps the MemorySSA clobbering calls."));
142 // hoisting. Limit when we do promotion when using MemorySSA, in order to save
146 cl::desc("[LICM & MemorySSA] When MSSA in LICM is disabled, this has no "
173 static bool pointerInvalidatedByLoopWithMSSA(MemorySSA *MSSA, MemoryUse *MU,
176 static bool pointerInvalidatedByBlockWithMSSA(BasicBlock &BB, MemorySSA &MSSA,
189 static void foreachMemoryAccess(MemorySSA *MSSA, Loop *L
    [all...]
LoopPassManager.cpp 14 #include "llvm/Analysis/MemorySSA.h"
199 MemorySSA *MSSA =
GVNHoist.cpp 47 #include "llvm/Analysis/MemorySSA.h"
262 MemoryDependenceResults *MD, MemorySSA *MSSA)
282 MemorySSA *MSSA;
634 const MemorySSA::AccessList *Acc = MSSA->getBlockAccesses(BB);
1051 MSSAUpdater->moveToPlace(NewMemAcc, DestBB, MemorySSA::BeforeTerminator);
1057 // Remove MemorySSA phi nodes with the same arguments.
1238 MemorySSA &MSSA = AM.getResult<MemorySSAAnalysis>(F).getMSSA();
DeadStoreElimination.cpp 1 //===- DeadStoreElimination.cpp - MemorySSA Backed Dead Store Elimination -===//
9 // The code below implements dead store elimination using MemorySSA. It uses
26 // 4. Erase CurrentDef from the function and MemorySSA.
45 #include "llvm/Analysis/MemorySSA.h"
107 DEBUG_COUNTER(MemorySSACounter, "dse-memoryssa",
121 MemorySSAScanLimit("dse-memoryssa-scanlimit", cl::init(150), cl::Hidden,
125 "dse-memoryssa-walklimit", cl::init(90), cl::Hidden,
130 "dse-memoryssa-partial-store-limit", cl::init(5), cl::Hidden,
136 "dse-memoryssa-defs-per-block-limit", cl::init(5000), cl::Hidden,
141 "dse-memoryssa-samebb-cost", cl::init(1), cl::Hidden
    [all...]
LoopUnswitch.cpp 41 #include "llvm/Analysis/MemorySSA.h"
104 MSSAThreshold("loop-unswitch-memoryssa-threshold",
194 MemorySSA *MSSA = nullptr;
545 assert(DT && "Cannot update MemorySSA without a valid DomTree.");
1011 MemorySSA *MSSA = MSSAU->getMemorySSA();
1031 MemorySSA::BeforeTerminator);
1450 // Update MemorySSA after cloning, and before splitting to unreachables,
MemCpyOptimizer.cpp 27 #include "llvm/Analysis/MemorySSA.h"
71 EnableMemorySSA("enable-memcpyopt-memoryssa", cl::init(true), cl::Hidden,
72 cl::desc("Use MemorySSA-backed MemCpyOpt."));
356 static bool writtenBetween(MemorySSA *MSSA, MemoryLocation Loc,
1256 static bool hasUndefContentsMSSA(MemorySSA *MSSA, AliasAnalysis *AA, Value *V,
1559 // For MemorySSA nothing really changes (except that memcpy may imply stricter
1737 MemorySSA *MSSA_) {
LoopIdiomRecognize.cpp 55 #include "llvm/Analysis/MemorySSA.h"
166 const TargetTransformInfo *TTI, MemorySSA *MSSA,
286 MemorySSA *MSSA = nullptr;
1131 NewCall, nullptr, NewCall->getParent(), MemorySSA::BeforeTerminator);
1323 NewCall, nullptr, NewCall->getParent(), MemorySSA::BeforeTerminator);
LoopLoadElimination.cpp 37 #include "llvm/Analysis/MemorySSA.h"
722 MemorySSA *MSSA = EnableMSSALoopDependency
LoopSimplifyCFG.cpp 27 #include "llvm/Analysis/MemorySSA.h"
738 MemorySSA *MSSA = &getAnalysis<MemorySSAWrapperPass>().getMSSA();
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUAnnotateUniformValues.cpp 18 #include "llvm/Analysis/MemorySSA.h"
31 MemorySSA *MSSA;
  /src/external/apache2/llvm/lib/libLLVMAnalysis/
Makefile 82 MemorySSA.cpp \
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
LoopVersioning.cpp 19 #include "llvm/Analysis/MemorySSA.h"
357 MemorySSA *MSSA = EnableMSSALoopDependency
LoopUtils.cpp 29 #include "llvm/Analysis/MemorySSA.h"
186 // FIXME: When all loop passes preserve MemorySSA, it can be required and
539 LoopInfo *LI, MemorySSA *MSSA) {
766 LoopInfo &LI, MemorySSA *MSSA) {
1722 MemorySSA &MSSA,
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
InterleavedLoadCombinePass.cpp 23 #include "llvm/Analysis/MemorySSA.h"
66 InterleavedLoadCombineImpl(Function &F, DominatorTree &DT, MemorySSA &MSSA,
84 MemorySSA &MSSA;
1225 // Create the wide load and update the MemorySSA.

Completed in 62 milliseconds

1 2