Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp277 function_ref<AAResults &(Function &)> AARGetter, Module &M) { in splitAndWriteThinLTOBitcode() argument
346 computeFunctionBodyMemoryAccess(*F, AARGetter(*F)) in splitAndWriteThinLTOBitcode()
532 function_ref<AAResults &(Function &)> AARGetter, in writeThinLTOBitcode() argument
539 splitAndWriteThinLTOBitcode(OS, ThinLinkOS, AARGetter, M); in writeThinLTOBitcode()
H A DFunctionAttrs.cpp259 static void addMemoryAttrs(const SCCNodeSet &SCCNodes, AARGetterT &&AARGetter, in addMemoryAttrs() argument
265 AAResults &AAR = AARGetter(*F); in addMemoryAttrs()
1837 deriveAttrsInPostOrder(ArrayRef<Function *> Functions, AARGetterT &&AARGetter, in deriveAttrsInPostOrder() argument
1852 addMemoryAttrs(Nodes.SCCNodes, AARGetter, Changed); in deriveAttrsInPostOrder()
1899 auto AARGetter = [&](Function &F) -> AAResults & { in run() local
1909 deriveAttrsInPostOrder(Functions, AARGetter, ArgAttrsOnly); in run()
1949 static bool runImpl(CallGraphSCC &SCC, AARGetterT AARGetter) { in runImpl() argument
1955 return !deriveAttrsInPostOrder(Functions, AARGetter).empty(); in runImpl()
H A DWholeProgramDevirt.cpp542 function_ref<AAResults &(Function &)> AARGetter; member
583 DevirtModule(Module &M, function_ref<AAResults &(Function &)> AARGetter, in DevirtModule()
588 : M(M), AARGetter(AARGetter), LookupDomTree(LookupDomTree), in DevirtModule()
711 runForTesting(Module &M, function_ref<AAResults &(Function &)> AARGetter,
756 auto AARGetter = [&](Function &F) -> AAResults & { in run() local
766 if (!DevirtModule::runForTesting(M, AARGetter, OREGetter, LookupDomTree)) in run()
770 if (!DevirtModule(M, AARGetter, OREGetter, LookupDomTree, ExportSummary, in run()
968 Module &M, function_ref<AAResults &(Function &)> AARGetter, in runForTesting() argument
995 DevirtModule(M, AARGetter, OREGetter, LookupDomTree, in runForTesting()
1818 !computeFunctionBodyMemoryAccess(*Fn, AARGetter(*Fn)) in tryVirtualConstProp()