[mlir] Remove unused "using" (NFC)

Identified by misc-unused-using-decls.
This commit is contained in:
Kazu Hirata 2022-01-01 09:14:19 -08:00
parent 24d2405588
commit 63846a634d
9 changed files with 0 additions and 14 deletions

View File

@ -32,8 +32,6 @@
using namespace mlir; using namespace mlir;
using llvm::dbgs;
/// Get the value that is being reduced by `pos`-th reduction in the loop if /// Get the value that is being reduced by `pos`-th reduction in the loop if
/// such a reduction can be performed by affine parallel loops. This assumes /// such a reduction can be performed by affine parallel loops. This assumes
/// floating-point operations are commutative. On success, `kind` will be the /// floating-point operations are commutative. On success, `kind` will be the

View File

@ -38,8 +38,6 @@
using namespace mlir; using namespace mlir;
using namespace mlir::linalg; using namespace mlir::linalg;
using llvm::dbgs;
/// Implements a simple high-level fusion pass on linalg structured operations. /// Implements a simple high-level fusion pass on linalg structured operations.
/// ///
/// In each block, linalg ops are processed in reverse textual order. /// In each block, linalg ops are processed in reverse textual order.

View File

@ -38,8 +38,6 @@
using namespace mlir; using namespace mlir;
using namespace mlir::linalg; using namespace mlir::linalg;
using llvm::dbgs;
#define DEBUG_TYPE "linalg-vectorization" #define DEBUG_TYPE "linalg-vectorization"
#define DBGS() (llvm::dbgs() << '[' << DEBUG_TYPE << "] ") #define DBGS() (llvm::dbgs() << '[' << DEBUG_TYPE << "] ")

View File

@ -43,8 +43,6 @@
using namespace mlir; using namespace mlir;
using namespace mlir::detail; using namespace mlir::detail;
using llvm::hash_combine;
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
// MLIRContext CommandLine Options // MLIRContext CommandLine Options
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//

View File

@ -17,9 +17,7 @@
using namespace mlir; using namespace mlir;
using namespace mlir::detail; using namespace mlir::detail;
using llvm::MemoryBuffer;
using llvm::SMLoc; using llvm::SMLoc;
using llvm::SourceMgr;
namespace { namespace {

View File

@ -20,7 +20,6 @@
using namespace mlir; using namespace mlir;
using llvm::SMLoc; using llvm::SMLoc;
using llvm::SourceMgr;
// Returns true if 'c' is an allowable punctuation character: [$._-] // Returns true if 'c' is an allowable punctuation character: [$._-]
// Returns false otherwise. // Returns false otherwise.

View File

@ -30,7 +30,6 @@
using namespace mlir; using namespace mlir;
using llvm::yaml::Input; using llvm::yaml::Input;
using llvm::yaml::IO;
using llvm::yaml::MappingTraits; using llvm::yaml::MappingTraits;
using llvm::yaml::ScalarEnumerationTraits; using llvm::yaml::ScalarEnumerationTraits;
using llvm::yaml::ScalarTraits; using llvm::yaml::ScalarTraits;

View File

@ -22,7 +22,6 @@ using llvm::Clause;
using llvm::ClauseVal; using llvm::ClauseVal;
using llvm::raw_ostream; using llvm::raw_ostream;
using llvm::RecordKeeper; using llvm::RecordKeeper;
using llvm::Twine;
// LLVM has multiple places (Clang, Flang, MLIR) where information about // LLVM has multiple places (Clang, Flang, MLIR) where information about
// the directives (OpenMP/OpenACC), and clauses are needed. It is good software // the directives (OpenMP/OpenACC), and clauses are needed. It is good software

View File

@ -40,7 +40,6 @@ using llvm::SmallVector;
using llvm::SMLoc; using llvm::SMLoc;
using llvm::StringMap; using llvm::StringMap;
using llvm::StringRef; using llvm::StringRef;
using llvm::Twine;
using mlir::tblgen::Attribute; using mlir::tblgen::Attribute;
using mlir::tblgen::EnumAttr; using mlir::tblgen::EnumAttr;
using mlir::tblgen::EnumAttrCase; using mlir::tblgen::EnumAttrCase;