Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DAliasAnalysis.cpp174 if (onlyReadsMemory(MRB)) in getModRefInfo()
241 if (onlyReadsMemory(Call1B) && onlyReadsMemory(Call2B)) in getModRefInfo()
246 if (onlyReadsMemory(Call1B)) in getModRefInfo()
599 if (Call->onlyReadsMemory(ArgNo)) { in callCapturesBefore()
H A DCaptureTracking.cpp246 if (Call->onlyReadsMemory() && Call->doesNotThrow() && in PointerMayBeCaptured()
H A DInlineCost.cpp1225 if (!CS.onlyReadsMemory() && !isAssumeLikeIntrinsic(II)) in visitCallSite()
1268 if (!CS.onlyReadsMemory()) in visitCallSite()
1285 if (!CS.onlyReadsMemory()) in visitCallSite()
1305 if (!F->onlyReadsMemory()) in visitCallSite()
H A DGlobalsModRef.cpp521 } else if (F->onlyReadsMemory()) { in AnalyzeCallGraph()
893 Call->onlyReadsMemory() ? ModRefInfo::Ref : ModRefInfo::ModRef; in getModRefInfoForArgument()
H A DBasicAliasAnalysis.cpp684 if (Call->onlyReadsMemory()) in getModRefBehavior()
717 if (F->onlyReadsMemory()) in getModRefBehavior()
893 if (Call->onlyReadsMemory(OperandNo)) { in getModRefInfo()
H A DCFLGraph.h444 if (!CS.onlyReadsMemory()) in visitCallSite()
H A DMemoryDependenceAnalysis.cpp753 bool isReadOnly = AA.onlyReadsMemory(QueryCall); in getDependency()
822 bool isReadonlyCall = AA.onlyReadsMemory(QueryCall); in getNonLocalCallDependency()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DObjCARCAnalysisUtils.h203 return CS.onlyReadsMemory() ? ARCInstKind::User : ARCInstKind::CallOrUser; in GetCallSiteClass()
205 return CS.onlyReadsMemory() ? ARCInstKind::None : ARCInstKind::Call; in GetCallSiteClass()
H A DAliasAnalysis.h436 bool onlyReadsMemory(const CallBase *Call) { in onlyReadsMemory() function
437 return onlyReadsMemory(getModRefBehavior(Call)); in onlyReadsMemory()
449 bool onlyReadsMemory(const Function *F) { in onlyReadsMemory() function
450 return onlyReadsMemory(getModRefBehavior(F)); in onlyReadsMemory()
455 static bool onlyReadsMemory(FunctionModRefBehavior MRB) { in onlyReadsMemory() function
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp115 if (AliasAnalysis::onlyReadsMemory(MRB)) in checkFunctionMemoryAccess()
270 if (F->onlyReadsMemory() && ReadsMemory) in addReadAttrs()
495 if (CS.onlyReadsMemory()) { in determinePointerReadAttrs()
535 if (!CS.onlyReadsMemory() && !CS.onlyReadsMemory(UseIndex)) in determinePointerReadAttrs()
678 if (F->onlyReadsMemory() && F->doesNotThrow() && in addArgumentAttrs()
719 if (!HasNonLocalUses && !A->onlyReadsMemory()) { in addArgumentAttrs()
H A DIPConstantPropagation.cpp109 AI->hasInAllocaAttr() || (AI->hasByValAttr() && !F.onlyReadsMemory())) in PropagateConstantsIntoArguments()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DArgument.h98 bool onlyReadsMemory() const;
H A DCallSite.h454 bool onlyReadsMemory() const { in onlyReadsMemory() function
455 CALLSITE_DELEGATE_GETTER(onlyReadsMemory()); in onlyReadsMemory()
623 bool onlyReadsMemory(unsigned OpNo) const { in onlyReadsMemory() function
H A DFunction.h468 bool onlyReadsMemory() const { in onlyReadsMemory() function
H A DInstrTypes.h1435 bool onlyReadsMemory(unsigned OpNo) const {
1503 bool onlyReadsMemory() const {
/freebsd-12.1/contrib/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAPElim.cpp81 !JCS.onlyReadsMemory() && in MayAutorelease()
H A DDependencyAnalysis.cpp52 if (AliasAnalysis::onlyReadsMemory(MRB)) in CanAlterRefCount()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DPartiallyInlineLibCalls.cpp36 if (Call->onlyReadsMemory()) in optimizeSQRT()
H A DGVNSink.cpp546 if (CI && CI->onlyReadsMemory()) in getMemoryUseOrder()
549 if (II && II->onlyReadsMemory()) in getMemoryUseOrder()
H A DTailRecursionElimination.cpp180 if (!CS.onlyReadsMemory()) in callUsesLocalStack()
H A DGVNHoist.cpp233 else if (Call->onlyReadsMemory()) in insert()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DInstruction.cpp539 return !cast<CallInst>(this)->onlyReadsMemory(); in mayWriteToMemory()
541 return !cast<InvokeInst>(this)->onlyReadsMemory(); in mayWriteToMemory()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUHSAMetadataStreamer.cpp347 if (Arg.getType()->isPointerTy() && Arg.onlyReadsMemory() && in emitKernelArg()
791 if (Arg.getType()->isPointerTy() && Arg.onlyReadsMemory() && in emitKernelArg()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCCTRLoops.cpp351 if (!CI->onlyReadsMemory()) in mightUseCTR()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp156 if (F->onlyReadsMemory()) { in QueryCallee()

12