forked from OSchip/llvm-project
[MLIR] Add includes to PointerLikeTypeTraits where needed.
Summary: This is to ensure that the template declaration is seen before any template specialization. Reviewers: mravishankar, antiagainst, rriddle! Differential Revision: https://reviews.llvm.org/D75442
This commit is contained in:
parent
3ae2fc7a8b
commit
56ac9d30d3
|
@ -15,6 +15,7 @@
|
|||
|
||||
#include "mlir/Dialect/SPIRV/SPIRVTypes.h"
|
||||
#include "mlir/IR/Function.h"
|
||||
#include "llvm/Support/PointerLikeTypeTraits.h"
|
||||
|
||||
namespace mlir {
|
||||
class OpBuilder;
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "mlir/IR/AttributeSupport.h"
|
||||
#include "llvm/ADT/APFloat.h"
|
||||
#include "llvm/ADT/Sequence.h"
|
||||
#include "llvm/Support/PointerLikeTypeTraits.h"
|
||||
|
||||
namespace mlir {
|
||||
class AffineMap;
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#include "mlir/IR/FunctionSupport.h"
|
||||
#include "mlir/IR/OpDefinition.h"
|
||||
#include "mlir/IR/SymbolTable.h"
|
||||
#include "llvm/Support/PointerLikeTypeTraits.h"
|
||||
|
||||
namespace mlir {
|
||||
//===--------------------------------------------------------------------===//
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "mlir/Support/LLVM.h"
|
||||
#include "llvm/ADT/DenseMapInfo.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/Support/PointerLikeTypeTraits.h"
|
||||
|
||||
namespace mlir {
|
||||
class MLIRContext;
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#define MLIR_IR_LOCATION_H
|
||||
|
||||
#include "mlir/IR/Attributes.h"
|
||||
#include "llvm/Support/PointerLikeTypeTraits.h"
|
||||
|
||||
namespace mlir {
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#define MLIR_IR_MODULE_H
|
||||
|
||||
#include "mlir/IR/SymbolTable.h"
|
||||
#include "llvm/Support/PointerLikeTypeTraits.h"
|
||||
|
||||
namespace mlir {
|
||||
class ModuleTerminatorOp;
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#define MLIR_IR_OPDEFINITION_H
|
||||
|
||||
#include "mlir/IR/Operation.h"
|
||||
#include "llvm/Support/PointerLikeTypeTraits.h"
|
||||
#include <type_traits>
|
||||
|
||||
namespace mlir {
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include "mlir/IR/Value.h"
|
||||
#include "mlir/Support/LogicalResult.h"
|
||||
#include "llvm/ADT/PointerUnion.h"
|
||||
#include "llvm/Support/PointerLikeTypeTraits.h"
|
||||
#include "llvm/Support/TrailingObjects.h"
|
||||
#include <memory>
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "mlir/IR/TypeSupport.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/DenseMapInfo.h"
|
||||
#include "llvm/Support/PointerLikeTypeTraits.h"
|
||||
|
||||
namespace mlir {
|
||||
class FloatType;
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "mlir/IR/Types.h"
|
||||
#include "mlir/IR/UseDefLists.h"
|
||||
#include "mlir/Support/LLVM.h"
|
||||
#include "llvm/Support/PointerLikeTypeTraits.h"
|
||||
|
||||
namespace mlir {
|
||||
class AsmState;
|
||||
|
|
Loading…
Reference in New Issue