/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | MemorySSAUpdater.h | 141 void moveBefore(MemoryUseOrDef *What, MemoryUseOrDef *Where); 142 void moveAfter(MemoryUseOrDef *What, MemoryUseOrDef *Where); 143 void moveToPlace(MemoryUseOrDef *What, BasicBlock *BB, 217 MemoryUseOrDef *createMemoryAccessBefore(Instruction *I, 219 MemoryUseOrDef *InsertPt); 220 MemoryUseOrDef *createMemoryAccessAfter(Instruction *I, 265 void moveTo(MemoryUseOrDef *What, BasicBlock *BB, WhereType Where);
|
D | MemorySSA.h | 209 friend class MemoryUseOrDef; variable 248 class MemoryUseOrDef : public MemoryAccess { 285 MemoryUseOrDef(LLVMContext &C, MemoryAccess *DMA, unsigned Vty, 294 ~MemoryUseOrDef() = default; 320 class MemoryUse final : public MemoryUseOrDef { 325 : MemoryUseOrDef(C, DMA, MemoryUseVal, deleteMe, MI, BB, 376 class MemoryDef final : public MemoryUseOrDef { 384 : MemoryUseOrDef(C, DMA, MemoryDefVal, deleteMe, MI, BB, 429 struct OperandTraits<MemoryUseOrDef> { 430 static Use *op_begin(MemoryUseOrDef *MUD) { [all …]
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | MemorySSAUpdater.h | 127 void moveBefore(MemoryUseOrDef *What, MemoryUseOrDef *Where); 128 void moveAfter(MemoryUseOrDef *What, MemoryUseOrDef *Where); 129 void moveToPlace(MemoryUseOrDef *What, BasicBlock *BB, 203 MemoryUseOrDef *createMemoryAccessBefore(Instruction *I, 205 MemoryUseOrDef *InsertPt); 206 MemoryUseOrDef *createMemoryAccessAfter(Instruction *I, 251 void moveTo(MemoryUseOrDef *What, BasicBlock *BB, WhereType Where);
|
D | MemorySSA.h | 210 friend class MemoryUseOrDef; variable 249 class MemoryUseOrDef : public MemoryAccess { 286 MemoryUseOrDef(LLVMContext &C, MemoryAccess *DMA, unsigned Vty, 295 ~MemoryUseOrDef() = default; 321 class MemoryUse final : public MemoryUseOrDef { 326 : MemoryUseOrDef(C, DMA, MemoryUseVal, deleteMe, MI, BB, 377 class MemoryDef final : public MemoryUseOrDef { 385 : MemoryUseOrDef(C, DMA, MemoryDefVal, deleteMe, MI, BB, 430 struct OperandTraits<MemoryUseOrDef> { 431 static Use *op_begin(MemoryUseOrDef *MUD) { [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-10.0/llvm/lib/Analysis/ |
D | MemorySSAUpdater.cpp | 590 if (const MemoryUseOrDef *MUD = dyn_cast<MemoryUseOrDef>(&MA)) { in cloneUsesAndDefs() 681 if (MemoryUseOrDef *IncMUD = dyn_cast<MemoryUseOrDef>(IncomingAccess)) { in updateForClonedLoop() 1114 cast<MemoryUseOrDef>(Usr)->resetOptimized(); in applyInsertUpdates() 1126 void MemorySSAUpdater::moveTo(MemoryUseOrDef *What, BasicBlock *BB, in moveTo() 1151 void MemorySSAUpdater::moveBefore(MemoryUseOrDef *What, MemoryUseOrDef *Where) { in moveBefore() 1156 void MemorySSAUpdater::moveAfter(MemoryUseOrDef *What, MemoryUseOrDef *Where) { in moveAfter() 1160 void MemorySSAUpdater::moveToPlace(MemoryUseOrDef *What, BasicBlock *BB, in moveToPlace() 1185 auto *MUD = cast<MemoryUseOrDef>(FirstInNew); in moveAllAccesses() 1188 MemoryUseOrDef *NextMUD = (!Accs || NextIt == Accs->end()) in moveAllAccesses() 1190 : cast<MemoryUseOrDef>(&*NextIt); in moveAllAccesses() [all …]
|
D | MemorySSA.cpp | 133 MemoryLocOrCall(MemoryUseOrDef *MUD) in MemoryLocOrCall() 135 MemoryLocOrCall(const MemoryUseOrDef *MUD) in MemoryLocOrCall() 316 const MemoryUseOrDef *MU, in instructionClobbersQuery() 329 bool MemorySSAUtil::defClobbersUseOrDef(MemoryDef *MD, const MemoryUseOrDef *MU, in defClobbersUseOrDef() 1044 if (auto *MUD = dyn_cast<MemoryUseOrDef>(MA)) in invalidateInfo() 1080 if (auto *MUD = dyn_cast<MemoryUseOrDef>(MA)) in invalidateInfo() 1121 if (MemoryUseOrDef *MUD = dyn_cast<MemoryUseOrDef>(&L)) { in renameBlock() 1217 if (auto *UseOrDef = dyn_cast<MemoryUseOrDef>(AI)) in markUnreachableAsLiveOnEntry() 1528 MemoryUseOrDef *MUD = createNewAccess(&I, &BAA); in buildMemorySSA() 1671 void MemorySSA::moveTo(MemoryUseOrDef *What, BasicBlock *BB, in moveTo() [all …]
|
D | AliasSetTracker.cpp | 550 if (auto *MUD = dyn_cast<MemoryUseOrDef>(&Access)) in addAllInstructionsInLoopUsingMSSA()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | MemorySSAUpdater.cpp | 616 if (const MemoryUseOrDef *MUD = dyn_cast<MemoryUseOrDef>(&MA)) { in cloneUsesAndDefs() 707 if (MemoryUseOrDef *IncMUD = dyn_cast<MemoryUseOrDef>(IncomingAccess)) { in updateForClonedLoop() 1149 cast<MemoryUseOrDef>(Usr)->resetOptimized(); in applyInsertUpdates() 1161 void MemorySSAUpdater::moveTo(MemoryUseOrDef *What, BasicBlock *BB, in moveTo() 1186 void MemorySSAUpdater::moveBefore(MemoryUseOrDef *What, MemoryUseOrDef *Where) { in moveBefore() 1191 void MemorySSAUpdater::moveAfter(MemoryUseOrDef *What, MemoryUseOrDef *Where) { in moveAfter() 1195 void MemorySSAUpdater::moveToPlace(MemoryUseOrDef *What, BasicBlock *BB, in moveToPlace() 1220 auto *MUD = cast<MemoryUseOrDef>(FirstInNew); in moveAllAccesses() 1223 MemoryUseOrDef *NextMUD = (!Accs || NextIt == Accs->end()) in moveAllAccesses() 1225 : cast<MemoryUseOrDef>(&*NextIt); in moveAllAccesses() [all …]
|
D | MemorySSA.cpp | 139 MemoryLocOrCall(MemoryUseOrDef *MUD) in MemoryLocOrCall() 141 MemoryLocOrCall(const MemoryUseOrDef *MUD) in MemoryLocOrCall() 316 const MemoryUseOrDef *MU, in instructionClobbersQuery() 329 bool MemorySSAUtil::defClobbersUseOrDef(MemoryDef *MD, const MemoryUseOrDef *MU, in defClobbersUseOrDef() 1070 if (auto *MUD = dyn_cast<MemoryUseOrDef>(MA)) in invalidateInfo() 1106 if (auto *MUD = dyn_cast<MemoryUseOrDef>(MA)) in invalidateInfo() 1147 if (MemoryUseOrDef *MUD = dyn_cast<MemoryUseOrDef>(&L)) { in renameBlock() 1243 if (auto *UseOrDef = dyn_cast<MemoryUseOrDef>(AI)) in markUnreachableAsLiveOnEntry() 1554 MemoryUseOrDef *MUD = createNewAccess(&I, &BAA); in buildMemorySSA() 1697 void MemorySSA::moveTo(MemoryUseOrDef *What, BasicBlock *BB, in moveTo() [all …]
|
D | AliasSetTracker.cpp | 546 if (auto *MUD = dyn_cast<MemoryUseOrDef>(&Access)) in addAllInstructionsInLoopUsingMSSA()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 341 const MemoryUseOrDef *Start, in accessedBetween() 342 const MemoryUseOrDef *End) { in accessedBetween() 346 if (isModOrRefSet(AA.getModRefInfo(cast<MemoryUseOrDef>(MA).getMemoryInst(), in accessedBetween() 356 const MemoryUseOrDef *Start, in writtenBetween() 357 const MemoryUseOrDef *End) { in writtenBetween() 385 MemoryUseOrDef *MemInsertPoint = nullptr; in tryMergingIntoMemset() 392 auto *CurrentAcc = cast_or_null<MemoryUseOrDef>( in tryMergingIntoMemset() 609 MemoryUseOrDef *MemInsertPoint = nullptr; in moveUp() 611 if (MemoryUseOrDef *MA = MSSAU->getMemorySSA()->getMemoryAccess(P)) { in moveUp() 612 MemInsertPoint = cast<MemoryUseOrDef>(--MA->getIterator()); in moveUp() [all …]
|
D | GVNHoist.cpp | 341 MemoryUseOrDef *U, InsKind K, int &NBBsOnAllPaths); 507 MemoryUseOrDef *NewMemAcc); 510 void raMPHIuw(MemoryUseOrDef *NewMemAcc); 763 const Instruction *OldPt, MemoryUseOrDef *U, in safeToHoistLdSt() 781 if (auto *UD = dyn_cast<MemoryUseOrDef>(D)) in safeToHoistLdSt() 828 if (MemoryUseOrDef *UD = MSSA->getMemoryAccess(Insn)) in checkSafety() 1016 MemoryUseOrDef *NewMemAcc) { in rauw() 1040 void GVNHoist::raMPHIuw(MemoryUseOrDef *NewMemAcc) { in raMPHIuw() 1058 MemoryUseOrDef *NewMemAcc = MSSA->getMemoryAccess(Repl); in removeAndReplace()
|
D | LoopSink.cpp | 272 if (MemoryUseOrDef *OldMemAcc = cast_or_null<MemoryUseOrDef>( in sinkInstruction()
|
D | DeadStoreElimination.cpp | 1819 Instruction *UseInst = cast<MemoryUseOrDef>(UseAccess)->getMemoryInst(); in isWriteAtEndOfFunction() 1962 if (!MSSA.isLiveOnEntryDef(Current) && isa<MemoryUseOrDef>(Current)) in getDomMemoryDef() 1963 dbgs() << " (" << *cast<MemoryUseOrDef>(Current)->getMemoryInst() in getDomMemoryDef() 2030 if (auto *UseOrDef = dyn_cast<MemoryUseOrDef>(U.getUser())) in getDomMemoryDef() 2164 Instruction *UseInst = cast<MemoryUseOrDef>(UseAccess)->getMemoryInst(); in getDomMemoryDef() 2183 if (isNoopIntrinsic(cast<MemoryUseOrDef>(UseAccess)->getMemoryInst())) { in getDomMemoryDef()
|
D | NewGVN.cpp | 558 DenseMap<const Instruction *, MemoryUseOrDef *> TempToMemory; 837 MemoryUseOrDef *getMemoryAccess(const Instruction *) const; 858 return isa<MemoryUseOrDef>(MA) in MemoryToDFSNum() 859 ? InstrToDFSNum(cast<MemoryUseOrDef>(MA)->getMemoryInst()) in MemoryToDFSNum() 908 MemoryUseOrDef *NewGVN::getMemoryAccess(const Instruction *I) const { in getMemoryAccess() 3173 if (auto *FirstMUD = dyn_cast<MemoryUseOrDef>(KV.first)) { in verifyMemoryCongruency() 3174 auto *SecondMUD = dyn_cast<MemoryUseOrDef>(KV.second->getMemoryLeader()); in verifyMemoryCongruency()
|
D | LICM.cpp | 1116 const auto *MUD = cast<MemoryUseOrDef>(&Acc); in isOnlyMemoryAccess() 1506 if (MemoryUseOrDef *OldMemAcc = cast_or_null<MemoryUseOrDef>( in moveInstructionBefore()
|
/external/swiftshader/third_party/llvm-10.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() 913 MemoryUseOrDef *NewMemAcc) { in rauw() 938 void raMPHIuw(MemoryUseOrDef *NewMemAcc) { in raMPHIuw() 956 MemoryUseOrDef *NewMemAcc = MSSA->getMemoryAccess(Repl); in removeAndReplace()
|
D | NewGVN.cpp | 556 DenseMap<const Instruction *, MemoryUseOrDef *> TempToMemory; 834 MemoryUseOrDef *getMemoryAccess(const Instruction *) const; 856 return isa<MemoryUseOrDef>(MA) in MemoryToDFSNum() 857 ? InstrToDFSNum(cast<MemoryUseOrDef>(MA)->getMemoryInst()) in MemoryToDFSNum() 906 MemoryUseOrDef *NewGVN::getMemoryAccess(const Instruction *I) const { in getMemoryAccess() 3220 if (auto *FirstMUD = dyn_cast<MemoryUseOrDef>(KV.first)) { in verifyMemoryCongruency() 3221 auto *SecondMUD = dyn_cast<MemoryUseOrDef>(KV.second->getMemoryLeader()); in verifyMemoryCongruency()
|
D | LICM.cpp | 1074 const auto *MUD = cast<MemoryUseOrDef>(&Acc); in isOnlyMemoryAccess() 1457 if (MemoryUseOrDef *OldMemAcc = cast_or_null<MemoryUseOrDef>( in moveInstructionBefore()
|
/external/llvm/unittests/Transforms/Utils/ |
D | MemorySSA.cpp | 240 cast<MemoryUseOrDef>(MSSA.getMemoryAccess(V))->getDefiningAccess(); in TEST_F()
|
/external/llvm-project/llvm/unittests/Analysis/ |
D | MemorySSATest.cpp | 1622 MemoryUseOrDef *Store1Access = MSSA.getMemoryAccess(StorePointer1); in TEST_F() 1623 MemoryUseOrDef *Store2Access = MSSA.getMemoryAccess(StorePointer2); in TEST_F() 1624 MemoryUseOrDef *MemSetAccess = MSSA.getMemoryAccess(MemSet); in TEST_F() 1656 MemoryUseOrDef *Load1Access = MSSA.getMemoryAccess(LoadPointer1); in TEST_F() 1657 MemoryUseOrDef *Load2Access = MSSA.getMemoryAccess(LoadPointer2); in TEST_F()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 280 if (MemoryUseOrDef *MUD = cast_or_null<MemoryUseOrDef>( in MergeBlockIntoPredecessor()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 281 if (MemoryUseOrDef *MUD = cast_or_null<MemoryUseOrDef>( in MergeBlockIntoPredecessor()
|