Searched refs:onlyReadsMemory (Results 1 – 23 of 23) sorted by relevance
219 bool onlyReadsMemory() const { in onlyReadsMemory() function220 CALLSITE_DELEGATE_GETTER(onlyReadsMemory()); in onlyReadsMemory()222 void setOnlyReadsMemory(bool onlyReadsMemory = true) {223 CALLSITE_DELEGATE_SETTER(setOnlyReadsMemory(onlyReadsMemory));
315 bool onlyReadsMemory(ImmutableCallSite CS) { in onlyReadsMemory() function316 return onlyReadsMemory(getModRefBehavior(CS)); in onlyReadsMemory()323 bool onlyReadsMemory(const Function *F) { in onlyReadsMemory() function324 return onlyReadsMemory(getModRefBehavior(F)); in onlyReadsMemory()330 static bool onlyReadsMemory(ModRefBehavior MRB) { in onlyReadsMemory() function
88 if (onlyReadsMemory(MRB)) in getModRefInfo()136 if (onlyReadsMemory(CS1B) && onlyReadsMemory(CS2B)) in getModRefInfo()143 if (onlyReadsMemory(CS1B)) in getModRefInfo()
108 if (CS.onlyReadsMemory() && CS.doesNotThrow() && I->getType()->isVoidTy()) in PointerMayBeCaptured()
616 if (CS.onlyReadsMemory()) in getModRefBehavior()641 if (F->onlyReadsMemory()) in getModRefBehavior()
571 bool isReadOnly = AA->onlyReadsMemory(QueryCS); in getDependency()654 bool isReadonlyCall = AA->onlyReadsMemory(QueryCS); in getNonLocalCallDependency()
113 if (!AliasAnalysis::onlyReadsMemory(MRB)) in AddReadAttrs()208 if (F->onlyReadsMemory() && ReadsMemory) in AddReadAttrs()371 if (F->onlyReadsMemory() && F->doesNotThrow() && in AddNoCaptureAttrs()
138 (AI->hasByValAttr() && !F.onlyReadsMemory())) in PropagateConstantsIntoArguments()
360 return !cast<CallInst>(this)->onlyReadsMemory(); in mayWriteToMemory()362 return !cast<InvokeInst>(this)->onlyReadsMemory(); in mayWriteToMemory()
224 bool onlyReadsMemory() const {
1309 bool onlyReadsMemory() const {3062 bool onlyReadsMemory() const {
165 if (II->use_empty() && II->onlyReadsMemory()) { in markAliveBlocks()
159 if (CI == 0 || !CI->onlyReadsMemory()) in canHandle()
418 if (AliasAnalysis::onlyReadsMemory(Behavior)) { in canSinkOrHoistInst()
200 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()
1140 if (AI->hasByValAttr() && !F->onlyReadsMemory()) { in visitCallSite()
281 } else if (AA->onlyReadsMemory(C)) { in lookup_or_add_call()
1815 if (!F.onlyReadsMemory()) { in setOnlyReadsMemory()
397 } else if (F->onlyReadsMemory()) { in AnalyzeCallGraph()
177 The ``doesNotAccessMemory`` and ``onlyReadsMemory`` methods189 The ``onlyReadsMemory`` method returns true for a function if analysis can prove195 satisfy the ``doesNotAccessMemory`` method also satisfies ``onlyReadsMemory``.
339 if (CalledFunc->onlyReadsMemory()) { in HandleByValArgument()
88 if (CS.onlyReadsMemory() && in isOnlyCopiedFromConstantGlobal()
3548 bool OnlyLoad = HasChain && I.onlyReadsMemory(); in visitTargetIntrinsic()5588 !I.onlyReadsMemory()) in visitUnaryFloatCall()5638 I.onlyReadsMemory()) { in visitCall()