Home
last modified time | relevance | path

Searched refs:onlyReadsMemory (Results 1 – 23 of 23) sorted by relevance

/external/llvm/include/llvm/Support/
DCallSite.h219 bool onlyReadsMemory() const { in onlyReadsMemory() function
220 CALLSITE_DELEGATE_GETTER(onlyReadsMemory()); in onlyReadsMemory()
222 void setOnlyReadsMemory(bool onlyReadsMemory = true) {
223 CALLSITE_DELEGATE_SETTER(setOnlyReadsMemory(onlyReadsMemory));
/external/llvm/include/llvm/Analysis/
DAliasAnalysis.h315 bool onlyReadsMemory(ImmutableCallSite CS) { in onlyReadsMemory() function
316 return onlyReadsMemory(getModRefBehavior(CS)); in onlyReadsMemory()
323 bool onlyReadsMemory(const Function *F) { in onlyReadsMemory() function
324 return onlyReadsMemory(getModRefBehavior(F)); in onlyReadsMemory()
330 static bool onlyReadsMemory(ModRefBehavior MRB) { in onlyReadsMemory() function
/external/llvm/lib/Analysis/
DAliasAnalysis.cpp88 if (onlyReadsMemory(MRB)) in getModRefInfo()
136 if (onlyReadsMemory(CS1B) && onlyReadsMemory(CS2B)) in getModRefInfo()
143 if (onlyReadsMemory(CS1B)) in getModRefInfo()
DCaptureTracking.cpp108 if (CS.onlyReadsMemory() && CS.doesNotThrow() && I->getType()->isVoidTy()) in PointerMayBeCaptured()
DBasicAliasAnalysis.cpp616 if (CS.onlyReadsMemory()) in getModRefBehavior()
641 if (F->onlyReadsMemory()) in getModRefBehavior()
DMemoryDependenceAnalysis.cpp571 bool isReadOnly = AA->onlyReadsMemory(QueryCS); in getDependency()
654 bool isReadonlyCall = AA->onlyReadsMemory(QueryCS); in getNonLocalCallDependency()
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp113 if (!AliasAnalysis::onlyReadsMemory(MRB)) in AddReadAttrs()
208 if (F->onlyReadsMemory() && ReadsMemory) in AddReadAttrs()
371 if (F->onlyReadsMemory() && F->doesNotThrow() && in AddNoCaptureAttrs()
DIPConstantPropagation.cpp138 (AI->hasByValAttr() && !F.onlyReadsMemory())) in PropagateConstantsIntoArguments()
/external/llvm/lib/VMCore/
DInstruction.cpp360 return !cast<CallInst>(this)->onlyReadsMemory(); in mayWriteToMemory()
362 return !cast<InvokeInst>(this)->onlyReadsMemory(); in mayWriteToMemory()
/external/llvm/include/llvm/
DFunction.h224 bool onlyReadsMemory() const {
DInstructions.h1309 bool onlyReadsMemory() const {
3062 bool onlyReadsMemory() const {
/external/llvm/lib/Transforms/Scalar/
DSimplifyCFGPass.cpp165 if (II->use_empty() && II->onlyReadsMemory()) { in markAliveBlocks()
DEarlyCSE.cpp159 if (CI == 0 || !CI->onlyReadsMemory()) in canHandle()
DLICM.cpp418 if (AliasAnalysis::onlyReadsMemory(Behavior)) { in canSinkOrHoistInst()
DObjCARC.cpp200 return CS.onlyReadsMemory() ? IC_User : IC_CallOrUser; in GetCallSiteClass()
202 return CS.onlyReadsMemory() ? IC_None : IC_Call; in GetCallSiteClass()
963 !JCS.onlyReadsMemory() && in MayAutorelease()
1898 if (AliasAnalysis::onlyReadsMemory(MRB)) in CanAlterRefCount()
DSCCP.cpp1140 if (AI->hasByValAttr() && !F->onlyReadsMemory()) { in visitCallSite()
DGVN.cpp281 } else if (AA->onlyReadsMemory(C)) { in lookup_or_add_call()
DSimplifyLibCalls.cpp1815 if (!F.onlyReadsMemory()) { in setOnlyReadsMemory()
/external/llvm/lib/Analysis/IPA/
DGlobalsModRef.cpp397 } else if (F->onlyReadsMemory()) { in AnalyzeCallGraph()
/external/llvm/docs/
DAliasAnalysis.rst177 The ``doesNotAccessMemory`` and ``onlyReadsMemory`` methods
189 The ``onlyReadsMemory`` method returns true for a function if analysis can prove
195 satisfy the ``doesNotAccessMemory`` method also satisfies ``onlyReadsMemory``.
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp339 if (CalledFunc->onlyReadsMemory()) { in HandleByValArgument()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp88 if (CS.onlyReadsMemory() && in isOnlyCopiedFromConstantGlobal()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp3548 bool OnlyLoad = HasChain && I.onlyReadsMemory(); in visitTargetIntrinsic()
5588 !I.onlyReadsMemory()) in visitUnaryFloatCall()
5638 I.onlyReadsMemory()) { in visitCall()