ΒΆtemplate <typename PassT,
          typename IRUnitT,
          typename... AnalysisArgTs,
          typename... MainArgTs>
typename PassT::Result getAnalysisResult(
    AnalysisManager<IRUnitT, AnalysisArgTs...>&
        AM,
    IRUnitT& IR,
    std::tuple<MainArgTs...> Args)

Description

Helper for *partial* unpacking of extra arguments in getAnalysisResult. Arguments passed in tuple come from PassManager, so they might have extra arguments after those AnalysisManager's ExtraArgTs ones that we need to pass to getResult.

Declared at: llvm/include/llvm/IR/PassManager.h:439

Templates

PassT
IRUnitT
AnalysisArgTs
MainArgTs

Parameters

AnalysisManager<IRUnitT, AnalysisArgTs...>& AM
IRUnitT& IR
std::tuple<MainArgTs...> Args