Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp176 static bool addReadAttrs(const SCCNodeSet &SCCNodes, AARGetterT AARGetter) { in addReadAttrs() argument
182 AAResults &AAR = AARGetter(*F); in addReadAttrs()
994 auto AARGetter = [&](Function &F) -> AAResults & { in run() local
1027 Changed |= addReadAttrs(SCCNodes, AARGetter); in run()
1071 static bool runImpl(CallGraphSCC &SCC, AARGetterT AARGetter) { in runImpl() argument
1092 Changed |= addReadAttrs(SCCNodes, AARGetter); in runImpl()
1116 auto AARGetter = [&](Function &F) -> AAResults & { in runOnSCC() local
1122 return runImpl(SCC, AARGetter); in runOnSCC()
DArgumentPromotion.cpp97 function_ref<AAResults &(Function &F)> AARGetter,
121 function_ref<AAResults &(Function &F)> AARGetter, in runImpl() argument
130 PromoteArguments(OldNode, CG, AARGetter, MaxElements)) { in runImpl()
154 auto AARGetter = [&](Function &F) -> AAResults & { in runOnSCC() local
160 return runImpl(SCC, CG, AARGetter, maxElements); in runOnSCC()
243 function_ref<AAResults &(Function &F)> AARGetter, in PromoteArguments() argument
279 AAResults &AAR = AARGetter(*F); in PromoteArguments()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DThinLTOBitcodeWriter.cpp200 function_ref<AAResults &(Function &)> AARGetter, Module &M) { in splitAndWriteThinLTOBitcode() argument
259 computeFunctionBodyMemoryAccess(*F, AARGetter(*F)) == MAK_ReadNone) in splitAndWriteThinLTOBitcode()
431 function_ref<AAResults &(Function &)> AARGetter, in writeThinLTOBitcode() argument
435 return splitAndWriteThinLTOBitcode(OS, ThinLinkOS, AARGetter, M); in writeThinLTOBitcode()
DArgumentPromotion.cpp816 promoteArguments(Function *F, function_ref<AAResults &(Function &F)> AARGetter, in promoteArguments() argument
872 AAResults &AAR = AARGetter(*F); in promoteArguments()
977 auto AARGetter = [&](Function &F) -> AAResults & { in run() local
982 Function *NewF = promoteArguments(&OldF, AARGetter, MaxElements, None); in run()
1060 LegacyAARGetter AARGetter(*this); in runOnSCC() local
1081 if (Function *NewF = promoteArguments(OldF, AARGetter, MaxElements, in runOnSCC()
DWholeProgramDevirt.cpp408 function_ref<AAResults &(Function &)> AARGetter; member
434 DevirtModule(Module &M, function_ref<AAResults &(Function &)> AARGetter, in DevirtModule()
438 : M(M), AARGetter(AARGetter), ExportSummary(ExportSummary), in DevirtModule()
537 Module &M, function_ref<AAResults &(Function &)> AARGetter,
608 auto AARGetter = [&](Function &F) -> AAResults & { in run() local
614 if (!DevirtModule(M, AARGetter, OREGetter, ExportSummary, ImportSummary) in run()
621 Module &M, function_ref<AAResults &(Function &)> AARGetter, in runForTesting() argument
640 M, AARGetter, OREGetter, in runForTesting()
1202 computeFunctionBodyMemoryAccess(*Target.Fn, AARGetter(*Target.Fn)) != in tryVirtualConstProp()
DFunctionAttrs.cpp219 static bool addReadAttrs(const SCCNodeSet &SCCNodes, AARGetterT &&AARGetter) { in addReadAttrs() argument
225 AAResults &AAR = AARGetter(*F); in addReadAttrs()
1298 auto AARGetter = [&](Function &F) -> AAResults & { in run() local
1333 Changed |= addReadAttrs(SCCNodes, AARGetter); in run()
1384 static bool runImpl(CallGraphSCC &SCC, AARGetterT AARGetter) { in runImpl() argument
1411 Changed |= addReadAttrs(SCCNodes, AARGetter); in runImpl()
DInliner.cpp269 bool InsertLifetime, function_ref<AAResults &(Function &)> &AARGetter, in InlineCallIfPossible() argument
274 AAResults &AAR = AARGetter(*Callee); in InlineCallIfPossible()
470 function_ref<AAResults &(Function &)> AARGetter, in inlineCallsImpl() argument
610 InlineHistoryID, InsertLifetime, AARGetter, in inlineCallsImpl()