Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/LLVM/include/llvm/Support/
DCallSite.h214 bool onlyReadsMemory() const { in onlyReadsMemory() function
215 CALLSITE_DELEGATE_GETTER(onlyReadsMemory()); in onlyReadsMemory()
217 void setOnlyReadsMemory(bool onlyReadsMemory = true) {
218 CALLSITE_DELEGATE_SETTER(setOnlyReadsMemory(onlyReadsMemory));
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DAliasAnalysis.h302 bool onlyReadsMemory(ImmutableCallSite CS) { in onlyReadsMemory() function
303 return onlyReadsMemory(getModRefBehavior(CS)); in onlyReadsMemory()
310 bool onlyReadsMemory(const Function *F) { in onlyReadsMemory() function
311 return onlyReadsMemory(getModRefBehavior(F)); in onlyReadsMemory()
317 static bool onlyReadsMemory(ModRefBehavior MRB) { in onlyReadsMemory() function
/external/swiftshader/third_party/LLVM/lib/Analysis/
DAliasAnalysis.cpp84 if (onlyReadsMemory(MRB)) in getModRefInfo()
132 if (onlyReadsMemory(CS1B) && onlyReadsMemory(CS2B)) in getModRefInfo()
139 if (onlyReadsMemory(CS1B)) in getModRefInfo()
DCaptureTracking.cpp77 if (CS.onlyReadsMemory() && CS.doesNotThrow() && I->getType()->isVoidTy()) in PointerMayBeCaptured()
/external/llvm/lib/Analysis/
DAliasAnalysis.cpp144 if (onlyReadsMemory(MRB)) in getModRefInfo()
206 if (onlyReadsMemory(CS1B) && onlyReadsMemory(CS2B)) in getModRefInfo()
211 if (onlyReadsMemory(CS1B)) in getModRefInfo()
470 if (CS.onlyReadsMemory(ArgNo)) { in callCapturesBefore()
DCaptureTracking.cpp243 if (CS.onlyReadsMemory() && CS.doesNotThrow() && I->getType()->isVoidTy()) in PointerMayBeCaptured()
DGlobalsModRef.cpp499 } else if (F->onlyReadsMemory()) { in AnalyzeCallGraph()
859 ModRefInfo ConservativeResult = CS.onlyReadsMemory() ? MRI_Ref : MRI_ModRef; in getModRefInfoForArgument()
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp76 if (AliasAnalysis::onlyReadsMemory(MRB)) in checkFunctionMemoryAccess()
204 if (F->onlyReadsMemory() && ReadsMemory) in addReadAttrs()
415 if (CS.onlyReadsMemory()) { in determinePointerReadAttrs()
455 if (!CS.onlyReadsMemory() && !CS.onlyReadsMemory(UseIndex)) in determinePointerReadAttrs()
506 if (F->onlyReadsMemory() && F->doesNotThrow() && in addArgumentAttrs()
548 if (!HasNonLocalUses && !A->onlyReadsMemory()) { in addArgumentAttrs()
DIPConstantPropagation.cpp109 AI->hasInAllocaAttr() || (AI->hasByValAttr() && !F.onlyReadsMemory())) in PropagateConstantsIntoArguments()
/external/llvm/include/llvm/Analysis/
DAliasAnalysis.h299 bool onlyReadsMemory(ImmutableCallSite CS) { in onlyReadsMemory() function
300 return onlyReadsMemory(getModRefBehavior(CS)); in onlyReadsMemory()
312 bool onlyReadsMemory(const Function *F) { in onlyReadsMemory() function
313 return onlyReadsMemory(getModRefBehavior(F)); in onlyReadsMemory()
318 static bool onlyReadsMemory(FunctionModRefBehavior MRB) { in onlyReadsMemory() function
DObjCARCAnalysisUtils.h190 return CS.onlyReadsMemory() ? ARCInstKind::User : ARCInstKind::CallOrUser; in GetCallSiteClass()
192 return CS.onlyReadsMemory() ? ARCInstKind::None : ARCInstKind::Call; in GetCallSiteClass()
/external/llvm/include/llvm/IR/
DCallSite.h417 bool onlyReadsMemory() const { in onlyReadsMemory() function
418 CALLSITE_DELEGATE_GETTER(onlyReadsMemory()); in onlyReadsMemory()
564 bool onlyReadsMemory(unsigned OpNo) const { in onlyReadsMemory() function
DArgument.h112 bool onlyReadsMemory() const;
DFunction.h294 bool onlyReadsMemory() const {
425 bool onlyReadsMemory(unsigned n) const {
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DArgument.h112 bool onlyReadsMemory() const;
DFunction.h317 bool onlyReadsMemory() const { in onlyReadsMemory() function
448 bool onlyReadsMemory(unsigned n) const { in onlyReadsMemory() function
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DFunctionAttrs.cpp112 if (!AliasAnalysis::onlyReadsMemory(MRB)) in AddReadAttrs()
207 if (F->onlyReadsMemory() && ReadsMemory) in AddReadAttrs()
DIPConstantPropagation.cpp138 (AI->hasByValAttr() && !F.onlyReadsMemory())) in PropagateConstantsIntoArguments()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCAPElim.cpp81 !JCS.onlyReadsMemory() && in MayAutorelease()
DDependencyAnalysis.cpp53 if (AliasAnalysis::onlyReadsMemory(MRB)) in CanAlterRefCount()
/external/llvm/lib/Transforms/Scalar/
DPartiallyInlineLibCalls.cpp32 if (Call->onlyReadsMemory()) in optimizeSQRT()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstruction.cpp345 return !cast<CallInst>(this)->onlyReadsMemory(); in mayWriteToMemory()
347 return !cast<InvokeInst>(this)->onlyReadsMemory(); in mayWriteToMemory()
/external/llvm/lib/IR/
DInstruction.cpp515 return !cast<CallInst>(this)->onlyReadsMemory(); in mayWriteToMemory()
517 return !cast<InvokeInst>(this)->onlyReadsMemory(); in mayWriteToMemory()
/external/swiftshader/third_party/LLVM/include/llvm/
DFunction.h228 bool onlyReadsMemory() const {
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DEarlyCSE.cpp157 if (CI == 0 || !CI->onlyReadsMemory()) in canHandle()

123