Searched refs:onlyReadsMemory (Results 1 - 22 of 22) sorted by relevance

/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Support/
H A DCallSite.h219 bool onlyReadsMemory() const { function in class:llvm::CallSiteBase
220 CALLSITE_DELEGATE_GETTER(onlyReadsMemory());
222 void setOnlyReadsMemory(bool onlyReadsMemory = true) {
223 CALLSITE_DELEGATE_SETTER(setOnlyReadsMemory(onlyReadsMemory));
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Analysis/
H A DAliasAnalysis.h306 /// onlyReadsMemory - If the specified call is known to only read from
315 bool onlyReadsMemory(ImmutableCallSite CS) { function in class:llvm::AliasAnalysis
316 return onlyReadsMemory(getModRefBehavior(CS));
319 /// onlyReadsMemory - If the specified function is known to only read from
323 bool onlyReadsMemory(const Function *F) { function in class:llvm::AliasAnalysis
324 return onlyReadsMemory(getModRefBehavior(F));
327 /// onlyReadsMemory - Return true if functions with the specified behavior are
330 static bool onlyReadsMemory(ModRefBehavior MRB) { function in class:llvm::AliasAnalysis
/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/
H A DAliasAnalysis.cpp88 if (onlyReadsMemory(MRB))
136 if (onlyReadsMemory(CS1B) && onlyReadsMemory(CS2B))
143 if (onlyReadsMemory(CS1B))
H A DCaptureTracking.cpp108 if (CS.onlyReadsMemory() && CS.doesNotThrow() && I->getType()->isVoidTy())
H A DBasicAliasAnalysis.cpp616 if (CS.onlyReadsMemory())
641 if (F->onlyReadsMemory())
H A DMemoryDependenceAnalysis.cpp571 bool isReadOnly = AA->onlyReadsMemory(QueryCS);
654 bool isReadonlyCall = AA->onlyReadsMemory(QueryCS);
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/IPO/
H A DFunctionAttrs.cpp113 if (!AliasAnalysis::onlyReadsMemory(MRB))
208 if (F->onlyReadsMemory() && ReadsMemory)
371 if (F->onlyReadsMemory() && F->doesNotThrow() &&
H A DIPConstantPropagation.cpp138 (AI->hasByValAttr() && !F.onlyReadsMemory()))
/macosx-10.9.5/llvmCore-3425.0.33/lib/VMCore/
H A DInstruction.cpp360 return !cast<CallInst>(this)->onlyReadsMemory();
362 return !cast<InvokeInst>(this)->onlyReadsMemory();
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/
H A DFunction.h229 bool onlyReadsMemory() const { function in class:llvm::Function
H A DInstructions.h1309 bool onlyReadsMemory() const { function in class:llvm::CallInst
3062 bool onlyReadsMemory() const { function in class:llvm::InvokeInst
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/Scalar/
H A DSimplifyCFGPass.cpp165 if (II->use_empty() && II->onlyReadsMemory()) {
H A DEarlyCSE.cpp159 if (CI == 0 || !CI->onlyReadsMemory())
H A DLICM.cpp418 if (AliasAnalysis::onlyReadsMemory(Behavior)) {
H A DObjCARC.cpp201 return CS.onlyReadsMemory() ? IC_User : IC_CallOrUser;
203 return CS.onlyReadsMemory() ? IC_None : IC_Call;
964 !JCS.onlyReadsMemory() &&
1910 if (AliasAnalysis::onlyReadsMemory(MRB))
H A DSCCP.cpp1140 if (AI->hasByValAttr() && !F->onlyReadsMemory()) {
H A DGVN.cpp281 } else if (AA->onlyReadsMemory(C)) {
H A DSimplifyLibCalls.cpp1815 if (!F.onlyReadsMemory()) {
/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/IPA/
H A DGlobalsModRef.cpp397 } else if (F->onlyReadsMemory()) {
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp88 if (CS.onlyReadsMemory() &&
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/Utils/
H A DInlineFunction.cpp339 if (CalledFunc->onlyReadsMemory()) {
/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp3571 bool OnlyLoad = HasChain && I.onlyReadsMemory();
5611 !I.onlyReadsMemory())
5661 I.onlyReadsMemory()) {

Completed in 415 milliseconds