Lines Matching defs:Loc

151 ModRefInfo AAResults::getModRefInfoMask(const MemoryLocation &Loc,
154 return getModRefInfoMask(Loc, AAQIP, IgnoreLocals);
157 ModRefInfo AAResults::getModRefInfoMask(const MemoryLocation &Loc,
162 Result &= AA->getModRefInfoMask(Loc, AAQI, IgnoreLocals);
214 const MemoryLocation &Loc,
219 Result &= AA->getModRefInfo(Call, Loc, AAQI);
249 AliasResult ArgAlias = alias(ArgLoc, Loc, AAQI, Call);
258 // Apply the ModRef mask. This ensures that if Loc is a constant memory
262 Result &= getModRefInfoMask(Loc);
447 for (IRMemLocation Loc : MemoryEffects::locations()) {
448 switch (Loc) {
459 OS << ME.getModRef(Loc) << ", ";
469 const MemoryLocation &Loc,
477 if (Loc.Ptr) {
478 AliasResult AR = alias(MemoryLocation::get(L), Loc, AAQI, L);
487 const MemoryLocation &Loc,
493 if (Loc.Ptr) {
494 AliasResult AR = alias(MemoryLocation::get(S), Loc, AAQI, S);
501 // This ensures that if Loc is a constant memory location, we take into
504 if (!isModSet(getModRefInfoMask(Loc)))
513 const MemoryLocation &Loc,
516 // mask: if Loc is a constant memory location, the fence definitely could
518 if (Loc.Ptr)
519 return getModRefInfoMask(Loc);
524 const MemoryLocation &Loc,
526 if (Loc.Ptr) {
527 AliasResult AR = alias(MemoryLocation::get(V), Loc, AAQI, V);
535 return getModRefInfoMask(Loc, AAQI);
543 const MemoryLocation &Loc,
545 if (Loc.Ptr) {
548 return getModRefInfoMask(Loc, AAQI);
556 const MemoryLocation &Loc,
558 if (Loc.Ptr) {
561 return getModRefInfoMask(Loc, AAQI);
569 const MemoryLocation &Loc,
575 if (Loc.Ptr) {
576 AliasResult AR = alias(MemoryLocation::get(CX), Loc, AAQI, CX);
587 const MemoryLocation &Loc,
593 if (Loc.Ptr) {
594 AliasResult AR = alias(MemoryLocation::get(RMW), Loc, AAQI, RMW);
612 const MemoryLocation &Loc = OptLoc.value_or(MemoryLocation());
616 return getModRefInfo((const VAArgInst *)I, Loc, AAQIP);
618 return getModRefInfo((const LoadInst *)I, Loc, AAQIP);
620 return getModRefInfo((const StoreInst *)I, Loc, AAQIP);
622 return getModRefInfo((const FenceInst *)I, Loc, AAQIP);
624 return getModRefInfo((const AtomicCmpXchgInst *)I, Loc, AAQIP);
626 return getModRefInfo((const AtomicRMWInst *)I, Loc, AAQIP);
630 return getModRefInfo((const CallBase *)I, Loc, AAQIP);
632 return getModRefInfo((const CatchPadInst *)I, Loc, AAQIP);
634 return getModRefInfo((const CatchReturnInst *)I, Loc, AAQIP);
703 /// specified basic block to modify the location Loc.
706 const MemoryLocation &Loc) {
707 return canInstructionRangeModRef(BB.front(), BB.back(), Loc, ModRefInfo::Mod);
712 /// mode) the location Loc. The instructions to consider are all
717 const MemoryLocation &Loc,
726 if (isModOrRefSet(getModRefInfo(&*I, Loc) & Mode))