Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Analysis/
DAliasAnalysis.h348 static bool onlyReadsMemory(ModRefBehavior MRB) { in onlyReadsMemory() argument
349 return !(MRB & Mod); in onlyReadsMemory()
356 static bool onlyAccessesArgPointees(ModRefBehavior MRB) { in onlyAccessesArgPointees() argument
357 return !(MRB & Anywhere & ~ArgumentPointees); in onlyAccessesArgPointees()
364 static bool doesAccessArgPointees(ModRefBehavior MRB) { in doesAccessArgPointees() argument
365 return (MRB & ModRef) && (MRB & ArgumentPointees); in doesAccessArgPointees()
373 auto MRB = getModRefBehavior(CS); in getModRefInfo() local
374 if (MRB & ModRef) in getModRefInfo()
376 else if (MRB & Ref) in getModRefInfo()
378 else if (MRB & Mod) in getModRefInfo()
/external/llvm/lib/Transforms/ObjCARC/
DDependencyAnalysis.cpp52 AliasAnalysis::ModRefBehavior 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/Analysis/
DAliasAnalysis.cpp108 ModRefBehavior MRB = getModRefBehavior(CS); in getModRefInfo() local
109 if (MRB == DoesNotAccessMemory) in getModRefInfo()
113 if (onlyReadsMemory(MRB)) in getModRefInfo()
116 if (onlyAccessesArgPointees(MRB)) { in getModRefInfo()
119 if (doesAccessArgPointees(MRB)) { in getModRefInfo()
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp169 AliasAnalysis::ModRefBehavior MRB = AA->getModRefBehavior(F); in AddReadAttrs() local
170 if (MRB == AliasAnalysis::DoesNotAccessMemory) in AddReadAttrs()
177 if (!AliasAnalysis::onlyReadsMemory(MRB)) in AddReadAttrs()
196 AliasAnalysis::ModRefBehavior MRB = AA->getModRefBehavior(CS); in AddReadAttrs() local
199 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()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp484 AliasAnalysis::ModRefBehavior MRB = AA->getModRefBehavior(ICS); in AddAliasScopeMetadata() local
485 if (MRB == AliasAnalysis::OnlyAccessesArgumentPointees || in AddAliasScopeMetadata()
486 MRB == AliasAnalysis::OnlyReadsArgumentPointees) in AddAliasScopeMetadata()