/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-10.0/llvm/lib/Transforms/IPO/ |
D | FunctionAttrs.cpp | 234 static bool addReadAttrs(const SCCNodeSet &SCCNodes, AARGetterT &&AARGetter) { in addReadAttrs() argument 241 AAResults &AAR = AARGetter(*F); in addReadAttrs() 1386 AARGetterT &&AARGetter, in deriveAttrsInPostOrder() argument 1395 Changed |= addReadAttrs(SCCNodes, AARGetter); in deriveAttrsInPostOrder() 1419 auto AARGetter = [&](Function &F) -> AAResults & { in run() local 1451 if (deriveAttrsInPostOrder(SCCNodes, AARGetter, HasUnknownCall)) in run() 1493 static bool runImpl(CallGraphSCC &SCC, AARGetterT AARGetter) { in runImpl() argument 1513 return deriveAttrsInPostOrder(SCCNodes, AARGetter, ExternalNode); in runImpl()
|
D | ThinLTOBitcodeWriter.cpp | 202 function_ref<AAResults &(Function &)> AARGetter, Module &M) { in splitAndWriteThinLTOBitcode() argument 269 computeFunctionBodyMemoryAccess(*F, AARGetter(*F)) == MAK_ReadNone) in splitAndWriteThinLTOBitcode() 449 function_ref<AAResults &(Function &)> AARGetter, in writeThinLTOBitcode() argument 456 return splitAndWriteThinLTOBitcode(OS, ThinLinkOS, AARGetter, M); in writeThinLTOBitcode()
|
D | ArgumentPromotion.cpp | 867 promoteArguments(Function *F, function_ref<AAResults &(Function &F)> AARGetter, in promoteArguments() argument 929 AAResults &AAR = AARGetter(*F); in promoteArguments() 1038 auto AARGetter = [&](Function &F) -> AAResults & { in run() local 1045 promoteArguments(&OldF, AARGetter, MaxElements, None, TTI); in run() 1125 LegacyAARGetter AARGetter(*this); in runOnSCC() local 1150 if (Function *NewF = promoteArguments(OldF, AARGetter, MaxElements, in runOnSCC()
|
D | WholeProgramDevirt.cpp | 446 function_ref<AAResults &(Function &)> AARGetter; member 473 DevirtModule(Module &M, function_ref<AAResults &(Function &)> AARGetter, in DevirtModule() 478 : M(M), AARGetter(AARGetter), LookupDomTree(LookupDomTree), in DevirtModule() 578 runForTesting(Module &M, function_ref<AAResults &(Function &)> AARGetter, 689 auto AARGetter = [&](Function &F) -> AAResults & { in run() local 698 if (!DevirtModule(M, AARGetter, OREGetter, LookupDomTree, ExportSummary, in run() 741 Module &M, function_ref<AAResults &(Function &)> AARGetter, in runForTesting() argument 761 M, AARGetter, OREGetter, LookupDomTree, in runForTesting() 1427 computeFunctionBodyMemoryAccess(*Target.Fn, AARGetter(*Target.Fn)) != in tryVirtualConstProp()
|
D | Inliner.cpp | 277 bool InsertLifetime, function_ref<AAResults &(Function &)> &AARGetter, in InlineCallIfPossible() argument 282 AAResults &AAR = AARGetter(*Callee); in InlineCallIfPossible() 534 function_ref<AAResults &(Function &)> AARGetter, in inlineCallsImpl() argument 689 InsertLifetime, AARGetter, ImportedFunctionsStats); in inlineCallsImpl()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | FunctionAttrs.cpp | 233 static bool addReadAttrs(const SCCNodeSet &SCCNodes, AARGetterT &&AARGetter) { in addReadAttrs() argument 240 AAResults &AAR = AARGetter(*F); in addReadAttrs() 1423 AARGetterT &&AARGetter) { in deriveAttrsInPostOrder() argument 1432 Changed |= addReadAttrs(Nodes.SCCNodes, AARGetter); in deriveAttrsInPostOrder() 1457 auto AARGetter = [&](Function &F) -> AAResults & { in run() local 1466 if (deriveAttrsInPostOrder(Functions, AARGetter)) in run() 1508 static bool runImpl(CallGraphSCC &SCC, AARGetterT AARGetter) { in runImpl() argument 1514 return deriveAttrsInPostOrder(Functions, AARGetter); in runImpl()
|
D | ThinLTOBitcodeWriter.cpp | 202 function_ref<AAResults &(Function &)> AARGetter, Module &M) { in splitAndWriteThinLTOBitcode() argument 269 computeFunctionBodyMemoryAccess(*F, AARGetter(*F)) == MAK_ReadNone) in splitAndWriteThinLTOBitcode() 449 function_ref<AAResults &(Function &)> AARGetter, in writeThinLTOBitcode() argument 456 return splitAndWriteThinLTOBitcode(OS, ThinLinkOS, AARGetter, M); in writeThinLTOBitcode()
|
D | ArgumentPromotion.cpp | 867 promoteArguments(Function *F, function_ref<AAResults &(Function &F)> AARGetter, in promoteArguments() argument 929 AAResults &AAR = AARGetter(*F); in promoteArguments() 1038 auto AARGetter = [&](Function &F) -> AAResults & { in run() local 1045 promoteArguments(&OldF, AARGetter, MaxElements, None, TTI); in run() 1125 LegacyAARGetter AARGetter(*this); in runOnSCC() local 1149 if (Function *NewF = promoteArguments(OldF, AARGetter, MaxElements, in runOnSCC()
|
D | Inliner.cpp | 257 bool InsertLifetime, function_ref<AAResults &(Function &)> &AARGetter, in inlineCallIfPossible() argument 262 AAResults &AAR = AARGetter(*Callee); in inlineCallIfPossible() 315 function_ref<AAResults &(Function &)> AARGetter, in inlineCallsImpl() argument 458 InsertLifetime, AARGetter, ImportedFunctionsStats); in inlineCallsImpl()
|
D | WholeProgramDevirt.cpp | 492 function_ref<AAResults &(Function &)> AARGetter; member 524 DevirtModule(Module &M, function_ref<AAResults &(Function &)> AARGetter, in DevirtModule() 529 : M(M), AARGetter(AARGetter), LookupDomTree(LookupDomTree), in DevirtModule() 633 runForTesting(Module &M, function_ref<AAResults &(Function &)> AARGetter, 748 auto AARGetter = [&](Function &F) -> AAResults & { in run() local 758 if (DevirtModule::runForTesting(M, AARGetter, OREGetter, LookupDomTree)) in run() 762 if (!DevirtModule(M, AARGetter, OREGetter, LookupDomTree, ExportSummary, in run() 862 Module &M, function_ref<AAResults &(Function &)> AARGetter, in runForTesting() argument 889 DevirtModule(M, AARGetter, OREGetter, LookupDomTree, in runForTesting() 1584 computeFunctionBodyMemoryAccess(*Target.Fn, AARGetter(*Target.Fn)) != in tryVirtualConstProp()
|