Searched refs:MemoryUseOrDef (Results 1 – 9 of 9) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | MemorySSAUpdater.h | 92 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);
|
D | MemorySSA.h | 206 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/ |
D | MemorySSAUpdater.cpp | 397 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 …]
|
D | MemorySSA.cpp | 122 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/ |
D | MemorySSA.h | 155 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/ |
D | MemorySSA.cpp | 288 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/ |
D | GVNHoist.cpp | 519 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()
|
D | NewGVN.cpp | 554 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/ |
D | MemorySSA.cpp | 240 cast<MemoryUseOrDef>(MSSA.getMemoryAccess(V))->getDefiningAccess(); in TEST_F()
|