Searched refs:MRB (Results 1 – 4 of 4) sorted by relevance
313 static bool onlyReadsMemory(FunctionModRefBehavior MRB) { in onlyReadsMemory() argument314 return !(MRB & MRI_Mod); in onlyReadsMemory()320 static bool onlyAccessesArgPointees(FunctionModRefBehavior MRB) { in onlyAccessesArgPointees() argument321 return !(MRB & FMRL_Anywhere & ~FMRL_ArgumentPointees); in onlyAccessesArgPointees()327 static bool doesAccessArgPointees(FunctionModRefBehavior MRB) { in doesAccessArgPointees() argument328 return (MRB & MRI_ModRef) && (MRB & FMRL_ArgumentPointees); in doesAccessArgPointees()452 auto MRB = getModRefBehavior(CS); in getModRefInfo() local453 if (MRB & MRI_ModRef) in getModRefInfo()455 else if (MRB & MRI_Ref) in getModRefInfo()457 else if (MRB & MRI_Mod) in getModRefInfo()[all …]
52 FunctionModRefBehavior MRB = PA.getAA()->getModRefBehavior(CS); in CanAlterRefCount() local53 if (AliasAnalysis::onlyReadsMemory(MRB)) in CanAlterRefCount()55 if (AliasAnalysis::onlyAccessesArgPointees(MRB)) { in CanAlterRefCount()
117 FunctionModRefBehavior MRB = AAR.getModRefBehavior(&F); in checkFunctionMemoryAccess() local118 if (MRB == FMRB_DoesNotAccessMemory) in checkFunctionMemoryAccess()125 if (AliasAnalysis::onlyReadsMemory(MRB)) in checkFunctionMemoryAccess()144 FunctionModRefBehavior MRB = AAR.getModRefBehavior(CS); in checkFunctionMemoryAccess() local147 if (!(MRB & MRI_ModRef)) in checkFunctionMemoryAccess()150 if (!AliasAnalysis::onlyAccessesArgPointees(MRB)) { in checkFunctionMemoryAccess()152 if (MRB & MRI_Mod) in checkFunctionMemoryAccess()155 if (MRB & MRI_Ref) in checkFunctionMemoryAccess()177 if (MRB & MRI_Mod) in checkFunctionMemoryAccess()180 if (MRB & MRI_Ref) in checkFunctionMemoryAccess()
587 FunctionModRefBehavior MRB = CalleeAAR->getModRefBehavior(ICS); in AddAliasScopeMetadata() local588 if (MRB == FMRB_OnlyAccessesArgumentPointees || in AddAliasScopeMetadata()589 MRB == FMRB_OnlyReadsArgumentPointees) in AddAliasScopeMetadata()