/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | CallSite.h | 214 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/ |
D | AliasAnalysis.h | 302 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/ |
D | AliasAnalysis.cpp | 84 if (onlyReadsMemory(MRB)) in getModRefInfo() 132 if (onlyReadsMemory(CS1B) && onlyReadsMemory(CS2B)) in getModRefInfo() 139 if (onlyReadsMemory(CS1B)) in getModRefInfo()
|
D | CaptureTracking.cpp | 77 if (CS.onlyReadsMemory() && CS.doesNotThrow() && I->getType()->isVoidTy()) in PointerMayBeCaptured()
|
/external/llvm/lib/Analysis/ |
D | AliasAnalysis.cpp | 144 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()
|
D | CaptureTracking.cpp | 243 if (CS.onlyReadsMemory() && CS.doesNotThrow() && I->getType()->isVoidTy()) in PointerMayBeCaptured()
|
D | GlobalsModRef.cpp | 499 } else if (F->onlyReadsMemory()) { in AnalyzeCallGraph() 859 ModRefInfo ConservativeResult = CS.onlyReadsMemory() ? MRI_Ref : MRI_ModRef; in getModRefInfoForArgument()
|
/external/llvm/lib/Transforms/IPO/ |
D | FunctionAttrs.cpp | 76 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()
|
D | IPConstantPropagation.cpp | 109 AI->hasInAllocaAttr() || (AI->hasByValAttr() && !F.onlyReadsMemory())) in PropagateConstantsIntoArguments()
|
/external/llvm/include/llvm/Analysis/ |
D | AliasAnalysis.h | 299 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
|
D | ObjCARCAnalysisUtils.h | 190 return CS.onlyReadsMemory() ? ARCInstKind::User : ARCInstKind::CallOrUser; in GetCallSiteClass() 192 return CS.onlyReadsMemory() ? ARCInstKind::None : ARCInstKind::Call; in GetCallSiteClass()
|
/external/llvm/include/llvm/IR/ |
D | CallSite.h | 417 bool onlyReadsMemory() const { in onlyReadsMemory() function 418 CALLSITE_DELEGATE_GETTER(onlyReadsMemory()); in onlyReadsMemory() 564 bool onlyReadsMemory(unsigned OpNo) const { in onlyReadsMemory() function
|
D | Argument.h | 112 bool onlyReadsMemory() const;
|
D | Function.h | 294 bool onlyReadsMemory() const { 425 bool onlyReadsMemory(unsigned n) const {
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Argument.h | 112 bool onlyReadsMemory() const;
|
D | Function.h | 317 bool onlyReadsMemory() const { in onlyReadsMemory() function 448 bool onlyReadsMemory(unsigned n) const { in onlyReadsMemory() function
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | FunctionAttrs.cpp | 112 if (!AliasAnalysis::onlyReadsMemory(MRB)) in AddReadAttrs() 207 if (F->onlyReadsMemory() && ReadsMemory) in AddReadAttrs()
|
D | IPConstantPropagation.cpp | 138 (AI->hasByValAttr() && !F.onlyReadsMemory())) in PropagateConstantsIntoArguments()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCAPElim.cpp | 81 !JCS.onlyReadsMemory() && in MayAutorelease()
|
D | DependencyAnalysis.cpp | 53 if (AliasAnalysis::onlyReadsMemory(MRB)) in CanAlterRefCount()
|
/external/llvm/lib/Transforms/Scalar/ |
D | PartiallyInlineLibCalls.cpp | 32 if (Call->onlyReadsMemory()) in optimizeSQRT()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Instruction.cpp | 345 return !cast<CallInst>(this)->onlyReadsMemory(); in mayWriteToMemory() 347 return !cast<InvokeInst>(this)->onlyReadsMemory(); in mayWriteToMemory()
|
/external/llvm/lib/IR/ |
D | Instruction.cpp | 515 return !cast<CallInst>(this)->onlyReadsMemory(); in mayWriteToMemory() 517 return !cast<InvokeInst>(this)->onlyReadsMemory(); in mayWriteToMemory()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Function.h | 228 bool onlyReadsMemory() const {
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 157 if (CI == 0 || !CI->onlyReadsMemory()) in canHandle()
|