Searched refs:MRB (Results 1 – 5 of 5) sorted by relevance
477 static bool onlyReadsMemory(FunctionModRefBehavior MRB) { in onlyReadsMemory() argument478 return !isModSet(createModRefInfo(MRB)); in onlyReadsMemory()483 static bool doesNotReadMemory(FunctionModRefBehavior MRB) { in doesNotReadMemory() argument484 return !isRefSet(createModRefInfo(MRB)); in doesNotReadMemory()490 static bool onlyAccessesArgPointees(FunctionModRefBehavior MRB) { in onlyAccessesArgPointees() argument491 return !(MRB & FMRL_Anywhere & ~FMRL_ArgumentPointees); in onlyAccessesArgPointees()497 static bool doesAccessArgPointees(FunctionModRefBehavior MRB) { in doesAccessArgPointees() argument498 return isModOrRefSet(createModRefInfo(MRB)) && in doesAccessArgPointees()499 (MRB & FMRL_ArgumentPointees); in doesAccessArgPointees()504 static bool onlyAccessesInaccessibleMem(FunctionModRefBehavior MRB) { in onlyAccessesInaccessibleMem() argument[all …]
50 FunctionModRefBehavior MRB = PA.getAA()->getModRefBehavior(Call); in CanAlterRefCount() local51 if (AliasAnalysis::onlyReadsMemory(MRB)) in CanAlterRefCount()53 if (AliasAnalysis::onlyAccessesArgPointees(MRB)) { in CanAlterRefCount()
198 auto MRB = getModRefBehavior(Call); in getModRefInfo() local199 if (MRB == FMRB_DoesNotAccessMemory || in getModRefInfo()200 MRB == FMRB_OnlyAccessesInaccessibleMem) in getModRefInfo()203 if (onlyReadsMemory(MRB)) in getModRefInfo()205 else if (doesNotReadMemory(MRB)) in getModRefInfo()208 if (onlyAccessesArgPointees(MRB) || onlyAccessesInaccessibleOrArgMem(MRB)) { in getModRefInfo()211 if (doesAccessArgPointees(MRB)) { in getModRefInfo()
112 FunctionModRefBehavior MRB = AAR.getModRefBehavior(&F); in checkFunctionMemoryAccess() local113 if (MRB == FMRB_DoesNotAccessMemory) in checkFunctionMemoryAccess()118 if (AliasAnalysis::onlyReadsMemory(MRB)) in checkFunctionMemoryAccess()121 if (AliasAnalysis::doesNotReadMemory(MRB)) in checkFunctionMemoryAccess()144 FunctionModRefBehavior MRB = AAR.getModRefBehavior(Call); in checkFunctionMemoryAccess() local145 ModRefInfo MRI = createModRefInfo(MRB); in checkFunctionMemoryAccess()151 if (!AliasAnalysis::onlyAccessesArgPointees(MRB)) { in checkFunctionMemoryAccess()
1004 FunctionModRefBehavior MRB = CalleeAAR->getModRefBehavior(Call); in AddAliasScopeMetadata() local1005 if (MRB == FMRB_OnlyAccessesArgumentPointees || in AddAliasScopeMetadata()1006 MRB == FMRB_OnlyReadsArgumentPointees) in AddAliasScopeMetadata()