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

12

/external/llvm/include/llvm/IR/
H A DArgument.h96 bool onlyReadsMemory() const;
H A DCallSite.h243 bool onlyReadsMemory() const { function in class:llvm::CallSiteBase
244 CALLSITE_DELEGATE_GETTER(onlyReadsMemory());
300 bool onlyReadsMemory(unsigned ArgNo) const { function in class:llvm::CallSiteBase
H A DFunction.h246 bool onlyReadsMemory() const { function in class:llvm::Function
329 bool onlyReadsMemory(unsigned n) const { function in class:llvm::Function
/external/llvm/include/llvm/Analysis/
H A DAliasAnalysis.h314 /// onlyReadsMemory - If the specified call is known to only read from
323 bool onlyReadsMemory(ImmutableCallSite CS) { function in class:llvm::AliasAnalysis
324 return onlyReadsMemory(getModRefBehavior(CS));
327 /// onlyReadsMemory - If the specified function is known to only read from
331 bool onlyReadsMemory(const Function *F) { function in class:llvm::AliasAnalysis
332 return onlyReadsMemory(getModRefBehavior(F));
335 /// onlyReadsMemory - Return true if functions with the specified behavior are
338 static bool onlyReadsMemory(ModRefBehavior MRB) { function in class:llvm::AliasAnalysis
/external/llvm/lib/Analysis/
H A DAliasAnalysis.cpp96 if (onlyReadsMemory(MRB))
148 if (onlyReadsMemory(CS1B) && onlyReadsMemory(CS2B))
155 if (onlyReadsMemory(CS1B))
477 if (CS.onlyReadsMemory(ArgNo)) {
H A DCaptureTracking.cpp111 if (CS.onlyReadsMemory() && CS.doesNotThrow() && I->getType()->isVoidTy())
H A DBasicAliasAnalysis.cpp686 if (CS.onlyReadsMemory())
711 if (F->onlyReadsMemory())
H A DMemoryDependenceAnalysis.cpp592 bool isReadOnly = AA->onlyReadsMemory(QueryCS);
675 bool isReadonlyCall = AA->onlyReadsMemory(QueryCS);
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAPElim.cpp84 !JCS.onlyReadsMemory() &&
H A DObjCARC.h353 return CS.onlyReadsMemory() ? IC_User : IC_CallOrUser;
355 return CS.onlyReadsMemory() ? IC_None : IC_Call;
H A DDependencyAnalysis.cpp54 if (AliasAnalysis::onlyReadsMemory(MRB))
/external/llvm/lib/Transforms/Scalar/
H A DPartiallyInlineLibCalls.cpp108 if (Call->onlyReadsMemory())
H A DEarlyCSE.cpp211 if (!CI || !CI->onlyReadsMemory())
H A DTailRecursionElimination.cpp240 if (!CS.onlyReadsMemory())
H A DLICM.cpp462 if (AliasAnalysis::onlyReadsMemory(Behavior)) {
/external/llvm/include/llvm/Transforms/Utils/
H A DVectorUtils.h77 !I.onlyReadsMemory())
90 !I.onlyReadsMemory())
/external/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp81 if (!F.onlyReadsMemory()) {
102 if (!F.onlyReadsMemory(n)) {
176 if (!AliasAnalysis::onlyReadsMemory(MRB))
271 if (F->onlyReadsMemory() && ReadsMemory)
472 if (CS.onlyReadsMemory()) {
492 if (!CS.onlyReadsMemory() && !CS.onlyReadsMemory(A - B))
553 if (F->onlyReadsMemory() && F->doesNotThrow() &&
594 if (!HasNonLocalUses && !A->onlyReadsMemory()) {
H A DIPConstantPropagation.cpp139 AI->hasInAllocaAttr() || (AI->hasByValAttr() && !F.onlyReadsMemory()))
/external/llvm/lib/IR/
H A DInstruction.cpp433 return !cast<CallInst>(this)->onlyReadsMemory();
435 return !cast<InvokeInst>(this)->onlyReadsMemory();
H A DFunction.cpp159 bool Argument::onlyReadsMemory() const { function in class:Argument
/external/llvm/lib/Analysis/IPA/
H A DGlobalsModRef.cpp391 } else if (F->onlyReadsMemory()) {
/external/llvm/lib/Target/PowerPC/
H A DPPCCTRLoops.cpp290 if (!CI->onlyReadsMemory())
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp99 if (CS.onlyReadsMemory() &&
/external/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp369 if (CalledFunc->onlyReadsMemory()) {
/external/llvm/unittests/IR/
H A DInstructionsTest.cpp515 EXPECT_TRUE(Clone->onlyReadsMemory());

Completed in 4483 milliseconds

12