Home
last modified time | relevance | path

Searched refs:MemoryAccess (Results 1 – 7 of 7) 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/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/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/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVInstruction.h420 void MemoryAccessUpdate(const std::vector<SPIRVWord> &MemoryAccess) { in MemoryAccessUpdate() argument
421 if (!MemoryAccess.size()) in MemoryAccessUpdate()
423 …assert((MemoryAccess.size() == 1 || MemoryAccess.size() == 2) && "Invalid memory access operand si… in MemoryAccessUpdate()
424 TheMemoryAccessMask = MemoryAccess[0]; in MemoryAccessUpdate()
425 if (MemoryAccess[0] & MemoryAccessAlignedMask) { in MemoryAccessUpdate()
426 assert(MemoryAccess.size() == 2 && "Alignment operand is missing"); in MemoryAccessUpdate()
427 Alignment = MemoryAccess[1]; in MemoryAccessUpdate()
518 MemoryAccess(TheMemoryAccess),
541 MemoryAccess.resize(TheWordCount - FixedWords);
544 getEncoder(O) << PtrId << ValId << MemoryAccess;
[all …]
/external/spirv-llvm/lib/SPIRV/
DSPIRVWriter.cpp928 std::vector<SPIRVWord> MemoryAccess(1,0); in transValueWithoutDecoration() local
930 MemoryAccess[0] |= MemoryAccessVolatileMask; in transValueWithoutDecoration()
932 MemoryAccess[0] |= MemoryAccessAlignedMask; in transValueWithoutDecoration()
933 MemoryAccess.push_back(ST->getAlignment()); in transValueWithoutDecoration()
936 MemoryAccess[0] |= MemoryAccessNontemporalMask; in transValueWithoutDecoration()
937 if (MemoryAccess.front() == 0) in transValueWithoutDecoration()
938 MemoryAccess.clear(); in transValueWithoutDecoration()
942 MemoryAccess, BB)); in transValueWithoutDecoration()
946 std::vector<SPIRVWord> MemoryAccess(1,0); in transValueWithoutDecoration() local
948 MemoryAccess[0] |= MemoryAccessVolatileMask; in transValueWithoutDecoration()
[all …]
/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