Lines Matching refs:Acc
968 AAPointerInfo::Access Acc(&I, RemoteI, Ranges, Content, Kind, Ty); in addAccess() local
971 Current &= Acc; in addAccess()
1165 auto CanIgnoreThreading = [&](const Access &Acc) -> bool { in forallInterferingAccesses() argument
1166 return CanIgnoreThreadingForInst(*Acc.getRemoteInst()) || in forallInterferingAccesses()
1167 (Acc.getRemoteInst() != Acc.getLocalInst() && in forallInterferingAccesses()
1168 CanIgnoreThreadingForInst(*Acc.getLocalInst())); in forallInterferingAccesses()
1235 auto AccessCB = [&](const Access &Acc, bool Exact) { in forallInterferingAccesses() argument
1236 Function *AccScope = Acc.getRemoteInst()->getFunction(); in forallInterferingAccesses()
1245 if (Exact && Acc.isMustAccess() && Acc.getRemoteInst() != &I) { in forallInterferingAccesses()
1246 if (Acc.isWrite() || (isa<LoadInst>(I) && Acc.isWriteOrAssumption())) in forallInterferingAccesses()
1247 ExclusionSet.insert(Acc.getRemoteInst()); in forallInterferingAccesses()
1250 if ((!FindInterferingWrites || !Acc.isWriteOrAssumption()) && in forallInterferingAccesses()
1251 (!FindInterferingReads || !Acc.isRead())) in forallInterferingAccesses()
1255 Acc.isMustAccess() && AccInSameScope && in forallInterferingAccesses()
1256 DT->dominates(Acc.getRemoteInst(), &I); in forallInterferingAccesses()
1258 DominatingWrites.insert(&Acc); in forallInterferingAccesses()
1262 AllInSameNoSyncFn &= Acc.getRemoteInst()->getFunction() == &Scope; in forallInterferingAccesses()
1264 InterferingAccesses.push_back({&Acc, Exact}); in forallInterferingAccesses()
1274 for (const Access *Acc : DominatingWrites) { in forallInterferingAccesses() local
1276 LeastDominatingWriteInst = Acc->getRemoteInst(); in forallInterferingAccesses()
1278 Acc->getRemoteInst())) { in forallInterferingAccesses()
1279 LeastDominatingWriteInst = Acc->getRemoteInst(); in forallInterferingAccesses()
1284 auto CanSkipAccess = [&](const Access &Acc, bool Exact) { in forallInterferingAccesses() argument
1285 if (SkipCB && SkipCB(Acc)) in forallInterferingAccesses()
1287 if (!CanIgnoreThreading(Acc)) in forallInterferingAccesses()
1299 if (!AA::isPotentiallyReachable(A, I, *Acc.getRemoteInst(), QueryingAA, in forallInterferingAccesses()
1306 if (!AA::isPotentiallyReachable(A, *Acc.getRemoteInst(), I, QueryingAA, in forallInterferingAccesses()
1323 Acc.getRemoteInst()->getFunction() != &Scope) { in forallInterferingAccesses()
1336 *Acc.getRemoteInst()->getFunction(), &ExclusionSet)) in forallInterferingAccesses()
1348 if (!DominatingWrites.count(&Acc)) in forallInterferingAccesses()
1350 return LeastDominatingWriteInst != Acc.getRemoteInst(); in forallInterferingAccesses()
1437 auto &Acc = AccessList[AccIndex]; in dumpState() local
1438 O << " - " << Acc.getKind() << " - " << *Acc.getLocalInst() << "\n"; in dumpState()
1439 if (Acc.getLocalInst() != Acc.getRemoteInst()) in dumpState()
1440 O << " --> " << *Acc.getRemoteInst() in dumpState()
1442 if (!Acc.isWrittenValueYetUndetermined()) { in dumpState()
1443 if (isa_and_nonnull<Function>(Acc.getWrittenValue())) in dumpState()
1444 O << " - c: func " << Acc.getWrittenValue()->getName() in dumpState()
1446 else if (Acc.getWrittenValue()) in dumpState()
1447 O << " - c: " << *Acc.getWrittenValue() << "\n"; in dumpState()