| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | AliasAnalysis.cpp | 174 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 D | CaptureTracking.cpp | 246 if (Call->onlyReadsMemory() && Call->doesNotThrow() && in PointerMayBeCaptured()
|
| H A D | InlineCost.cpp | 1225 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 D | GlobalsModRef.cpp | 521 } else if (F->onlyReadsMemory()) { in AnalyzeCallGraph() 893 Call->onlyReadsMemory() ? ModRefInfo::Ref : ModRefInfo::ModRef; in getModRefInfoForArgument()
|
| H A D | BasicAliasAnalysis.cpp | 684 if (Call->onlyReadsMemory()) in getModRefBehavior() 717 if (F->onlyReadsMemory()) in getModRefBehavior() 893 if (Call->onlyReadsMemory(OperandNo)) { in getModRefInfo()
|
| H A D | CFLGraph.h | 444 if (!CS.onlyReadsMemory()) in visitCallSite()
|
| H A D | MemoryDependenceAnalysis.cpp | 753 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 D | ObjCARCAnalysisUtils.h | 203 return CS.onlyReadsMemory() ? ARCInstKind::User : ARCInstKind::CallOrUser; in GetCallSiteClass() 205 return CS.onlyReadsMemory() ? ARCInstKind::None : ARCInstKind::Call; in GetCallSiteClass()
|
| H A D | AliasAnalysis.h | 436 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 D | FunctionAttrs.cpp | 115 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 D | IPConstantPropagation.cpp | 109 AI->hasInAllocaAttr() || (AI->hasByValAttr() && !F.onlyReadsMemory())) in PropagateConstantsIntoArguments()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Argument.h | 98 bool onlyReadsMemory() const;
|
| H A D | CallSite.h | 454 bool onlyReadsMemory() const { in onlyReadsMemory() function 455 CALLSITE_DELEGATE_GETTER(onlyReadsMemory()); in onlyReadsMemory() 623 bool onlyReadsMemory(unsigned OpNo) const { in onlyReadsMemory() function
|
| H A D | Function.h | 468 bool onlyReadsMemory() const { in onlyReadsMemory() function
|
| H A D | InstrTypes.h | 1435 bool onlyReadsMemory(unsigned OpNo) const { 1503 bool onlyReadsMemory() const {
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCAPElim.cpp | 81 !JCS.onlyReadsMemory() && in MayAutorelease()
|
| H A D | DependencyAnalysis.cpp | 52 if (AliasAnalysis::onlyReadsMemory(MRB)) in CanAlterRefCount()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | PartiallyInlineLibCalls.cpp | 36 if (Call->onlyReadsMemory()) in optimizeSQRT()
|
| H A D | GVNSink.cpp | 546 if (CI && CI->onlyReadsMemory()) in getMemoryUseOrder() 549 if (II && II->onlyReadsMemory()) in getMemoryUseOrder()
|
| H A D | TailRecursionElimination.cpp | 180 if (!CS.onlyReadsMemory()) in callUsesLocalStack()
|
| H A D | GVNHoist.cpp | 233 else if (Call->onlyReadsMemory()) in insert()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Instruction.cpp | 539 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 D | AMDGPUHSAMetadataStreamer.cpp | 347 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 D | PPCCTRLoops.cpp | 351 if (!CI->onlyReadsMemory()) in mightUseCTR()
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyRegStackify.cpp | 156 if (F->onlyReadsMemory()) { in QueryCallee()
|