Home
last modified time | relevance | path

Searched refs:AAR (Results 1 – 7 of 7) sorted by relevance

/external/llvm/include/llvm/Analysis/
DAliasAnalysis.h656 explicit Model(AAResultT &Result, AAResults &AAR) : Result(Result) { in Model() argument
657 Result.setAAResults(&AAR); in Model()
717 AAResults *AAR; variable
724 void setAAResults(AAResults *NewAAR) { AAR = NewAAR; } in setAAResults()
731 AAResults *AAR; variable
735 AAResultsProxy(AAResults *AAR, DerivedT &CurrentResult) in AAResultsProxy() argument
736 : AAR(AAR), CurrentResult(CurrentResult) {} in AAResultsProxy()
739 return AAR ? AAR->alias(LocA, LocB) : CurrentResult.alias(LocA, LocB); in alias()
743 return AAR ? AAR->pointsToConstantMemory(Loc, OrLocal) in pointsToConstantMemory()
748 return AAR ? AAR->getArgModRefInfo(CS, ArgIdx) : CurrentResult.getArgModRefInfo(CS, ArgIdx); in getArgModRefInfo()
[all …]
/external/llvm/lib/Analysis/
DAliasAnalysis.cpp586 AAR.reset( in runOnFunction()
594 AAR->addAAResult(getAnalysis<BasicAAWrapperPass>().getResult()); in runOnFunction()
598 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
600 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
603 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
605 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
607 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
609 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
611 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
617 WrapperPass->CB(*this, F, *AAR); in runOnFunction()
[all …]
/external/llvm/unittests/Analysis/
DAliasAnalysisTest.cpp149 std::unique_ptr<AAResults> AAR; member in __anon1431a3ee0411::AliasAnalysisTest
155 AAR.reset(new AAResults(TLI)); in getAAResults()
160 AAR->addAAResult(*BAR); in getAAResults()
162 return *AAR; in getAAResults()
236 PM.add(createExternalAAWrapperPass([](Pass &P, Function &, AAResults &AAR) { in TEST_F() argument
238 AAR.addAAResult(WrapperPass->getResult()); in TEST_F()
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp65 static MemoryAccessKind checkFunctionMemoryAccess(Function &F, AAResults &AAR, in checkFunctionMemoryAccess() argument
67 FunctionModRefBehavior MRB = AAR.getModRefBehavior(&F); in checkFunctionMemoryAccess()
99 FunctionModRefBehavior MRB = AAR.getModRefBehavior(CS); in checkFunctionMemoryAccess()
129 if (AAR.pointsToConstantMemory(Loc, /*OrLocal=*/true)) in checkFunctionMemoryAccess()
144 if (AAR.pointsToConstantMemory(Loc, /*OrLocal=*/true)) in checkFunctionMemoryAccess()
151 if (AAR.pointsToConstantMemory(Loc, /*OrLocal=*/true)) in checkFunctionMemoryAccess()
157 if (AAR.pointsToConstantMemory(Loc, /*OrLocal=*/true)) in checkFunctionMemoryAccess()
182 AAResults &AAR = AARGetter(*F); in addReadAttrs() local
184 switch (checkFunctionMemoryAccess(*F, AAR, SCCNodes)) { in addReadAttrs()
1115 Optional<AAResults> AAR; in runOnSCC() local
[all …]
DArgumentPromotion.cpp101 static bool isSafeToPromoteArgument(Argument *Arg, bool isByVal, AAResults &AAR,
153 Optional<AAResults> AAR; in runOnSCC() local
156 AAR.emplace(createLegacyPMAAResults(*this, F, *BAR)); in runOnSCC()
157 return *AAR; in runOnSCC()
279 AAResults &AAR = AARGetter(*F); in PromoteArguments() local
358 if (isSafeToPromoteArgument(PtrArg, PtrArg->hasByValOrInAllocaAttr(), AAR, in PromoteArguments()
459 AAResults &AAR, unsigned MaxElements) { in isSafeToPromoteArgument() argument
547 return isSafeToPromoteArgument(Arg, isByValOrInAlloca, AAR, in isSafeToPromoteArgument()
611 if (AAR.canInstructionRangeModRef(BB->front(), *Load, Loc, MRI_Mod)) in isSafeToPromoteArgument()
619 if (AAR.canBasicBlockModify(*TranspBB, Loc)) in isSafeToPromoteArgument()
DInliner.cpp90 AAResults AAR(createLegacyPMAAResults(P, *Callee, BAR)); in InlineCallIfPossible() local
94 if (!InlineFunction(CS, IFI, &AAR, InsertLifetime)) in InlineCallIfPossible()
/external/volley/
Dbintray.gradle50 // Release AAR, Sources, and JavaDoc