Searched refs:MRB (Results 1 – 5 of 5) sorted by relevance
348 static bool onlyReadsMemory(ModRefBehavior MRB) { in onlyReadsMemory() argument349 return !(MRB & Mod); in onlyReadsMemory()356 static bool onlyAccessesArgPointees(ModRefBehavior MRB) { in onlyAccessesArgPointees() argument357 return !(MRB & Anywhere & ~ArgumentPointees); in onlyAccessesArgPointees()364 static bool doesAccessArgPointees(ModRefBehavior MRB) { in doesAccessArgPointees() argument365 return (MRB & ModRef) && (MRB & ArgumentPointees); in doesAccessArgPointees()373 auto MRB = getModRefBehavior(CS); in getModRefInfo() local374 if (MRB & ModRef) in getModRefInfo()376 else if (MRB & Ref) in getModRefInfo()378 else if (MRB & Mod) in getModRefInfo()
52 AliasAnalysis::ModRefBehavior MRB = PA.getAA()->getModRefBehavior(CS); in CanAlterRefCount() local53 if (AliasAnalysis::onlyReadsMemory(MRB)) in CanAlterRefCount()55 if (AliasAnalysis::onlyAccessesArgPointees(MRB)) { in CanAlterRefCount()
108 ModRefBehavior MRB = getModRefBehavior(CS); in getModRefInfo() local109 if (MRB == DoesNotAccessMemory) in getModRefInfo()113 if (onlyReadsMemory(MRB)) in getModRefInfo()116 if (onlyAccessesArgPointees(MRB)) { in getModRefInfo()119 if (doesAccessArgPointees(MRB)) { in getModRefInfo()
169 AliasAnalysis::ModRefBehavior MRB = AA->getModRefBehavior(F); in AddReadAttrs() local170 if (MRB == AliasAnalysis::DoesNotAccessMemory) in AddReadAttrs()177 if (!AliasAnalysis::onlyReadsMemory(MRB)) in AddReadAttrs()196 AliasAnalysis::ModRefBehavior MRB = AA->getModRefBehavior(CS); in AddReadAttrs() local199 if (AliasAnalysis::onlyAccessesArgPointees(MRB)) { in AddReadAttrs()201 if (AliasAnalysis::doesAccessArgPointees(MRB)) in AddReadAttrs()214 if (MRB & AliasAnalysis::Mod) in AddReadAttrs()217 if (MRB & AliasAnalysis::Ref) in AddReadAttrs()226 if (MRB & AliasAnalysis::Mod) in AddReadAttrs()229 if (MRB & AliasAnalysis::Ref) in AddReadAttrs()
484 AliasAnalysis::ModRefBehavior MRB = AA->getModRefBehavior(ICS); in AddAliasScopeMetadata() local485 if (MRB == AliasAnalysis::OnlyAccessesArgumentPointees || in AddAliasScopeMetadata()486 MRB == AliasAnalysis::OnlyReadsArgumentPointees) in AddAliasScopeMetadata()