class AllAnalysesOn

Declaration

template <typename IRUnitT>
class AllAnalysesOn { /* full declaration omitted */ };

Description

This templated class represents "all analyses that operate over < a particular IR unit > " (e.g. a Function or a Module) in instances of PreservedAnalysis. This lets a transformation say e.g. "I preserved all function analyses". Note that you must provide an explicit instantiation declaration and definition for this template in order to get the correct behavior on Windows. Otherwise, the address of SetKey will not be stable.

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

Templates

IRUnitT

Member Variables

private static llvm::AnalysisSetKey SetKey

Method Overview

  • public static llvm::AnalysisSetKey * ID()

Methods

ΒΆstatic llvm::AnalysisSetKey* ID()

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