Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DAliasAnalysis.h477 static bool onlyReadsMemory(FunctionModRefBehavior MRB) { in onlyReadsMemory() argument
478 return !isModSet(createModRefInfo(MRB)); in onlyReadsMemory()
483 static bool doesNotReadMemory(FunctionModRefBehavior MRB) { in doesNotReadMemory() argument
484 return !isRefSet(createModRefInfo(MRB)); in doesNotReadMemory()
490 static bool onlyAccessesArgPointees(FunctionModRefBehavior MRB) { in onlyAccessesArgPointees() argument
491 return !(MRB & FMRL_Anywhere & ~FMRL_ArgumentPointees); in onlyAccessesArgPointees()
497 static bool doesAccessArgPointees(FunctionModRefBehavior MRB) { in doesAccessArgPointees() argument
498 return isModOrRefSet(createModRefInfo(MRB)) && in doesAccessArgPointees()
499 (MRB & FMRL_ArgumentPointees); in doesAccessArgPointees()
504 static bool onlyAccessesInaccessibleMem(FunctionModRefBehavior MRB) { in onlyAccessesInaccessibleMem() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DDependencyAnalysis.cpp50 FunctionModRefBehavior MRB = PA.getAA()->getModRefBehavior(Call); in CanAlterRefCount() local
51 if (AliasAnalysis::onlyReadsMemory(MRB)) in CanAlterRefCount()
53 if (AliasAnalysis::onlyAccessesArgPointees(MRB)) { in CanAlterRefCount()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DAliasAnalysis.cpp198 auto MRB = getModRefBehavior(Call); in getModRefInfo() local
199 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp112 FunctionModRefBehavior MRB = AAR.getModRefBehavior(&F); in checkFunctionMemoryAccess() local
113 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() local
145 ModRefInfo MRI = createModRefInfo(MRB); in checkFunctionMemoryAccess()
151 if (!AliasAnalysis::onlyAccessesArgPointees(MRB)) { in checkFunctionMemoryAccess()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1004 FunctionModRefBehavior MRB = CalleeAAR->getModRefBehavior(Call); in AddAliasScopeMetadata() local
1005 if (MRB == FMRB_OnlyAccessesArgumentPointees || in AddAliasScopeMetadata()
1006 MRB == FMRB_OnlyReadsArgumentPointees) in AddAliasScopeMetadata()