Home
last modified time | relevance | path

Searched refs:MRB (Results 1 – 4 of 4) sorted by relevance

/external/llvm/include/llvm/Analysis/
DAliasAnalysis.h313 static bool onlyReadsMemory(FunctionModRefBehavior MRB) { in onlyReadsMemory() argument
314 return !(MRB & MRI_Mod); in onlyReadsMemory()
320 static bool onlyAccessesArgPointees(FunctionModRefBehavior MRB) { in onlyAccessesArgPointees() argument
321 return !(MRB & FMRL_Anywhere & ~FMRL_ArgumentPointees); in onlyAccessesArgPointees()
327 static bool doesAccessArgPointees(FunctionModRefBehavior MRB) { in doesAccessArgPointees() argument
328 return (MRB & MRI_ModRef) && (MRB & FMRL_ArgumentPointees); in doesAccessArgPointees()
452 auto MRB = getModRefBehavior(CS); in getModRefInfo() local
453 if (MRB & MRI_ModRef) in getModRefInfo()
455 else if (MRB & MRI_Ref) in getModRefInfo()
457 else if (MRB & MRI_Mod) in getModRefInfo()
[all …]
/external/llvm/lib/Transforms/ObjCARC/
DDependencyAnalysis.cpp52 FunctionModRefBehavior MRB = PA.getAA()->getModRefBehavior(CS); in CanAlterRefCount() local
53 if (AliasAnalysis::onlyReadsMemory(MRB)) in CanAlterRefCount()
55 if (AliasAnalysis::onlyAccessesArgPointees(MRB)) { in CanAlterRefCount()
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp117 FunctionModRefBehavior MRB = AAR.getModRefBehavior(&F); in checkFunctionMemoryAccess() local
118 if (MRB == FMRB_DoesNotAccessMemory) in checkFunctionMemoryAccess()
125 if (AliasAnalysis::onlyReadsMemory(MRB)) in checkFunctionMemoryAccess()
144 FunctionModRefBehavior MRB = AAR.getModRefBehavior(CS); in checkFunctionMemoryAccess() local
147 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()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp587 FunctionModRefBehavior MRB = CalleeAAR->getModRefBehavior(ICS); in AddAliasScopeMetadata() local
588 if (MRB == FMRB_OnlyAccessesArgumentPointees || in AddAliasScopeMetadata()
589 MRB == FMRB_OnlyReadsArgumentPointees) in AddAliasScopeMetadata()