Home
last modified time | relevance | path

Searched refs:MemoryUseOrDef (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DMemorySSAUpdater.h92 void moveBefore(MemoryUseOrDef *What, MemoryUseOrDef *Where);
93 void moveAfter(MemoryUseOrDef *What, MemoryUseOrDef *Where);
94 void moveToPlace(MemoryUseOrDef *What, BasicBlock *BB,
169 MemoryUseOrDef *createMemoryAccessBefore(Instruction *I,
171 MemoryUseOrDef *InsertPt);
172 MemoryUseOrDef *createMemoryAccessAfter(Instruction *I,
207 void moveTo(MemoryUseOrDef *What, BasicBlock *BB, WhereType Where);
DMemorySSA.h206 friend class MemoryUseOrDef; variable
245 class MemoryUseOrDef : public MemoryAccess {
282 MemoryUseOrDef(LLVMContext &C, MemoryAccess *DMA, unsigned Vty,
290 ~MemoryUseOrDef() = default;
312 struct OperandTraits<MemoryUseOrDef>
313 : public FixedNumOperandTraits<MemoryUseOrDef, 1> {};
314 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(MemoryUseOrDef, MemoryAccess)
321 class MemoryUse final : public MemoryUseOrDef {
326 : MemoryUseOrDef(C, DMA, MemoryUseVal, deleteMe, MI, BB) {}
376 class MemoryDef final : public MemoryUseOrDef {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemorySSAUpdater.cpp397 void MemorySSAUpdater::moveTo(MemoryUseOrDef *What, BasicBlock *BB, in moveTo()
422 void MemorySSAUpdater::moveBefore(MemoryUseOrDef *What, MemoryUseOrDef *Where) { in moveBefore()
427 void MemorySSAUpdater::moveAfter(MemoryUseOrDef *What, MemoryUseOrDef *Where) { in moveAfter()
431 void MemorySSAUpdater::moveToPlace(MemoryUseOrDef *What, BasicBlock *BB, in moveToPlace()
451 auto *MUD = cast<MemoryUseOrDef>(FirstInNew); in moveAllAccesses()
454 MemoryUseOrDef *NextMUD = (!Accs || NextIt == Accs->end()) in moveAllAccesses()
456 : cast<MemoryUseOrDef>(&*NextIt); in moveAllAccesses()
545 NewDefTarget = cast<MemoryUseOrDef>(MA)->getDefiningAccess(); in removeMemoryAccess()
565 if (auto *MUD = dyn_cast<MemoryUseOrDef>(U.getUser())) in removeMemoryAccess()
613 MemoryUseOrDef *NewAccess = MSSA->createDefinedAccess(I, Definition); in createMemoryAccessInBB()
[all …]
DMemorySSA.cpp122 MemoryLocOrCall(MemoryUseOrDef *MUD) in MemoryLocOrCall()
124 MemoryLocOrCall(const MemoryUseOrDef *MUD) in MemoryLocOrCall()
298 const MemoryUseOrDef *MU, in instructionClobbersQuery()
311 bool MemorySSAUtil::defClobbersUseOrDef(MemoryDef *MD, const MemoryUseOrDef *MU, in defClobbersUseOrDef()
966 if (MemoryUseOrDef *MUD = dyn_cast<MemoryUseOrDef>(&L)) { in renameBlock()
1060 if (auto *UseOrDef = dyn_cast<MemoryUseOrDef>(AI)) in markUnreachableAsLiveOnEntry()
1360 MemoryUseOrDef *MUD = createNewAccess(&I); in buildMemorySSA()
1472 void MemorySSA::moveTo(MemoryUseOrDef *What, BasicBlock *BB, in moveTo()
1506 MemoryUseOrDef *MemorySSA::createDefinedAccess(Instruction *I, in createDefinedAccess()
1509 MemoryUseOrDef *NewAccess = createNewAccess(I); in createDefinedAccess()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DMemorySSA.h155 friend class MemoryUseOrDef; variable
204 class MemoryUseOrDef : public MemoryAccess {
217 static inline bool classof(const MemoryUseOrDef *) { return true; }
225 MemoryUseOrDef(LLVMContext &C, MemoryAccess *DMA, unsigned Vty,
238 struct OperandTraits<MemoryUseOrDef>
239 : public FixedNumOperandTraits<MemoryUseOrDef, 1> {};
240 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(MemoryUseOrDef, MemoryAccess)
247 class MemoryUse final : public MemoryUseOrDef {
257 : MemoryUseOrDef(C, DMA, MemoryUseVal, MI, BB) {}
287 class MemoryDef final : public MemoryUseOrDef {
[all …]
/external/llvm/lib/Transforms/Utils/
DMemorySSA.cpp288 if (auto *UseOrDef = dyn_cast<MemoryUseOrDef>(AI)) in markUnreachableAsLiveOnEntry()
350 MemoryUseOrDef *MUD = createNewAccess(&I); in buildMemorySSA()
465 MemoryUseOrDef *MemorySSA::createDefinedAccess(Instruction *I, in createDefinedAccess()
468 MemoryUseOrDef *NewAccess = createNewAccess(I); in createDefinedAccess()
480 MemoryUseOrDef *NewAccess = createDefinedAccess(I, Definition); in createMemoryAccessInBB()
500 MemoryUseOrDef *NewAccess = createDefinedAccess(I, Definition); in createMemoryAccessBefore()
511 MemoryUseOrDef *NewAccess = createDefinedAccess(I, Definition); in createMemoryAccessAfter()
518 MemoryUseOrDef *MemorySSA::createNewAccess(Instruction *I) { in createNewAccess()
540 MemoryUseOrDef *MUD; in createNewAccess()
579 if (isa<MemoryUseOrDef>(Replacee)) in dominatesUse()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DGVNHoist.cpp519 MemoryUseOrDef *U, InsKind K, int &NBBsOnAllPaths) { in safeToHoistLdSt()
536 if (auto *UD = dyn_cast<MemoryUseOrDef>(D)) in safeToHoistLdSt()
608 MemoryUseOrDef *UD = MSSA->getMemoryAccess(Insn); in checkSafety()
915 MemoryUseOrDef *NewMemAcc) { in rauw()
940 void raMPHIuw(MemoryUseOrDef *NewMemAcc) { in raMPHIuw()
958 MemoryUseOrDef *NewMemAcc = MSSA->getMemoryAccess(Repl); in removeAndReplace()
DNewGVN.cpp554 DenseMap<const Instruction *, MemoryUseOrDef *> TempToMemory;
832 MemoryUseOrDef *getMemoryAccess(const Instruction *) const;
854 return isa<MemoryUseOrDef>(MA) in MemoryToDFSNum()
855 ? InstrToDFSNum(cast<MemoryUseOrDef>(MA)->getMemoryInst()) in MemoryToDFSNum()
904 MemoryUseOrDef *NewGVN::getMemoryAccess(const Instruction *I) const { in getMemoryAccess()
3246 if (auto *FirstMUD = dyn_cast<MemoryUseOrDef>(KV.first)) { in verifyMemoryCongruency()
3247 auto *SecondMUD = dyn_cast<MemoryUseOrDef>(KV.second->getMemoryLeader()); in verifyMemoryCongruency()
/external/llvm/unittests/Transforms/Utils/
DMemorySSA.cpp240 cast<MemoryUseOrDef>(MSSA.getMemoryAccess(V))->getDefiningAccess(); in TEST_F()