Lines Matching refs:Access

233                      InterestingMemoryAccess &Access);
333 InterestingMemoryAccess Access; in isInterestingMemoryAccess() local
338 Access.IsWrite = false; in isInterestingMemoryAccess()
339 Access.AccessTy = LI->getType(); in isInterestingMemoryAccess()
340 Access.Addr = LI->getPointerOperand(); in isInterestingMemoryAccess()
344 Access.IsWrite = true; in isInterestingMemoryAccess()
345 Access.AccessTy = SI->getValueOperand()->getType(); in isInterestingMemoryAccess()
346 Access.Addr = SI->getPointerOperand(); in isInterestingMemoryAccess()
350 Access.IsWrite = true; in isInterestingMemoryAccess()
351 Access.AccessTy = RMW->getValOperand()->getType(); in isInterestingMemoryAccess()
352 Access.Addr = RMW->getPointerOperand(); in isInterestingMemoryAccess()
356 Access.IsWrite = true; in isInterestingMemoryAccess()
357 Access.AccessTy = XCHG->getCompareOperand()->getType(); in isInterestingMemoryAccess()
358 Access.Addr = XCHG->getPointerOperand(); in isInterestingMemoryAccess()
369 Access.AccessTy = CI->getArgOperand(0)->getType(); in isInterestingMemoryAccess()
370 Access.IsWrite = true; in isInterestingMemoryAccess()
374 Access.AccessTy = CI->getType(); in isInterestingMemoryAccess()
375 Access.IsWrite = false; in isInterestingMemoryAccess()
379 Access.MaybeMask = CI->getOperand(2 + OpOffset); in isInterestingMemoryAccess()
380 Access.Addr = BasePtr; in isInterestingMemoryAccess()
384 if (!Access.Addr) in isInterestingMemoryAccess()
389 Type *PtrTy = cast<PointerType>(Access.Addr->getType()->getScalarType()); in isInterestingMemoryAccess()
397 if (Access.Addr->isSwiftError()) in isInterestingMemoryAccess()
401 auto *Addr = Access.Addr->stripInBoundsOffsets(); in isInterestingMemoryAccess()
419 return Access; in isInterestingMemoryAccess()
455 InterestingMemoryAccess &Access) { in instrumentMop() argument
457 if (!ClStack && isa<AllocaInst>(getUnderlyingObject(Access.Addr))) { in instrumentMop()
458 if (Access.IsWrite) in instrumentMop()
465 if (Access.IsWrite) in instrumentMop()
470 if (Access.MaybeMask) { in instrumentMop()
471 instrumentMaskedLoadOrStore(DL, Access.MaybeMask, I, Access.Addr, in instrumentMop()
472 Access.AccessTy, Access.IsWrite); in instrumentMop()
477 instrumentAddress(I, I, Access.Addr, Access.IsWrite); in instrumentMop()
654 std::optional<InterestingMemoryAccess> Access = in instrumentFunction() local
656 if (Access) in instrumentFunction()
657 instrumentMop(Inst, F.getDataLayout(), *Access); in instrumentFunction()