forked from OSchip/llvm-project
Remove some unnecessary or duplicated header includes from IR/.
-- PiperOrigin-RevId: 247762545
This commit is contained in:
parent
0134b5df3a
commit
fe7b23792d
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#define MLIR_IR_STANDARDTYPES_H
|
||||
|
||||
#include "mlir/IR/Types.h"
|
||||
#include "mlir/Support/LLVM.h"
|
||||
|
||||
namespace llvm {
|
||||
struct fltSemantics;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue