Lines Matching refs:Acc
430 auto AdjustWrittenValueType = [&](const AAPointerInfo::Access &Acc, in getPotentialCopiesOfMemoryValue()
436 << *Acc.getRemoteInst() << " : " << *I.getType() in getPotentialCopiesOfMemoryValue()
442 auto SkipCB = [&](const AAPointerInfo::Access &Acc) { in getPotentialCopiesOfMemoryValue() argument
443 if ((IsLoad && !Acc.isWriteOrAssumption()) || (!IsLoad && !Acc.isRead())) in getPotentialCopiesOfMemoryValue()
446 if (Acc.isWrittenValueYetUndetermined()) in getPotentialCopiesOfMemoryValue()
448 if (PotentialValueOrigins && !isa<AssumeInst>(Acc.getRemoteInst())) in getPotentialCopiesOfMemoryValue()
450 if (!Acc.isWrittenValueUnknown()) in getPotentialCopiesOfMemoryValue()
451 if (Value *V = AdjustWrittenValueType(Acc, *Acc.getWrittenValue())) in getPotentialCopiesOfMemoryValue()
453 NewCopyOrigins.insert(Acc.getRemoteInst()); in getPotentialCopiesOfMemoryValue()
456 if (auto *SI = dyn_cast<StoreInst>(Acc.getRemoteInst())) in getPotentialCopiesOfMemoryValue()
457 if (Value *V = AdjustWrittenValueType(Acc, *SI->getValueOperand())) in getPotentialCopiesOfMemoryValue()
459 NewCopyOrigins.insert(Acc.getRemoteInst()); in getPotentialCopiesOfMemoryValue()
466 auto CheckAccess = [&](const AAPointerInfo::Access &Acc, bool IsExact) { in getPotentialCopiesOfMemoryValue() argument
467 if ((IsLoad && !Acc.isWriteOrAssumption()) || (!IsLoad && !Acc.isRead())) in getPotentialCopiesOfMemoryValue()
469 if (IsLoad && Acc.isWrittenValueYetUndetermined()) in getPotentialCopiesOfMemoryValue()
471 CheckForNullOnlyAndUndef(Acc.getContent(), IsExact); in getPotentialCopiesOfMemoryValue()
473 !isa_and_nonnull<UndefValue>(Acc.getWrittenValue())) { in getPotentialCopiesOfMemoryValue()
474 LLVM_DEBUG(dbgs() << "Non exact access " << *Acc.getRemoteInst() in getPotentialCopiesOfMemoryValue()
481 << *Acc.getRemoteInst() << ", abort!\n"); in getPotentialCopiesOfMemoryValue()
486 if (!Acc.isWrittenValueUnknown()) { in getPotentialCopiesOfMemoryValue()
487 Value *V = AdjustWrittenValueType(Acc, *Acc.getWrittenValue()); in getPotentialCopiesOfMemoryValue()
492 NewCopyOrigins.insert(Acc.getRemoteInst()); in getPotentialCopiesOfMemoryValue()
495 auto *SI = dyn_cast<StoreInst>(Acc.getRemoteInst()); in getPotentialCopiesOfMemoryValue()
499 << *Acc.getRemoteInst() << "\n";); in getPotentialCopiesOfMemoryValue()
502 Value *V = AdjustWrittenValueType(Acc, *SI->getValueOperand()); in getPotentialCopiesOfMemoryValue()
510 auto *LI = dyn_cast<LoadInst>(Acc.getRemoteInst()); in getPotentialCopiesOfMemoryValue()
514 << *Acc.getRemoteInst() << "\n";); in getPotentialCopiesOfMemoryValue()
517 NewCopies.insert(Acc.getRemoteInst()); in getPotentialCopiesOfMemoryValue()
3789 const AAPointerInfo::Access &Acc) { in operator <<() argument
3790 OS << " [" << Acc.getKind() << "] " << *Acc.getRemoteInst(); in operator <<()
3791 if (Acc.getLocalInst() != Acc.getRemoteInst()) in operator <<()
3792 OS << " via " << *Acc.getLocalInst(); in operator <<()
3793 if (Acc.getContent()) { in operator <<()
3794 if (*Acc.getContent()) in operator <<()
3795 OS << " [" << **Acc.getContent() << "]"; in operator <<()