HomeSort by: relevance | last modified time | path
    Searched refs:MemoryDef (Results 1 - 15 of 15) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
MemorySSA.h 17 /// MemoryDef/Uses/Phis that are overlayed on top of the existing instructions.
37 /// ; 1 = MemoryDef(0)
40 /// ; 2 = MemoryDef(1)
43 /// ; 3 = MemoryDef(2)
45 /// ; 4 = MemoryDef(3)
173 /// MemoryUse/MemoryDef, this walks the defining access.
207 friend class MemoryDef;
249 /// MemoryDef instead.
374 /// MemoryDef's is exactly the set of Instructions for which
378 /// MemoryDef/MemoryPhi
    [all...]
MemorySSAUpdater.h 22 // MemoryDef.
87 void insertDef(MemoryDef *Def, bool RenameUses = false);
284 // a MemoryDef into a MemoryUse or an instruction that MemorySSA has no
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
MemCpyOptimizer.cpp 383 // the new memset. The new MemoryDef for the inserted memsets will be inserted
387 // Keeps track of the last MemoryDef between StartInst and the insertion point
390 MemoryDef *LastMemDef = nullptr;
397 if (auto *CurrentDef = dyn_cast<MemoryDef>(CurrentAcc))
501 cast<MemoryDef>(MemInsertPoint->getMemoryInst() == &*BI
729 cast<MemoryDef>(MSSAU->getMemorySSA()->getMemoryAccess(SI));
732 MSSAU->insertDef(cast<MemoryDef>(NewAccess), /*RenameUses=*/true);
826 assert(isa<MemoryDef>(MSSAU->getMemorySSA()->getMemoryAccess(SI)));
828 cast<MemoryDef>(MSSAU->getMemorySSA()->getMemoryAccess(SI));
830 MSSAU->insertDef(cast<MemoryDef>(NewAccess), /*RenameUses=*/true)
    [all...]
DeadStoreElimination.cpp 10 // the following general approach: given a MemoryDef, walk upwards to find
12 // that there are no uses that may read the location of the original MemoryDef
16 // 1. Get the next dominating clobbering MemoryDef (EarlierAccess) by walking
132 "killing MemoryDef to consider"
143 "The cost of a step in the same basic block as the killing MemoryDef"
150 "block than the killing MemoryDef"
810 bool canSkipDef(MemoryDef *D, bool DefVisibleToCaller) {
858 SmallVector<MemoryDef *, 64> MemDefs;
897 auto *MD = dyn_cast_or_null<MemoryDef>(MA);
1058 // with the killing MemoryDef. But we refrain from doing so for now t
    [all...]
GVNHoist.cpp 306 bool hasMemoryUse(const Instruction *NewPt, MemoryDef *Def,
314 // the MemoryDef of the store to be hoisted.
319 bool hasEHOrLoadsOnPath(const Instruction *NewPt, MemoryDef *Def,
632 bool GVNHoist::hasMemoryUse(const Instruction *NewPt, MemoryDef *Def,
685 bool GVNHoist::hasEHOrLoadsOnPath(const Instruction *NewPt, MemoryDef *Def,
778 if (hasEHOrLoadsOnPath(NewPt, cast<MemoryDef>(U), NBBsOnAllPaths))
LoopSink.cpp 246 if (auto *MemDef = dyn_cast<MemoryDef>(NewMemAcc))
NewGVN.cpp 1388 // Get the expression, if any, for the RHS of the MemoryDef.
1428 // it's MemoryDef).
1528 if (auto *MD = dyn_cast<MemoryDef>(DefiningAccess)) {
2249 auto *InstMA = dyn_cast_or_null<MemoryDef>(getMemoryAccess(I));
2864 auto *MD = dyn_cast<MemoryDef>(&Def);
3183 if (auto *MemDef = dyn_cast<MemoryDef>(Pair.first))
3220 isa<MemoryDef>(U);
3229 const MemoryDef *MD = cast<MemoryDef>(U);
LICM.cpp 1340 } else if (const auto *MD = dyn_cast<MemoryDef>(&MA)) {
1491 if (auto *MemDef = dyn_cast<MemoryDef>(NewMemAcc))
1927 MSSAU->insertDef(cast<MemoryDef>(NewMemAcc), true);
2444 if (const auto *MD = dyn_cast<MemoryDef>(&MA))
GVN.cpp 1201 // MemoryDef (e.g. because it is volatile). The inserted loads are
1205 isa<MemoryDef>(LoadAcc) ? LoadAcc : LoadAcc->getDefiningAccess();
1209 if (auto *NewDef = dyn_cast<MemoryDef>(NewAccess))
1783 MSSAU->insertDef(cast<MemoryDef>(NewDef), /*RenameUses=*/false);
LoopIdiomRecognize.cpp 1132 MSSAU->insertDef(cast<MemoryDef>(NewMemAcc), true);
1324 MSSAU->insertDef(cast<MemoryDef>(NewMemAcc), true);
SimpleLoopUnswitch.cpp 2508 MemoryDef *MD = cast<MemoryDef>(MSSAU->getMemorySSA()->getMemoryAccess(GI));
LoopUnswitch.cpp 1027 cast<MemoryDef>(DefiningAccess)->getDefiningAccess();
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
MemorySSA.cpp 270 instructionClobbersQuery(const MemoryDef *MD, const MemoryLocation &UseLoc,
317 static ClobberAlias instructionClobbersQuery(MemoryDef *MD,
331 bool MemorySSAUtil::defClobbersUseOrDef(MemoryDef *MD, const MemoryUseOrDef *MU,
416 if (const auto *MD = dyn_cast<MemoryDef>(MA)) {
438 if (const auto *MD = dyn_cast<MemoryDef>(MA)) {
576 if (auto *MD = dyn_cast<MemoryDef>(Current)) {
669 assert(isa<MemoryDef>(Query->OriginalAccess));
1136 if (isa<MemoryDef>(&L))
1329 /// the same for every MemoryUse. The *actual* clobbering MemoryDef is just
1452 MemoryDef *MD = cast<MemoryDef>(VersionStack[UpperBound])
    [all...]
MemorySSAUpdater.cpp 275 // Convert to incoming value if it's a memorydef. A phi *is* already an
277 if (auto *MD = dyn_cast<MemoryDef>(FirstDef))
314 void MemorySSAUpdater::insertDef(MemoryDef *MD, bool RenameUses) {
439 // Convert to incoming value if it's a memorydef. A phi *is* already an
441 if (auto *MD = dyn_cast<MemoryDef>(FirstDef))
479 cast<MemoryDef>(DefIter)->setDefiningAccess(NewDef);
511 cast<MemoryDef>(FirstDef)->setDefiningAccess(getPreviousDef(FirstDef));
575 if (MemoryDef *DefMUD = dyn_cast<MemoryDef>(InsnDefining)) {
585 // The clone was simplified, it's no longer a MemoryDef, look up
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
LoopUtils.cpp 1829 // For a MemoryDef, check if is aliases any of the location feeding
1831 if (auto *CurrentDef = dyn_cast<MemoryDef>(Current)) {

Completed in 47 milliseconds