//===- UniformityAnalysis.h ---------------------*- C++ -*-----------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // /// \file /// \brief LLVM IR instance of the generic uniformity analysis // //===----------------------------------------------------------------------===// #ifndef LLVM_ANALYSIS_UNIFORMITYANALYSIS_H #define LLVM_ANALYSIS_UNIFORMITYANALYSIS_H #include "llvm/ADT/GenericUniformityInfo.h" #include "llvm/IR/PassManager.h" #include "llvm/IR/SSAContext.h" #include "llvm/Pass.h" namespace llvm { extern template class GenericUniformityInfo<SSAContext>; UniformityInfo; /// Analysis pass which computes \ref UniformityInfo. class UniformityInfoAnalysis : public AnalysisInfoMixin<UniformityInfoAnalysis> { … }; /// Printer pass for the \c UniformityInfo. class UniformityInfoPrinterPass : public PassInfoMixin<UniformityInfoPrinterPass> { … }; /// Legacy analysis pass which computes a \ref CycleInfo. class UniformityInfoWrapperPass : public FunctionPass { … }; } // namespace llvm #endif // LLVM_ANALYSIS_UNIFORMITYANALYSIS_H