From: Jay Foad Date: Thu, 16 Feb 2023 09:01:48 +0000 (+0000) Subject: [UniformityAnalysis] Fix some file headers and pass names X-Git-Tag: upstream/17.0.6~17300 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c76acb9dffec2f318f3fafe111c5255ca4e1b309;p=platform%2Fupstream%2Fllvm.git [UniformityAnalysis] Fix some file headers and pass names Differential Revision: https://reviews.llvm.org/D144167 --- diff --git a/llvm/include/llvm/ADT/GenericUniformityImpl.h b/llvm/include/llvm/ADT/GenericUniformityImpl.h index 06d9b41..62c9e9e 100644 --- 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 index 24807bd..5040b7e 100644 --- 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 index adba1cd..21ca106 100644 --- 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 index 66ce480..f42c495 100644 --- 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 index 614f09c..fc65e1b 100644 --- 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 @@ namespace llvm { 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 index 8ed5af8..df7fd40 100644 --- 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 @@ UniformityInfoWrapperPass::UniformityInfoWrapperPass() : FunctionPass(ID) { 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();