diff --git a/llvm/include/llvm/ADT/GenericUniformityImpl.h b/llvm/include/llvm/ADT/GenericUniformityImpl.h --- a/llvm/include/llvm/ADT/GenericUniformityImpl.h +++ b/llvm/include/llvm/ADT/GenericUniformityImpl.h @@ -1,4 +1,4 @@ -//===- GenericUniformAnalysis.cpp --------------------*- C++ -*------------===// +//===- GenericUniformityImpl.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. diff --git a/llvm/include/llvm/ADT/GenericUniformityInfo.h b/llvm/include/llvm/ADT/GenericUniformityInfo.h --- a/llvm/include/llvm/ADT/GenericUniformityInfo.h +++ b/llvm/include/llvm/ADT/GenericUniformityInfo.h @@ -5,9 +5,6 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// -// -//===----------------------------------------------------------------------===// #ifndef LLVM_ADT_GENERICUNIFORMITYINFO_H #define LLVM_ADT_GENERICUNIFORMITYINFO_H diff --git a/llvm/include/llvm/ADT/Uniformity.h b/llvm/include/llvm/ADT/Uniformity.h --- a/llvm/include/llvm/ADT/Uniformity.h +++ b/llvm/include/llvm/ADT/Uniformity.h @@ -5,9 +5,6 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// -// -//===----------------------------------------------------------------------===// #ifndef LLVM_ADT_UNIFORMITY_H #define LLVM_ADT_UNIFORMITY_H diff --git a/llvm/include/llvm/Analysis/UniformityAnalysis.h b/llvm/include/llvm/Analysis/UniformityAnalysis.h --- a/llvm/include/llvm/Analysis/UniformityAnalysis.h +++ b/llvm/include/llvm/Analysis/UniformityAnalysis.h @@ -1,4 +1,4 @@ -//===- ConvergenceUtils.h -----------------------*- C++ -*-----------------===// +//===- 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. @@ -7,10 +7,7 @@ //===----------------------------------------------------------------------===// // /// \file -/// \brief Convergence info and convergence-aware uniform info for LLVM IR -/// -/// This differs from traditional divergence analysis by taking convergence -/// intrinsics into account. +/// \brief LLVM IR instance of the generic uniformity analysis // //===----------------------------------------------------------------------===// diff --git a/llvm/include/llvm/CodeGen/MachineUniformityAnalysis.h b/llvm/include/llvm/CodeGen/MachineUniformityAnalysis.h --- a/llvm/include/llvm/CodeGen/MachineUniformityAnalysis.h +++ b/llvm/include/llvm/CodeGen/MachineUniformityAnalysis.h @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// // /// \file -/// \brief Uniformity info and uniformity-aware uniform info for Machine IR +/// \brief Machine IR instance of the generic uniformity analysis // //===----------------------------------------------------------------------===// @@ -24,7 +24,7 @@ extern template class GenericUniformityInfo; using MachineUniformityInfo = GenericUniformityInfo; -/// \brief Compute the uniform information of a Machine IR function. +/// \brief Compute uniformity information for a Machine IR function. MachineUniformityInfo computeMachineUniformityInfo(MachineFunction &F, const MachineCycleInfo &cycleInfo, diff --git a/llvm/lib/Analysis/UniformityAnalysis.cpp b/llvm/lib/Analysis/UniformityAnalysis.cpp --- a/llvm/lib/Analysis/UniformityAnalysis.cpp +++ b/llvm/lib/Analysis/UniformityAnalysis.cpp @@ -1,4 +1,4 @@ -//===- ConvergenceUtils.cpp -----------------------------------------------===// +//===- UniformityAnalysis.cpp ---------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -125,12 +125,12 @@ initializeUniformityInfoWrapperPassPass(*PassRegistry::getPassRegistry()); } -INITIALIZE_PASS_BEGIN(UniformityInfoWrapperPass, "uniforminfo", - "Uniform Info Analysis", true, true) +INITIALIZE_PASS_BEGIN(UniformityInfoWrapperPass, "uniformity", + "Uniformity Analysis", true, true) INITIALIZE_PASS_DEPENDENCY(DominatorTreeWrapperPass) INITIALIZE_PASS_DEPENDENCY(TargetTransformInfoWrapperPass) -INITIALIZE_PASS_END(UniformityInfoWrapperPass, "uniforminfo", - "Uniform Info Analysis", true, true) +INITIALIZE_PASS_END(UniformityInfoWrapperPass, "uniformity", + "Uniformity Analysis", true, true) void UniformityInfoWrapperPass::getAnalysisUsage(AnalysisUsage &AU) const { AU.setPreservesAll();