Home
last modified time | relevance | path

Searched refs:MemAccess (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/
H A DEPCGenericMemoryAccessTest.cpp58 auto MemAccess = std::make_unique<EPCGenericMemoryAccess>(*SelfEPC, FAs); in TEST() local
68 MemAccess->writeUInt8s({{ExecutorAddr::fromPtr(&Test_UInt8_1), 1}, in TEST()
76 MemAccess->writeUInt16s({{ExecutorAddr::fromPtr(&Test_UInt16), 1}}); in TEST()
81 MemAccess->writeUInt32s({{ExecutorAddr::fromPtr(&Test_UInt32), 1}}); in TEST()
86 MemAccess->writeUInt64s({{ExecutorAddr::fromPtr(&Test_UInt64), 1}}); in TEST()
92 MemAccess->writeBuffers({{ExecutorAddr::fromPtr(&Test_Buffer), TestMsg}}); in TEST()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DEPCIndirectionUtils.cpp159 auto &MemAccess = EPCIU.getExecutorProcessControl().getMemoryAccess(); in createStubs() local
168 return MemAccess.writeUInt32s(PtrUpdates); in createStubs()
177 return MemAccess.writeUInt64s(PtrUpdates); in createStubs()
215 auto &MemAccess = EPCIU.getExecutorProcessControl().getMemoryAccess(); in updatePointer() local
219 return MemAccess.writeUInt32s(PUpdate); in updatePointer()
223 return MemAccess.writeUInt64s(PUpdate); in updatePointer()
H A DSimpleRemoteEPC.cpp338 if (auto MemAccess = S.CreateMemoryAccess(*this)) { in setup() local
339 OwnedMemAccess = std::move(*MemAccess); in setup()
340 this->MemAccess = OwnedMemAccess.get(); in setup()
342 return MemAccess.takeError(); in setup()
H A DExecutorProcessControl.cpp40 this->MemAccess = this; in SelfExecutorProcessControl()
/llvm-project-15.0.7/polly/lib/Transform/
H A DMatmulOptimizer.cpp282 static bool isMatMulNonScalarReadAccess(MemoryAccess *MemAccess, in isMatMulNonScalarReadAccess() argument
284 if (!MemAccess->isLatestArrayKind() || !MemAccess->isRead()) in isMatMulNonScalarReadAccess()
286 auto AccMap = MemAccess->getLatestAccessRelation(); in isMatMulNonScalarReadAccess()
287 isl::set StmtDomain = MemAccess->getStatement()->getDomain(); in isMatMulNonScalarReadAccess()
289 MMI.ReadFromC = MemAccess; in isMatMulNonScalarReadAccess()
293 MMI.A = MemAccess; in isMatMulNonScalarReadAccess()
297 MMI.B = MemAccess; in isMatMulNonScalarReadAccess()
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/
H A DExecutorProcessControl.h211 assert(MemAccess && "No MemAccess object set."); in getMemoryAccess()
212 return *MemAccess; in getMemoryAccess()
364 MemoryAccess *MemAccess = nullptr; variable
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp1468 auto *MemAccess = cast<LSBaseSDNode>(N); in storeLoadIsAligned() local
1469 TypeSize StoreSize = MemAccess->getMemoryVT().getStoreSize(); in storeLoadIsAligned()
1470 SDValue BasePtr = MemAccess->getBasePtr(); in storeLoadIsAligned()
1471 MachineMemOperand *MMO = MemAccess->getMemOperand(); in storeLoadIsAligned()
1475 if (MemAccess->getAlign().value() < StoreSize || in storeLoadIsAligned()
1476 !MemAccess->getOffset().isUndef()) in storeLoadIsAligned()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp767 MemoryAccess *MemAccess, Instruction *OrigInst,
2657 MemoryAccess *MemAccess, Instruction *OrigInst, in findLeaderForInst() argument
2674 if (MemAccess) in findLeaderForInst()
2711 auto *MemAccess = getMemoryAccess(I); in makePossiblePHIOfOps() local
2715 if (MemAccess && !isa<MemoryPhi>(MemAccess->getDefiningAccess()) && in makePossiblePHIOfOps()
2716 MemAccess->getDefiningAccess()->getBlock() == I->getParent()) in makePossiblePHIOfOps()
2767 if (MemAccess) in makePossiblePHIOfOps()
2768 TempToMemory.insert({ValueOp, MemAccess}); in makePossiblePHIOfOps()
2795 MemAccess, I, PredBB); in makePossiblePHIOfOps()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp2503 void LoopAccessInfo::collectStridedAccess(Value *MemAccess) { in collectStridedAccess() argument
2504 Value *Ptr = getLoadStorePointerOperand(MemAccess); in collectStridedAccess()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp4272 auto isScalarUse = [&](Instruction *MemAccess, Value *Ptr) { in collectLoopScalars() argument
4273 InstWidening WideningDecision = getWideningDecision(MemAccess, VF); in collectLoopScalars()
4276 if (auto *Store = dyn_cast<StoreInst>(MemAccess)) in collectLoopScalars()
4279 assert(Ptr == getLoadStorePointerOperand(MemAccess) && in collectLoopScalars()
4296 auto evaluatePtrUse = [&](Instruction *MemAccess, Value *Ptr) { in collectLoopScalars() argument
4311 if (isScalarUse(MemAccess, Ptr) && llvm::all_of(I->users(), [&](User *U) { in collectLoopScalars()