/external/llvm/lib/Transforms/IPO/ |
D | FunctionAttrs.cpp | 176 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()
|
D | ArgumentPromotion.cpp | 97 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/ |
D | ThinLTOBitcodeWriter.cpp | 200 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()
|
D | ArgumentPromotion.cpp | 816 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()
|
D | WholeProgramDevirt.cpp | 408 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()
|
D | FunctionAttrs.cpp | 219 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()
|
D | Inliner.cpp | 269 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()
|