/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | FunctionAttrs.cpp | 121 if (AliasAnalysis::onlyReadsMemory(MRB)) in checkFunctionMemoryAccess() 285 if (F->onlyReadsMemory() && ReadsMemory) in addReadAttrs() 512 if (CB.onlyReadsMemory()) { in determinePointerReadAttrs() 552 if (!CB.onlyReadsMemory() && !CB.onlyReadsMemory(UseIndex)) in determinePointerReadAttrs() 714 if (F->onlyReadsMemory() && F->doesNotThrow() && in addArgumentAttrs() 755 if (!HasNonLocalUses && !A->onlyReadsMemory()) { in addArgumentAttrs() 1442 if (F.mustProgress() && F.onlyReadsMemory()) in functionWillReturn()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | ObjCARCAnalysisUtils.h | 173 return CB.onlyReadsMemory() ? ARCInstKind::User : ARCInstKind::CallOrUser; in GetCallSiteClass() 175 return CB.onlyReadsMemory() ? ARCInstKind::None : ARCInstKind::Call; in GetCallSiteClass()
|
H A D | AliasAnalysis.h | 605 bool onlyReadsMemory(const CallBase *Call) { 606 return onlyReadsMemory(getModRefBehavior(Call)); 618 bool onlyReadsMemory(const Function *F) { 619 return onlyReadsMemory(getModRefBehavior(F)); 624 static bool onlyReadsMemory(FunctionModRefBehavior MRB) {
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | AliasAnalysis.cpp | 244 if (onlyReadsMemory(MRB)) in getModRefInfo() 317 if (onlyReadsMemory(Call1B) && onlyReadsMemory(Call2B)) in getModRefInfo() 322 if (onlyReadsMemory(Call1B)) in getModRefInfo() 766 if (Call->onlyReadsMemory(ArgNo)) { in callCapturesBefore()
|
H A D | CaptureTracking.cpp | 247 if (Call->onlyReadsMemory() && Call->doesNotThrow() && in PointerMayBeCaptured()
|
H A D | GlobalsModRef.cpp | 526 } else if (F->onlyReadsMemory()) { in AnalyzeCallGraph() 914 Call->onlyReadsMemory() ? ModRefInfo::Ref : ModRefInfo::ModRef; in getModRefInfoForArgument()
|
H A D | Lint.cpp | 241 if (Formal->onlyReadsMemory() && I.onlyReadsMemory(ArgNo)) in visitCallBase()
|
H A D | InlineCost.cpp | 1833 if (!Call.onlyReadsMemory()) in visitCallBase() 1850 if (!Call.onlyReadsMemory() && !isAssumeLikeIntrinsic(II)) in visitCallBase() 1890 if (!(Call.onlyReadsMemory() || (IsIndirectCall && F->onlyReadsMemory()))) in visitCallBase()
|
H A D | BasicAliasAnalysis.cpp | 677 if (Call->onlyReadsMemory()) in getModRefBehavior() 710 if (F->onlyReadsMemory()) in getModRefBehavior() 868 if (Call->onlyReadsMemory(OperandNo)) { in getModRefInfo()
|
H A D | CFLGraph.h | 451 if (!Call.onlyReadsMemory()) in visitCallBase()
|
H A D | MemoryDependenceAnalysis.cpp | 688 bool isReadOnly = AA.onlyReadsMemory(QueryCall); in getDependency() 756 bool isReadonlyCall = AA.onlyReadsMemory(QueryCall); in getNonLocalCallDependency()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | Argument.h | 141 bool onlyReadsMemory() const;
|
H A D | Function.h | 556 bool onlyReadsMemory() const { in onlyReadsMemory() function 644 return onlyReadsMemory() || hasFnAttribute(Attribute::NoFree); in doesNotFreeMemory()
|
H A D | InstrTypes.h | 1706 bool onlyReadsMemory(unsigned OpNo) const { 1793 bool onlyReadsMemory() const {
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARCAPElim.cpp | 53 if (Depth < 3 && !JCB->onlyReadsMemory() && in MayAutorelease()
|
H A D | DependencyAnalysis.cpp | 52 if (AliasAnalysis::onlyReadsMemory(MRB)) in CanAlterRefCount()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | PartiallyInlineLibCalls.cpp | 38 if (Call->onlyReadsMemory()) in optimizeSQRT()
|
H A D | GVNSink.cpp | 550 if (CI && CI->onlyReadsMemory()) in getMemoryUseOrder() 553 if (II && II->onlyReadsMemory()) in getMemoryUseOrder()
|
H A D | TailRecursionElimination.cpp | 182 if (!CB.onlyReadsMemory()) in callUsesLocalStack()
|
H A D | GVNHoist.cpp | 233 else if (Call->onlyReadsMemory()) in insert()
|
H A D | GVN.cpp | 405 } else if (MD && AA->onlyReadsMemory(C)) { in lookupOrAddCall() 1992 if (!MD || !AA->onlyReadsMemory(Call)) in areCallValsEqual()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | Instruction.cpp | 577 return !cast<CallBase>(this)->onlyReadsMemory(); in mayWriteToMemory() 673 (isa<IntrinsicInst>(CB) && CB->onlyReadsMemory()); in willReturn()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUHSAMetadataStreamer.cpp | 312 if (Arg.getType()->isPointerTy() && Arg.onlyReadsMemory() && in emitKernelArg() 706 if (Arg.getType()->isPointerTy() && Arg.onlyReadsMemory() && in emitKernelArg()
|
/netbsd-src/external/apache2/llvm/dist/llvm/docs/ |
H A D | AliasAnalysis.rst | 175 The ``doesNotAccessMemory`` and ``onlyReadsMemory`` methods 187 The ``onlyReadsMemory`` method returns true for a function if analysis can prove 193 satisfy the ``doesNotAccessMemory`` method also satisfy ``onlyReadsMemory``.
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyRegStackify.cpp | 152 if (F->onlyReadsMemory()) { in queryCallee()
|