[MLIR] Add includes to PointerLikeTypeTraits where needed.
authorStephan Herhut <herhut@google.com>
Mon, 2 Mar 2020 10:34:25 +0000 (11:34 +0100)
committerStephan Herhut <herhut@google.com>
Mon, 2 Mar 2020 12:50:59 +0000 (13:50 +0100)
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

mlir/include/mlir/Dialect/SPIRV/SPIRVOps.h
mlir/include/mlir/IR/Attributes.h
mlir/include/mlir/IR/Function.h
mlir/include/mlir/IR/Identifier.h
mlir/include/mlir/IR/Location.h
mlir/include/mlir/IR/Module.h
mlir/include/mlir/IR/OpDefinition.h
mlir/include/mlir/IR/OperationSupport.h
mlir/include/mlir/IR/Types.h
mlir/include/mlir/IR/Value.h

index 2415a778bbf78217e826c9ef43ce92ec2220ae76..ea541c056a1186c136bba101842a20235414f68b 100644 (file)
@@ -15,6 +15,7 @@
 
 #include "mlir/Dialect/SPIRV/SPIRVTypes.h"
 #include "mlir/IR/Function.h"
+#include "llvm/Support/PointerLikeTypeTraits.h"
 
 namespace mlir {
 class OpBuilder;
index 5af6aa79e081217cb6d8249d07e6103150c5fd55..6aac47dd53bf04b6a91008f3e5234497d4403e42 100644 (file)
@@ -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;
index 32843c9524bf7a29ba5b56e88070da6b1e9dd7af..62384fea1f91c9fd5fe9752a495108bd5e51b0f5 100644 (file)
@@ -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 {
 //===--------------------------------------------------------------------===//
index 63c2e4001abac808f3497f8095a7e0cc81bfa459..f3aead4a2f70df2948545dcb92ef6a32508c8ec8 100644 (file)
@@ -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;
index 902bcb60939571068eca7dbb07009128c3cd770e..e0853611b67c8b3d8c28bd14b33dc7504e89d954 100644 (file)
@@ -15,6 +15,7 @@
 #define MLIR_IR_LOCATION_H
 
 #include "mlir/IR/Attributes.h"
+#include "llvm/Support/PointerLikeTypeTraits.h"
 
 namespace mlir {
 
index 21000b4d53245ad2f519896acf3e8aa073de5ffd..b02d10472b0da42bdf6a1945c8fecaf10e57a0ae 100644 (file)
@@ -14,6 +14,7 @@
 #define MLIR_IR_MODULE_H
 
 #include "mlir/IR/SymbolTable.h"
+#include "llvm/Support/PointerLikeTypeTraits.h"
 
 namespace mlir {
 class ModuleTerminatorOp;
index 87ffb8110427dbcf8a3e21f9e063bdea5f2e1b35..efbcf0afb4d789321e25f8c8e9c28e85503267d9 100644 (file)
@@ -20,6 +20,7 @@
 #define MLIR_IR_OPDEFINITION_H
 
 #include "mlir/IR/Operation.h"
+#include "llvm/Support/PointerLikeTypeTraits.h"
 #include <type_traits>
 
 namespace mlir {
index 89fffa0df60dbf28398297d57e92ea2f8a3f2bcd..96545d6be2b0f033be1acf30165aabaf95474a4d 100644 (file)
@@ -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>
 
index ef4b0511cb07bc715a517bb1bbef05b5ef9aa1dc..40f1d48187699620e7731f4119fa5cf84cd9da33 100644 (file)
@@ -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;
index a54787a4cb088f8a127684494e69b8ce78eda90f..57b55171668cad68c5f9e2e17ba74863663a0899 100644 (file)
@@ -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;