Remove some unnecessary or duplicated header includes from IR/.

--

PiperOrigin-RevId: 247762545
This commit is contained in:
River Riddle 2019-05-11 09:53:26 -07:00 committed by Mehdi Amini
parent 0134b5df3a
commit fe7b23792d
12 changed files with 2 additions and 19 deletions

View File

@ -23,6 +23,7 @@
#ifndef MLIR_AFFINEOPS_AFFINEOPS_H
#define MLIR_AFFINEOPS_AFFINEOPS_H
#include "mlir/IR/AffineMap.h"
#include "mlir/IR/Dialect.h"
#include "mlir/IR/OpDefinition.h"
#include "mlir/IR/StandardTypes.h"

View File

@ -25,7 +25,6 @@
#include "mlir/IR/MLIRContext.h"
#include "mlir/IR/StorageUniquerSupport.h"
#include "llvm/ADT/PointerIntPair.h"
#include "llvm/ADT/StringRef.h"
namespace mlir {
class MLIRContext;

View File

@ -19,9 +19,7 @@
#define MLIR_IR_ATTRIBUTES_H
#include "mlir/IR/AttributeSupport.h"
#include "mlir/Support/LLVM.h"
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/DenseMap.h"
namespace mlir {
class AffineMap;

View File

@ -23,7 +23,6 @@
#define MLIR_IR_DIAGNOSTICS_H
#include "mlir/IR/Location.h"
#include "mlir/Support/LLVM.h"
#include "mlir/Support/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringMap.h"

View File

@ -22,14 +22,7 @@
#ifndef MLIR_IR_FUNCTION_H
#define MLIR_IR_FUNCTION_H
#include "mlir/IR/Attributes.h"
#include "mlir/IR/Block.h"
#include "mlir/IR/Identifier.h"
#include "mlir/IR/Location.h"
#include "mlir/IR/Operation.h"
#include "mlir/IR/Types.h"
#include "mlir/Support/LLVM.h"
#include "llvm/ADT/ilist.h"
namespace mlir {
class BlockAndValueMapping;

View File

@ -24,10 +24,8 @@
#ifndef MLIR_MATCHERS_H
#define MLIR_MATCHERS_H
#include "mlir/IR/Attributes.h"
#include "mlir/IR/Operation.h"
#include "mlir/IR/StandardTypes.h"
#include "mlir/IR/Value.h"
#include <type_traits>
namespace mlir {

View File

@ -22,7 +22,6 @@
#ifndef MLIR_IR_OPERATION_H
#define MLIR_IR_OPERATION_H
#include "mlir/IR/AffineMap.h"
#include "mlir/IR/Block.h"
#include "mlir/IR/Diagnostics.h"
#include "mlir/IR/OperationSupport.h"

View File

@ -28,7 +28,6 @@
#include "mlir/IR/Location.h"
#include "mlir/IR/Types.h"
#include "mlir/IR/Value.h"
#include "mlir/Support/LLVM.h"
#include "mlir/Support/LogicalResult.h"
#include "llvm/ADT/PointerUnion.h"
#include "llvm/Support/TrailingObjects.h"

View File

@ -19,7 +19,6 @@
#define MLIR_IR_STANDARDTYPES_H
#include "mlir/IR/Types.h"
#include "mlir/Support/LLVM.h"
namespace llvm {
struct fltSemantics;

View File

@ -24,8 +24,6 @@
#include "mlir/IR/MLIRContext.h"
#include "mlir/IR/StorageUniquerSupport.h"
#include "llvm/ADT/StringRef.h"
#include <memory>
namespace mlir {
struct ClassID;

View File

@ -19,7 +19,6 @@
#define MLIR_IR_TYPES_H
#include "mlir/IR/TypeSupport.h"
#include "mlir/Support/LLVM.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMapInfo.h"

View File

@ -20,6 +20,7 @@
//===----------------------------------------------------------------------===//
#include "mlir/Analysis/AffineStructures.h"
#include "mlir/IR/AffineMap.h"
#include "mlir/IR/Function.h"
#include "mlir/IR/IntegerSet.h"
#include "mlir/IR/Operation.h"