Home
last modified time | relevance | path

Searched refs:MemoryAccess (Results 1 – 21 of 21) sorted by relevance

/external/llvm/include/llvm/Transforms/Utils/
DMemorySSA.h110 class MemoryAccess; variable
115 using memoryaccess_def_iterator = memoryaccess_def_iterator_base<MemoryAccess>;
117 memoryaccess_def_iterator_base<const MemoryAccess>;
121 class MemoryAccess : public User, public ilist_node<MemoryAccess> {
128 static inline bool classof(const MemoryAccess *) { return true; } in classof() argument
134 ~MemoryAccess() override;
163 MemoryAccess(LLVMContext &C, unsigned Vty, BasicBlock *BB, in MemoryAccess() function
168 MemoryAccess(const MemoryAccess &);
169 void operator=(const MemoryAccess &);
174 struct ilist_traits<MemoryAccess> : public ilist_default_traits<MemoryAccess> {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DMemorySSA.h110 class MemoryAccess; variable
129 using memoryaccess_def_iterator = memoryaccess_def_iterator_base<MemoryAccess>;
131 memoryaccess_def_iterator_base<const MemoryAccess>;
135 class MemoryAccess
137 public ilist_node<MemoryAccess, ilist_tag<MSSAHelpers::AllAccessTag>>,
138 public ilist_node<MemoryAccess, ilist_tag<MSSAHelpers::DefsOnlyTag>> {
141 ilist_node<MemoryAccess, ilist_tag<MSSAHelpers::AllAccessTag>>;
143 ilist_node<MemoryAccess, ilist_tag<MSSAHelpers::DefsOnlyTag>>;
145 MemoryAccess(const MemoryAccess &) = delete;
146 MemoryAccess &operator=(const MemoryAccess &) = delete;
[all …]
DMemorySSAUpdater.h56 class MemoryAccess; variable
155 MemoryAccess *createMemoryAccessInBB(Instruction *I, MemoryAccess *Definition,
170 MemoryAccess *Definition,
173 MemoryAccess *Definition,
174 MemoryAccess *InsertPt);
182 void removeMemoryAccess(MemoryAccess *);
188 if (MemoryAccess *MA = MSSA->getMemoryAccess(I)) in removeMemoryAccess()
211 MemoryAccess *getPreviousDef(MemoryAccess *);
212 MemoryAccess *getPreviousDefInBlock(MemoryAccess *);
213 MemoryAccess *
[all …]
/external/llvm/lib/Transforms/Utils/
DMemorySSA.cpp79 if (MemoryAccess *MA = MSSA->getMemoryAccess(BB)) in emitBasicBlockStartAnnot()
85 if (MemoryAccess *MA = MSSA->getMemoryAccess(I)) in emitInstructionAnnot()
128 MemoryAccess *getClobberingMemoryAccess(const Instruction *) override;
129 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *,
131 void invalidateInfo(MemoryAccess *) override;
135 MemoryAccess *doCacheLookup(const MemoryAccess *, const UpwardsMemoryQuery &,
138 void doCacheInsert(const MemoryAccess *, MemoryAccess *,
141 void doCacheRemove(const MemoryAccess *, const UpwardsMemoryQuery &,
145 MemoryAccessPair UpwardsDFSWalk(MemoryAccess *, const MemoryLocation &,
147 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *, UpwardsMemoryQuery &);
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemorySSAUpdater.cpp40 MemoryAccess *MemorySSAUpdater::getPreviousDefRecursive( in getPreviousDefRecursive()
42 DenseMap<BasicBlock *, TrackingVH<MemoryAccess>> &CachedPreviousDef) { in getPreviousDefRecursive()
52 MemoryAccess *Result = getPreviousDefFromEnd(Pred, CachedPreviousDef); in getPreviousDefRecursive()
61 MemoryAccess *Result = MSSA->createMemoryPhi(BB); in getPreviousDefRecursive()
68 SmallVector<TrackingVH<MemoryAccess>, 8> PhiOps; in getPreviousDefRecursive()
118 MemoryAccess *MemorySSAUpdater::getPreviousDef(MemoryAccess *MA) { in getPreviousDef()
121 DenseMap<BasicBlock *, TrackingVH<MemoryAccess>> CachedPreviousDef; in getPreviousDef()
128 MemoryAccess *MemorySSAUpdater::getPreviousDefInBlock(MemoryAccess *MA) { in getPreviousDefInBlock()
144 return cast<MemoryAccess>(&U); in getPreviousDefInBlock()
153 MemoryAccess *MemorySSAUpdater::getPreviousDefFromEnd( in getPreviousDefFromEnd()
[all …]
DMemorySSA.cpp98 if (MemoryAccess *MA = MSSA->getMemoryAccess(BB)) in emitBasicBlockStartAnnot()
104 if (MemoryAccess *MA = MSSA->getMemoryAccess(I)) in emitInstructionAnnot()
327 const MemoryAccess *OriginalAccess = nullptr;
332 UpwardsMemoryQuery(const Instruction *Inst, const MemoryAccess *Access) in UpwardsMemoryQuery()
377 checkClobberSanity(MemoryAccess *Start, MemoryAccess *ClobberAt, in checkClobberSanity()
401 for (MemoryAccess *MA : def_chain(MAP.first)) { in checkClobberSanity()
458 MemoryAccess *First;
459 MemoryAccess *Last;
462 DefPath(const MemoryLocation &Loc, MemoryAccess *First, MemoryAccess *Last, in DefPath()
466 DefPath(const MemoryLocation &Loc, MemoryAccess *Init, in DefPath()
[all …]
/external/llvm/unittests/Transforms/Utils/
DMemorySSA.cpp104 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F()
135 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F()
142 EXPECT_TRUE(MSSA.isLiveOnEntryDef(cast<MemoryAccess>(Op.get()))); in TEST_F()
181 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F()
199 MemoryAccess *Operand = cast<MemoryAccess>(&*Op); in TEST_F()
239 MemoryAccess *DefiningAccess = in TEST_F()
241 MemoryAccess *WalkerClobber = Walker->getClobberingMemoryAccess(V); in TEST_F()
267 MemoryAccess *LoadClobber = Walker->getClobberingMemoryAccess(LI); in TEST_F()
296 MemoryAccess *StoreAccess = MSSA.getMemoryAccess(SI); in TEST_F()
298 MemoryAccess *Clobber = in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DMemorySSA.cpp105 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F()
136 MemoryAccess *EntryStoreAccess = Updater.createMemoryAccessInBB( in TEST_F()
160 MemoryAccess *LeftStoreAccess = Updater.createMemoryAccessInBB( in TEST_F()
185 MemoryAccess *SecondEntryStoreAccess = Updater.createMemoryAccessInBB( in TEST_F()
226 MemoryAccess *StoreAccess = in TEST_F()
242 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F()
283 MemoryAccess * NewLoadAccess = in TEST_F()
320 MemoryAccess *EntryStoreAccess = MSSA.getMemoryAccess(EntryStore); in TEST_F()
321 MemoryAccess *SideStoreAccess = MSSA.getMemoryAccess(SideStore); in TEST_F()
322 MemoryAccess *NewStoreAccess = Updater.createMemoryAccessAfter( in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DNewGVN.cpp327 const MemoryAccess *getMemoryLeader() const { return RepMemoryAccess; } in getMemoryLeader()
328 void setMemoryLeader(const MemoryAccess *Leader) { RepMemoryAccess = Leader; } in setMemoryLeader()
408 const MemoryAccess *RepMemoryAccess = nullptr;
580 mutable DenseMap<const MemoryAccess *, SmallPtrSet<MemoryAccess *, 2>>
588 DenseMap<const MemoryAccess *, CongruenceClass *> MemoryAccessToClass;
684 const MemoryAccess *) const;
686 const MemoryAccess *) const;
688 const MemoryAccess *) const;
700 CongruenceClass *createMemoryClass(MemoryAccess *MA) { in createMemoryClass()
706 CongruenceClass *ensureLeaderOfMemoryClass(MemoryAccess *MA) { in ensureLeaderOfMemoryClass()
[all …]
DEarlyCSE.cpp610 if (MemoryAccess *MA = MSSA->getMemoryAccess(Inst)) { in removeMSSA()
614 SmallVector<MemoryAccess *, 8> WorkQueue; in removeMSSA()
620 MemoryAccess *WI = WorkQueue[I]; in removeMSSA()
629 MemoryAccess *FirstIn = MP->getIncomingValue(0); in removeMSSA()
687 MemoryAccess *LaterDef = in isSameMemGeneration()
DGVNHoist.cpp396 for (const MemoryAccess &MA : *Acc) in hasMemoryUse()
529 MemoryAccess *D = U->getDefiningAccess(); in safeToHoistLdSt()
923 MemoryAccess *OldMA = MSSA->getMemoryAccess(I); in rauw()
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DMemorySSA.rst39 structure that maps ``Instruction``\ s to ``MemoryAccess``\ es, which are
42 Each ``MemoryAccess`` can be one of three types:
50 ``BasicBlock``, the block's top ``MemoryAccess`` will be a
70 It dominates every ``MemoryAccess`` in the function that ``MemorySSA`` is being
79 operands of a given ``MemoryAccess`` are all (potential) clobbers of said
80 MemoryAccess, and the value produced by a ``MemoryAccess`` can act as a clobber
81 for other ``MemoryAccess``\ es. Another useful way of looking at it is in
83 ``MemoryAccess`` are the version of the heap before the operation, and
125 is a ``MemoryAccess`` (specifically, a ``MemoryDef``), and it describes the LLVM
155 As an aside, ``MemoryAccess`` is a ``Value`` mostly for convenience; it's not
[all …]
/external/crosvm/sys_util/src/
Dguest_memory.rs23 MemoryAccess(GuestAddress, mmap::Error), enumerator
43 MemoryAccess(addr, e) => { in fmt()
240 .map_err(|e| Error::MemoryAccess(addr, e)) in remove_range()
290 .map_err(|e| Error::MemoryAccess(guest_addr, e)) in write_at_addr()
348 .map_err(|e| Error::MemoryAccess(guest_addr, e)) in read_at_addr()
407 .map_err(|e| Error::MemoryAccess(guest_addr, e)) in read_obj_from_addr()
430 .map_err(|e| Error::MemoryAccess(guest_addr, e)) in write_obj_at_addr()
469 .map_err(|e| Error::MemoryAccess(guest_addr, e)) in read_to_memory()
506 .map_err(|e| Error::MemoryAccess(guest_addr, e)) in write_from_memory()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/
DGVNExpression.h266 const MemoryAccess *MemoryLeader;
270 const MemoryAccess *MemoryLeader) in MemoryExpression()
293 const MemoryAccess *getMemoryLeader() const { return MemoryLeader; } in getMemoryLeader()
294 void setMemoryLeader(const MemoryAccess *ML) { MemoryLeader = ML; } in setMemoryLeader()
303 const MemoryAccess *MemoryLeader) in CallExpression()
331 const MemoryAccess *MemoryLeader) in LoadExpression()
335 const MemoryAccess *MemoryLeader) in LoadExpression()
379 const MemoryAccess *MemoryLeader) in StoreExpression()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.h659 void MemoryAccess(ThreadState *thr, uptr pc, uptr addr,
678 MemoryAccess(thr, pc, addr, kAccessSizeLog, false, false); in MemoryRead()
683 MemoryAccess(thr, pc, addr, kAccessSizeLog, true, false); in MemoryWrite()
688 MemoryAccess(thr, pc, addr, kAccessSizeLog, false, true); in MemoryReadAtomic()
693 MemoryAccess(thr, pc, addr, kAccessSizeLog, true, true); in MemoryWriteAtomic()
Dtsan_rtl.cc651 MemoryAccess(thr, pc, addr, kAccessSizeLog, kAccessIsWrite, kIsAtomic); in UnalignedMemoryAccess()
745 void MemoryAccess(ThreadState *thr, uptr pc, uptr addr, in MemoryAccess() function
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/EarlyCSE/
Dglobalsaa-memoryssa.ll11 ; a MemoryAccess. In this case the calls to @f1 have no
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DPredicateInfo.h92 class MemoryAccess; variable
/external/swiftshader/third_party/SPIRV-Tools/test/
Doperand_capabilities_test.cpp611 MemoryAccess, EnumCapabilityTest,
/external/deqp-deps/SPIRV-Tools/test/
Doperand_capabilities_test.cpp618 MemoryAccess, EnumCapabilityTest,
/external/angle/third_party/spirv-tools/src/test/
Doperand_capabilities_test.cpp618 MemoryAccess, EnumCapabilityTest,