Searched refs:AAR (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/Analysis/ |
D | AliasAnalysis.cpp | 464 AAR.reset(new AAResults()); in runOnFunction() 471 AAR->addAAResult(getAnalysis<BasicAAWrapperPass>().getResult()); in runOnFunction() 475 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction() 477 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction() 480 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction() 482 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction() 484 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction() 486 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction() 492 WrapperPass->CB(*this, F, *AAR); in runOnFunction() 516 AAResults AAR; in createLegacyPMAAResults() local [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | AliasAnalysis.h | 643 explicit Model(AAResultT &Result, AAResults &AAR) : Result(Result) { in Model() argument 644 Result.setAAResults(&AAR); in Model() 704 AAResults *AAR; variable 711 void setAAResults(AAResults *NewAAR) { AAR = NewAAR; } in setAAResults() 718 AAResults *AAR; variable 722 AAResultsProxy(AAResults *AAR, DerivedT &CurrentResult) in AAResultsProxy() argument 723 : AAR(AAR), CurrentResult(CurrentResult) {} in AAResultsProxy() 726 return AAR ? AAR->alias(LocA, LocB) : CurrentResult.alias(LocA, LocB); in alias() 730 return AAR ? AAR->pointsToConstantMemory(Loc, OrLocal) in pointsToConstantMemory() 735 return AAR ? AAR->getArgModRefInfo(CS, ArgIdx) : CurrentResult.getArgModRefInfo(CS, ArgIdx); in getArgModRefInfo() [all …]
|
/external/llvm/unittests/Analysis/ |
D | AliasAnalysisTest.cpp | 152 std::unique_ptr<AAResults> AAR; member in __anonb3e856af0411::AliasAnalysisTest 158 AAR.reset(new AAResults()); in getAAResults() 163 AAR->addAAResult(*BAR); in getAAResults() 165 return *AAR; in getAAResults() 240 PM.add(createExternalAAWrapperPass([](Pass &P, Function &, AAResults &AAR) { in TEST_F() argument 242 AAR.addAAResult(WrapperPass->getResult()); in TEST_F()
|
/external/llvm/lib/Transforms/IPO/ |
D | ArgumentPromotion.cpp | 89 AAResults &AAR) const; 251 AAResults AAR(createLegacyPMAAResults(*this, *F, BAR)); in PromoteArguments() local 331 if (isSafeToPromoteArgument(PtrArg, PtrArg->hasByValOrInAllocaAttr(), AAR)) in PromoteArguments() 433 AAResults &AAR) const { in isSafeToPromoteArgument() 521 return isSafeToPromoteArgument(Arg, isByValOrInAlloca, AAR); in isSafeToPromoteArgument() 585 if (AAR.canInstructionRangeModRef(BB->front(), *Load, Loc, MRI_Mod)) in isSafeToPromoteArgument() 593 if (AAR.canBasicBlockModify(*TranspBB, Loc)) in isSafeToPromoteArgument()
|
D | FunctionAttrs.cpp | 115 static MemoryAccessKind checkFunctionMemoryAccess(Function &F, AAResults &AAR, in checkFunctionMemoryAccess() argument 117 FunctionModRefBehavior MRB = AAR.getModRefBehavior(&F); in checkFunctionMemoryAccess() 144 FunctionModRefBehavior MRB = AAR.getModRefBehavior(CS); in checkFunctionMemoryAccess() 174 if (AAR.pointsToConstantMemory(Loc, /*OrLocal=*/true)) in checkFunctionMemoryAccess() 189 if (AAR.pointsToConstantMemory(Loc, /*OrLocal=*/true)) in checkFunctionMemoryAccess() 196 if (AAR.pointsToConstantMemory(Loc, /*OrLocal=*/true)) in checkFunctionMemoryAccess() 202 if (AAR.pointsToConstantMemory(Loc, /*OrLocal=*/true)) in checkFunctionMemoryAccess() 227 AAResults &AAR = AARGetter(*F); in addReadAttrs() local 229 switch (checkFunctionMemoryAccess(*F, AAR, SCCNodes)) { in addReadAttrs() 1920 Optional<AAResults> AAR; in runOnSCC() local [all …]
|
D | Inliner.cpp | 142 AAResults AAR(createLegacyPMAAResults(P, *Callee, BAR)); in InlineCallIfPossible() local 146 if (!InlineFunction(CS, IFI, &AAR, InsertLifetime)) in InlineCallIfPossible()
|