forked from OSchip/llvm-project
Apply clang-tidy fixes for llvm-header-guard in MLIR (NFC)
Differential Revision: https://reviews.llvm.org/D117251
This commit is contained in:
parent
e52f530c36
commit
8f23296bcc
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_AST_H_
|
||||
#define MLIR_TUTORIAL_TOY_AST_H_
|
||||
#ifndef TOY_AST_H
|
||||
#define TOY_AST_H
|
||||
|
||||
#include "toy/Lexer.h"
|
||||
|
||||
|
@ -239,4 +239,4 @@ void dump(ModuleAST &);
|
|||
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_AST_H_
|
||||
#endif // TOY_AST_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#define MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#ifndef TOY_LEXER_H
|
||||
#define TOY_LEXER_H
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
|
@ -229,4 +229,4 @@ private:
|
|||
};
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#endif // TOY_LEXER_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#define MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#ifndef TOY_PARSER_H
|
||||
#define TOY_PARSER_H
|
||||
|
||||
#include "toy/AST.h"
|
||||
#include "toy/Lexer.h"
|
||||
|
@ -486,4 +486,4 @@ private:
|
|||
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#endif // TOY_PARSER_H
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_AST_H_
|
||||
#define MLIR_TUTORIAL_TOY_AST_H_
|
||||
#ifndef TOY_AST_H
|
||||
#define TOY_AST_H
|
||||
|
||||
#include "toy/Lexer.h"
|
||||
|
||||
|
@ -239,4 +239,4 @@ void dump(ModuleAST &);
|
|||
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_AST_H_
|
||||
#endif // TOY_AST_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#define MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#ifndef TOY_LEXER_H
|
||||
#define TOY_LEXER_H
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
|
@ -229,4 +229,4 @@ private:
|
|||
};
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#endif // TOY_LEXER_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_MLIRGEN_H_
|
||||
#define MLIR_TUTORIAL_TOY_MLIRGEN_H_
|
||||
#ifndef TOY_MLIRGEN_H
|
||||
#define TOY_MLIRGEN_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -29,4 +29,4 @@ class ModuleAST;
|
|||
mlir::OwningModuleRef mlirGen(mlir::MLIRContext &context, ModuleAST &moduleAST);
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_MLIRGEN_H_
|
||||
#endif // TOY_MLIRGEN_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#define MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#ifndef TOY_PARSER_H
|
||||
#define TOY_PARSER_H
|
||||
|
||||
#include "toy/AST.h"
|
||||
#include "toy/Lexer.h"
|
||||
|
@ -486,4 +486,4 @@ private:
|
|||
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#endif // TOY_PARSER_H
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_AST_H_
|
||||
#define MLIR_TUTORIAL_TOY_AST_H_
|
||||
#ifndef TOY_AST_H
|
||||
#define TOY_AST_H
|
||||
|
||||
#include "toy/Lexer.h"
|
||||
|
||||
|
@ -239,4 +239,4 @@ void dump(ModuleAST &);
|
|||
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_AST_H_
|
||||
#endif // TOY_AST_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#define MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#ifndef TOY_LEXER_H
|
||||
#define TOY_LEXER_H
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
|
@ -229,4 +229,4 @@ private:
|
|||
};
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#endif // TOY_LEXER_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_MLIRGEN_H_
|
||||
#define MLIR_TUTORIAL_TOY_MLIRGEN_H_
|
||||
#ifndef TOY_MLIRGEN_H
|
||||
#define TOY_MLIRGEN_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -29,4 +29,4 @@ class ModuleAST;
|
|||
mlir::OwningModuleRef mlirGen(mlir::MLIRContext &context, ModuleAST &moduleAST);
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_MLIRGEN_H_
|
||||
#endif // TOY_MLIRGEN_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#define MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#ifndef TOY_PARSER_H
|
||||
#define TOY_PARSER_H
|
||||
|
||||
#include "toy/AST.h"
|
||||
#include "toy/Lexer.h"
|
||||
|
@ -486,4 +486,4 @@ private:
|
|||
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#endif // TOY_PARSER_H
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_AST_H_
|
||||
#define MLIR_TUTORIAL_TOY_AST_H_
|
||||
#ifndef TOY_AST_H
|
||||
#define TOY_AST_H
|
||||
|
||||
#include "toy/Lexer.h"
|
||||
|
||||
|
@ -239,4 +239,4 @@ void dump(ModuleAST &);
|
|||
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_AST_H_
|
||||
#endif // TOY_AST_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#define MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#ifndef TOY_LEXER_H
|
||||
#define TOY_LEXER_H
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
|
@ -229,4 +229,4 @@ private:
|
|||
};
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#endif // TOY_LEXER_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_MLIRGEN_H_
|
||||
#define MLIR_TUTORIAL_TOY_MLIRGEN_H_
|
||||
#ifndef TOY_MLIRGEN_H
|
||||
#define TOY_MLIRGEN_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -29,4 +29,4 @@ class ModuleAST;
|
|||
mlir::OwningModuleRef mlirGen(mlir::MLIRContext &context, ModuleAST &moduleAST);
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_MLIRGEN_H_
|
||||
#endif // TOY_MLIRGEN_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#define MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#ifndef TOY_PARSER_H
|
||||
#define TOY_PARSER_H
|
||||
|
||||
#include "toy/AST.h"
|
||||
#include "toy/Lexer.h"
|
||||
|
@ -486,4 +486,4 @@ private:
|
|||
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#endif // TOY_PARSER_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_PASSES_H
|
||||
#define MLIR_TUTORIAL_TOY_PASSES_H
|
||||
#ifndef TOY_PASSES_H
|
||||
#define TOY_PASSES_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -23,4 +23,4 @@ std::unique_ptr<Pass> createShapeInferencePass();
|
|||
} // namespace toy
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_PASSES_H
|
||||
#endif // TOY_PASSES_H
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_AST_H_
|
||||
#define MLIR_TUTORIAL_TOY_AST_H_
|
||||
#ifndef TOY_AST_H
|
||||
#define TOY_AST_H
|
||||
|
||||
#include "toy/Lexer.h"
|
||||
|
||||
|
@ -239,4 +239,4 @@ void dump(ModuleAST &);
|
|||
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_AST_H_
|
||||
#endif // TOY_AST_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#define MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#ifndef TOY_LEXER_H
|
||||
#define TOY_LEXER_H
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
|
@ -229,4 +229,4 @@ private:
|
|||
};
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#endif // TOY_LEXER_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_MLIRGEN_H_
|
||||
#define MLIR_TUTORIAL_TOY_MLIRGEN_H_
|
||||
#ifndef TOY_MLIRGEN_H
|
||||
#define TOY_MLIRGEN_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -29,4 +29,4 @@ class ModuleAST;
|
|||
mlir::OwningModuleRef mlirGen(mlir::MLIRContext &context, ModuleAST &moduleAST);
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_MLIRGEN_H_
|
||||
#endif // TOY_MLIRGEN_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#define MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#ifndef TOY_PARSER_H
|
||||
#define TOY_PARSER_H
|
||||
|
||||
#include "toy/AST.h"
|
||||
#include "toy/Lexer.h"
|
||||
|
@ -486,4 +486,4 @@ private:
|
|||
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#endif // TOY_PARSER_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_PASSES_H
|
||||
#define MLIR_TUTORIAL_TOY_PASSES_H
|
||||
#ifndef TOY_PASSES_H
|
||||
#define TOY_PASSES_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -28,4 +28,4 @@ std::unique_ptr<mlir::Pass> createLowerToAffinePass();
|
|||
} // namespace toy
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_PASSES_H
|
||||
#endif // TOY_PASSES_H
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_AST_H_
|
||||
#define MLIR_TUTORIAL_TOY_AST_H_
|
||||
#ifndef TOY_AST_H
|
||||
#define TOY_AST_H
|
||||
|
||||
#include "toy/Lexer.h"
|
||||
|
||||
|
@ -239,4 +239,4 @@ void dump(ModuleAST &);
|
|||
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_AST_H_
|
||||
#endif // TOY_AST_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#define MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#ifndef TOY_LEXER_H
|
||||
#define TOY_LEXER_H
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
|
@ -229,4 +229,4 @@ private:
|
|||
};
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#endif // TOY_LEXER_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_MLIRGEN_H_
|
||||
#define MLIR_TUTORIAL_TOY_MLIRGEN_H_
|
||||
#ifndef TOY_MLIRGEN_H
|
||||
#define TOY_MLIRGEN_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -29,4 +29,4 @@ class ModuleAST;
|
|||
mlir::OwningModuleRef mlirGen(mlir::MLIRContext &context, ModuleAST &moduleAST);
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_MLIRGEN_H_
|
||||
#endif // TOY_MLIRGEN_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#define MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#ifndef TOY_PARSER_H
|
||||
#define TOY_PARSER_H
|
||||
|
||||
#include "toy/AST.h"
|
||||
#include "toy/Lexer.h"
|
||||
|
@ -486,4 +486,4 @@ private:
|
|||
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#endif // TOY_PARSER_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_PASSES_H
|
||||
#define MLIR_TUTORIAL_TOY_PASSES_H
|
||||
#ifndef TOY_PASSES_H
|
||||
#define TOY_PASSES_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -32,4 +32,4 @@ std::unique_ptr<mlir::Pass> createLowerToLLVMPass();
|
|||
} // namespace toy
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_PASSES_H
|
||||
#endif // TOY_PASSES_H
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_AST_H_
|
||||
#define MLIR_TUTORIAL_TOY_AST_H_
|
||||
#ifndef TOY_AST_H
|
||||
#define TOY_AST_H
|
||||
|
||||
#include "toy/Lexer.h"
|
||||
|
||||
|
@ -305,4 +305,4 @@ void dump(ModuleAST &);
|
|||
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_AST_H_
|
||||
#endif // TOY_AST_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#define MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#ifndef TOY_LEXER_H
|
||||
#define TOY_LEXER_H
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
|
@ -232,4 +232,4 @@ private:
|
|||
};
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_LEXER_H_
|
||||
#endif // TOY_LEXER_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_MLIRGEN_H_
|
||||
#define MLIR_TUTORIAL_TOY_MLIRGEN_H_
|
||||
#ifndef TOY_MLIRGEN_H
|
||||
#define TOY_MLIRGEN_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -29,4 +29,4 @@ class ModuleAST;
|
|||
mlir::OwningModuleRef mlirGen(mlir::MLIRContext &context, ModuleAST &moduleAST);
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_MLIRGEN_H_
|
||||
#endif // TOY_MLIRGEN_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#define MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#ifndef TOY_PARSER_H
|
||||
#define TOY_PARSER_H
|
||||
|
||||
#include "toy/AST.h"
|
||||
#include "toy/Lexer.h"
|
||||
|
@ -680,4 +680,4 @@ private:
|
|||
|
||||
} // namespace toy
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_PARSER_H
|
||||
#endif // TOY_PARSER_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TUTORIAL_TOY_PASSES_H
|
||||
#define MLIR_TUTORIAL_TOY_PASSES_H
|
||||
#ifndef TOY_PASSES_H
|
||||
#define TOY_PASSES_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -32,4 +32,4 @@ std::unique_ptr<mlir::Pass> createLowerToLLVMPass();
|
|||
} // namespace toy
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_TUTORIAL_TOY_PASSES_H
|
||||
#endif // TOY_PASSES_H
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_C_CONVERSIONS_H
|
||||
#define MLIR_C_CONVERSIONS_H
|
||||
#ifndef MLIR_C_CONVERSION_H
|
||||
#define MLIR_C_CONVERSION_H
|
||||
|
||||
#include "mlir-c/Support.h"
|
||||
|
||||
#include "mlir/Conversion/Passes.capi.h.inc"
|
||||
|
||||
#endif // MLIR_C_CONVERSIONS_H
|
||||
#endif // MLIR_C_CONVERSION_H
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_C_DIALECT_SPARSE_TENSOR_H
|
||||
#define MLIR_C_DIALECT_SPARSE_TENSOR_H
|
||||
#ifndef MLIR_C_DIALECT_SPARSETENSOR_H
|
||||
#define MLIR_C_DIALECT_SPARSETENSOR_H
|
||||
|
||||
#include "mlir-c/AffineMap.h"
|
||||
#include "mlir-c/Registration.h"
|
||||
|
@ -76,4 +76,4 @@ mlirSparseTensorEncodingAttrGetIndexBitWidth(MlirAttribute attr);
|
|||
|
||||
#include "mlir/Dialect/SparseTensor/Transforms/Passes.capi.h.inc"
|
||||
|
||||
#endif // MLIR_C_DIALECT_SPARSE_TENSOR_H
|
||||
#endif // MLIR_C_DIALECT_SPARSETENSOR_H
|
||||
|
|
|
@ -87,4 +87,4 @@ mlirExecutionEngineDumpToObjectFile(MlirExecutionEngine jit,
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif // EXECUTIONENGINE_H
|
||||
#endif // MLIR_C_EXECUTIONENGINE_H
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_C_DIALECT_H
|
||||
#define MLIR_C_DIALECT_H
|
||||
#ifndef MLIR_C_INTERFACES_H
|
||||
#define MLIR_C_INTERFACES_H
|
||||
|
||||
#include "mlir-c/IR.h"
|
||||
#include "mlir-c/Support.h"
|
||||
|
@ -64,4 +64,4 @@ MLIR_CAPI_EXPORTED MlirLogicalResult mlirInferTypeOpInterfaceInferReturnTypes(
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif // MLIR_C_DIALECT_H
|
||||
#endif // MLIR_C_INTERFACES_H
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_ANALYSIS_AFFINE_ANALYSIS_H
|
||||
#define MLIR_ANALYSIS_AFFINE_ANALYSIS_H
|
||||
#ifndef MLIR_ANALYSIS_AFFINEANALYSIS_H
|
||||
#define MLIR_ANALYSIS_AFFINEANALYSIS_H
|
||||
|
||||
#include "mlir/Dialect/Arithmetic/IR/Arithmetic.h"
|
||||
#include "mlir/Dialect/StandardOps/IR/Ops.h"
|
||||
|
@ -185,4 +185,4 @@ void getDependenceComponents(
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_ANALYSIS_AFFINE_ANALYSIS_H
|
||||
#endif // MLIR_ANALYSIS_AFFINEANALYSIS_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_ANALYSIS_LOOP_ANALYSIS_H
|
||||
#define MLIR_ANALYSIS_LOOP_ANALYSIS_H
|
||||
#ifndef MLIR_ANALYSIS_LOOPANALYSIS_H
|
||||
#define MLIR_ANALYSIS_LOOPANALYSIS_H
|
||||
|
||||
#include "mlir/Support/LLVM.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
|
@ -115,4 +115,4 @@ Value matchReduction(ArrayRef<BlockArgument> iterCarriedArgs, unsigned redPos,
|
|||
SmallVectorImpl<Operation *> &combinerOps);
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_ANALYSIS_LOOP_ANALYSIS_H
|
||||
#endif // MLIR_ANALYSIS_LOOPANALYSIS_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_ANALYSIS_MLFUNCTIONMATCHER_H_
|
||||
#define MLIR_ANALYSIS_MLFUNCTIONMATCHER_H_
|
||||
#ifndef MLIR_ANALYSIS_NESTEDMATCHER_H
|
||||
#define MLIR_ANALYSIS_NESTEDMATCHER_H
|
||||
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/IR/Operation.h"
|
||||
|
@ -198,4 +198,4 @@ bool isLoadOrStore(Operation &op);
|
|||
} // namespace matcher
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_ANALYSIS_MLFUNCTIONMATCHER_H_
|
||||
#endif // MLIR_ANALYSIS_NESTEDMATCHER_H
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_ANALYSIS_NUMBER_OF_EXECUTIONS_H
|
||||
#define MLIR_ANALYSIS_NUMBER_OF_EXECUTIONS_H
|
||||
#ifndef MLIR_ANALYSIS_NUMBEROFEXECUTIONS_H
|
||||
#define MLIR_ANALYSIS_NUMBEROFEXECUTIONS_H
|
||||
|
||||
#include "mlir/Support/LLVM.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
|
@ -104,4 +104,4 @@ private:
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_ANALYSIS_NUMBER_OF_EXECUTIONS_H
|
||||
#endif // MLIR_ANALYSIS_NUMBEROFEXECUTIONS_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_ANALYSIS_LINEARTRANSFORM_H
|
||||
#define MLIR_ANALYSIS_LINEARTRANSFORM_H
|
||||
#ifndef MLIR_ANALYSIS_PRESBURGER_LINEARTRANSFORM_H
|
||||
#define MLIR_ANALYSIS_PRESBURGER_LINEARTRANSFORM_H
|
||||
|
||||
#include "mlir/Analysis/Presburger/IntegerPolyhedron.h"
|
||||
#include "mlir/Analysis/Presburger/Matrix.h"
|
||||
|
@ -50,4 +50,4 @@ private:
|
|||
};
|
||||
|
||||
} // namespace mlir
|
||||
#endif // MLIR_ANALYSIS_LINEARTRANSFORM_H
|
||||
#endif // MLIR_ANALYSIS_PRESBURGER_LINEARTRANSFORM_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_ANALYSIS_PRESBURGERSET_H
|
||||
#define MLIR_ANALYSIS_PRESBURGERSET_H
|
||||
#ifndef MLIR_ANALYSIS_PRESBURGER_PRESBURGERSET_H
|
||||
#define MLIR_ANALYSIS_PRESBURGER_PRESBURGERSET_H
|
||||
|
||||
#include "mlir/Analysis/Presburger/IntegerPolyhedron.h"
|
||||
|
||||
|
@ -122,4 +122,4 @@ private:
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_ANALYSIS_PRESBURGERSET_H
|
||||
#endif // MLIR_ANALYSIS_PRESBURGER_PRESBURGERSET_H
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
// Pybind-based internals of the core libraries).
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_BINDINGS_PYTHON_PYBIND_ADAPTORS_H
|
||||
#define MLIR_BINDINGS_PYTHON_PYBIND_ADAPTORS_H
|
||||
#ifndef MLIR_BINDINGS_PYTHON_PYBINDADAPTORS_H
|
||||
#define MLIR_BINDINGS_PYTHON_PYBINDADAPTORS_H
|
||||
|
||||
#include <pybind11/pybind11.h>
|
||||
#include <pybind11/pytypes.h>
|
||||
|
@ -423,4 +423,4 @@ public:
|
|||
} // namespace python
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_BINDINGS_PYTHON_PYBIND_ADAPTORS_H
|
||||
#endif // MLIR_BINDINGS_PYTHON_PYBINDADAPTORS_H
|
||||
|
|
|
@ -242,4 +242,4 @@ public:
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_CONVERSION_LLVMCOMMON_MEMREFBUILDER_H_
|
||||
#endif // MLIR_CONVERSION_LLVMCOMMON_MEMREFBUILDER_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_CONVERSION_STANDARDTOSPIRV_LINALGTOSPIRVPASS_H
|
||||
#define MLIR_CONVERSION_STANDARDTOSPIRV_LINALGTOSPIRVPASS_H
|
||||
#ifndef MLIR_CONVERSION_LINALGTOSPIRV_LINALGTOSPIRVPASS_H
|
||||
#define MLIR_CONVERSION_LINALGTOSPIRV_LINALGTOSPIRVPASS_H
|
||||
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
|
@ -22,4 +22,4 @@ std::unique_ptr<OperationPass<ModuleOp>> createLinalgToSPIRVPass();
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_CONVERSION_STANDARDTOSPIRV_LINALGTOSPIRVPASS_H
|
||||
#endif // MLIR_CONVERSION_LINALGTOSPIRV_LINALGTOSPIRVPASS_H
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef MLIR_CONVERSION_OPENMPTOLLVM_OPENMPTOLLVM_H_
|
||||
#define MLIR_CONVERSION_OPENMPTOLLVM_OPENMPTOLLVM_H_
|
||||
#ifndef MLIR_CONVERSION_OPENMPTOLLVM_CONVERTOPENMPTOLLVM_H
|
||||
#define MLIR_CONVERSION_OPENMPTOLLVM_CONVERTOPENMPTOLLVM_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -28,4 +28,4 @@ std::unique_ptr<OperationPass<ModuleOp>> createConvertOpenMPToLLVMPass();
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_CONVERSION_OPENMPTOLLVM_OPENMPTOLLVM_H_
|
||||
#endif // MLIR_CONVERSION_OPENMPTOLLVM_CONVERTOPENMPTOLLVM_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_INCLUDE_MLIR_CONVERSION_VECTORTOSCF_VECTORTOGPU_H_
|
||||
#define MLIR_INCLUDE_MLIR_CONVERSION_VECTORTOSCF_VECTORTOGPU_H_
|
||||
#ifndef MLIR_CONVERSION_VECTORTOGPU_VECTORTOGPU_H
|
||||
#define MLIR_CONVERSION_VECTORTOGPU_VECTORTOGPU_H
|
||||
|
||||
#include "mlir/IR/PatternMatch.h"
|
||||
|
||||
|
@ -31,4 +31,4 @@ std::unique_ptr<Pass> createConvertVectorToGPUPass();
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_INCLUDE_MLIR_CONVERSION_VECTORTOSCF_VECTORTOGPU_H_
|
||||
#endif // MLIR_CONVERSION_VECTORTOGPU_VECTORTOGPU_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_INCLUDE_MLIR_CONVERSION_VECTORTOSPIRV_VECTORTOSPIRV_H
|
||||
#define MLIR_INCLUDE_MLIR_CONVERSION_VECTORTOSPIRV_VECTORTOSPIRV_H
|
||||
#ifndef MLIR_CONVERSION_VECTORTOSPIRV_VECTORTOSPIRV_H
|
||||
#define MLIR_CONVERSION_VECTORTOSPIRV_VECTORTOSPIRV_H
|
||||
|
||||
#include "mlir/Transforms/DialectConversion.h"
|
||||
|
||||
|
@ -25,4 +25,4 @@ void populateVectorToSPIRVPatterns(SPIRVTypeConverter &typeConverter,
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_INCLUDE_MLIR_CONVERSION_VECTORTOSPIRV_VECTORTOSPIRV_H
|
||||
#endif // MLIR_CONVERSION_VECTORTOSPIRV_VECTORTOSPIRV_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_CONVERSION_VECTORTOSPIRV_GPUTOSPIRVPASS_H
|
||||
#define MLIR_CONVERSION_VECTORTOSPIRV_GPUTOSPIRVPASS_H
|
||||
#ifndef MLIR_CONVERSION_VECTORTOSPIRV_VECTORTOSPIRVPASS_H
|
||||
#define MLIR_CONVERSION_VECTORTOSPIRV_VECTORTOSPIRVPASS_H
|
||||
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
|
@ -22,4 +22,4 @@ std::unique_ptr<OperationPass<ModuleOp>> createConvertVectorToSPIRVPass();
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_CONVERSION_VECTORTOSPIRV_GPUTOSPIRVPASS_H
|
||||
#endif // MLIR_CONVERSION_VECTORTOSPIRV_VECTORTOSPIRVPASS_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_AFFINE_IR_AFFINEMEMORYOPDIALECT_H_
|
||||
#define MLIR_DIALECT_AFFINE_IR_AFFINEMEMORYOPDIALECT_H_
|
||||
#ifndef MLIR_DIALECT_AFFINE_IR_AFFINEMEMORYOPINTERFACES_H
|
||||
#define MLIR_DIALECT_AFFINE_IR_AFFINEMEMORYOPINTERFACES_H
|
||||
|
||||
#include "mlir/IR/AffineMap.h"
|
||||
#include "mlir/IR/BuiltinTypes.h"
|
||||
|
@ -21,4 +21,4 @@ namespace mlir {
|
|||
#include "mlir/Dialect/Affine/IR/AffineMemoryOpInterfaces.h.inc"
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_DIALECT_AFFINE_IR_AFFINEMEMORYOPDIALECT_H_
|
||||
#endif // MLIR_DIALECT_AFFINE_IR_AFFINEMEMORYOPINTERFACES_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_AFFINE_TRANSFORMS_PASSES_H
|
||||
#define MLIR_DIALECT_AFFINE_TRANSFORMS_PASSES_H
|
||||
#ifndef MLIR_DIALECT_AFFINE_PASSES_H
|
||||
#define MLIR_DIALECT_AFFINE_PASSES_H
|
||||
|
||||
#include "mlir/Pass/Pass.h"
|
||||
#include <limits>
|
||||
|
@ -93,4 +93,4 @@ std::unique_ptr<OperationPass<FuncOp>> createSuperVectorizePass();
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_DIALECT_AFFINE_RANSFORMS_PASSES_H
|
||||
#endif // MLIR_DIALECT_AFFINE_PASSES_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_LLVMIR_TRANSFORMS_LEGALIZE_FOR_EXPORT_H
|
||||
#define MLIR_DIALECT_LLVMIR_TRANSFORMS_LEGALIZE_FOR_EXPORT_H
|
||||
#ifndef MLIR_DIALECT_LLVMIR_TRANSFORMS_LEGALIZEFOREXPORT_H
|
||||
#define MLIR_DIALECT_LLVMIR_TRANSFORMS_LEGALIZEFOREXPORT_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -31,4 +31,4 @@ std::unique_ptr<Pass> createLegalizeForExportPass();
|
|||
} // namespace LLVM
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_DIALECT_LLVMIR_TRANSFORMS_LEGALIZE_FOR_EXPORT_H
|
||||
#endif // MLIR_DIALECT_LLVMIR_TRANSFORMS_LEGALIZEFOREXPORT_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_AFFINE_INTERFACE_IMPL_H
|
||||
#define MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_AFFINE_INTERFACE_IMPL_H
|
||||
#ifndef MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_AFFINEINTERFACEIMPL_H
|
||||
#define MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_AFFINEINTERFACEIMPL_H
|
||||
|
||||
namespace mlir {
|
||||
|
||||
|
@ -24,4 +24,4 @@ void registerBufferizableOpInterfaceExternalModels(DialectRegistry ®istry);
|
|||
} // namespace linalg
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_AFFINE_INTERFACE_IMPL_H
|
||||
#endif // MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_AFFINEINTERFACEIMPL_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_ARITH_INTERFACE_IMPL_H
|
||||
#define MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_ARITH_INTERFACE_IMPL_H
|
||||
#ifndef MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_ARITHINTERFACEIMPL_H
|
||||
#define MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_ARITHINTERFACEIMPL_H
|
||||
|
||||
namespace mlir {
|
||||
|
||||
|
@ -24,4 +24,4 @@ void registerBufferizableOpInterfaceExternalModels(DialectRegistry ®istry);
|
|||
} // namespace linalg
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_ARITH_INTERFACE_IMPL_H
|
||||
#endif // MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_ARITHINTERFACEIMPL_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_BUFFERIZATION_INTERFACE_IMPL_H
|
||||
#define MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_BUFFERIZATION_INTERFACE_IMPL_H
|
||||
#ifndef MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_BUFFERIZATIONINTERFACEIMPL_H
|
||||
#define MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_BUFFERIZATIONINTERFACEIMPL_H
|
||||
|
||||
namespace mlir {
|
||||
|
||||
|
@ -24,4 +24,4 @@ void registerBufferizableOpInterfaceExternalModels(DialectRegistry ®istry);
|
|||
} // namespace linalg
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_BUFFERIZATION_INTERFACE_IMPL_H
|
||||
#endif // MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_BUFFERIZATIONINTERFACEIMPL_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_COMPREHENSIVE_BUFFERIZE_H
|
||||
#define MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_COMPREHENSIVE_BUFFERIZE_H
|
||||
#ifndef MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_COMPREHENSIVEBUFFERIZE_H
|
||||
#define MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_COMPREHENSIVEBUFFERIZE_H
|
||||
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
|
||||
|
@ -37,4 +37,4 @@ runComprehensiveBufferize(Operation *op,
|
|||
} // namespace linalg
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_COMPREHENSIVE_BUFFERIZE_H
|
||||
#endif // MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_COMPREHENSIVEBUFFERIZE_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_LINALG_INTERFACE_IMPL_H
|
||||
#define MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_LINALG_INTERFACE_IMPL_H
|
||||
#ifndef MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_LINALGINTERFACEIMPL_H
|
||||
#define MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_LINALGINTERFACEIMPL_H
|
||||
|
||||
#include "mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.h"
|
||||
|
||||
|
@ -63,4 +63,4 @@ void registerBufferizableOpInterfaceExternalModels(DialectRegistry ®istry);
|
|||
} // namespace linalg
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_LINALG_INTERFACE_IMPL_H
|
||||
#endif // MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_LINALGINTERFACEIMPL_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_MODULE_BUFFERIZATION_H
|
||||
#define MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_MODULE_BUFFERIZATION_H
|
||||
#ifndef MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_MODULEBUFFERIZATION_H
|
||||
#define MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_MODULEBUFFERIZATION_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -38,4 +38,4 @@ void registerModuleBufferizationExternalModels(DialectRegistry ®istry);
|
|||
} // namespace linalg
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_MODULE_BUFFERIZATION_H
|
||||
#endif // MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_MODULEBUFFERIZATION_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_SCF_INTERFACE_IMPL_H
|
||||
#define MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_SCF_INTERFACE_IMPL_H
|
||||
#ifndef MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_SCFINTERFACEIMPL_H
|
||||
#define MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_SCFINTERFACEIMPL_H
|
||||
|
||||
#include "mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.h"
|
||||
|
||||
|
@ -34,4 +34,4 @@ void registerBufferizableOpInterfaceExternalModels(DialectRegistry ®istry);
|
|||
} // namespace linalg
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_SCF_INTERFACE_IMPL_H
|
||||
#endif // MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_SCFINTERFACEIMPL_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_TENSOR_INTERFACE_IMPL_H
|
||||
#define MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_TENSOR_INTERFACE_IMPL_H
|
||||
#ifndef MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_TENSORINTERFACEIMPL_H
|
||||
#define MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_TENSORINTERFACEIMPL_H
|
||||
|
||||
namespace mlir {
|
||||
|
||||
|
@ -24,4 +24,4 @@ void registerBufferizableOpInterfaceExternalModels(DialectRegistry ®istry);
|
|||
} // namespace linalg
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_TENSOR_INTERFACE_IMPL_H
|
||||
#endif // MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_TENSORINTERFACEIMPL_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_VECTOR_INTERFACE_IMPL_H
|
||||
#define MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_VECTOR_INTERFACE_IMPL_H
|
||||
#ifndef MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_VECTORINTERFACEIMPL_H
|
||||
#define MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_VECTORINTERFACEIMPL_H
|
||||
|
||||
namespace mlir {
|
||||
|
||||
|
@ -24,4 +24,4 @@ void registerBufferizableOpInterfaceExternalModels(DialectRegistry ®istry);
|
|||
} // namespace linalg
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_VECTOR_INTERFACE_IMPL_H
|
||||
#endif // MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_VECTORINTERFACEIMPL_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_LINALG_LINALG_H_
|
||||
#define MLIR_DIALECT_LINALG_LINALG_H_
|
||||
#ifndef MLIR_DIALECT_LINALG_IR_LINALG_H
|
||||
#define MLIR_DIALECT_LINALG_IR_LINALG_H
|
||||
|
||||
#include "mlir/Dialect/Affine/IR/AffineOps.h"
|
||||
#include "mlir/Dialect/Arithmetic/IR/Arithmetic.h"
|
||||
|
@ -120,4 +120,4 @@ LogicalResult verifyStructuredOpInterface(Operation *op);
|
|||
#define GET_OP_CLASSES
|
||||
#include "mlir/Dialect/Linalg/IR/LinalgStructuredOps.h.inc"
|
||||
|
||||
#endif // MLIR_DIALECT_LINALG_LINALG_H_
|
||||
#endif // MLIR_DIALECT_LINALG_IR_LINALG_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_LINALG_TRANSFORMS_HOIST_PADDING_H_
|
||||
#define MLIR_DIALECT_LINALG_TRANSFORMS_HOIST_PADDING_H_
|
||||
#ifndef MLIR_DIALECT_LINALG_TRANSFORMS_HOISTPADDING_H
|
||||
#define MLIR_DIALECT_LINALG_TRANSFORMS_HOISTPADDING_H
|
||||
|
||||
#include "mlir/Support/LogicalResult.h"
|
||||
|
||||
|
@ -65,4 +65,4 @@ FailureOr<Value> hoistPaddingOnTensors(PadTensorOp opToHoist, int numLoops,
|
|||
} // namespace linalg
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_DIALECT_LINALG_TRANSFORMS_HOIST_PADDING_H_
|
||||
#endif // MLIR_DIALECT_LINALG_TRANSFORMS_HOISTPADDING_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef DIALECT_LINALG_TRANSFORMS_TRANSFORMS_H_
|
||||
#define DIALECT_LINALG_TRANSFORMS_TRANSFORMS_H_
|
||||
#ifndef MLIR_DIALECT_LINALG_TRANSFORMS_TRANSFORMS_H
|
||||
#define MLIR_DIALECT_LINALG_TRANSFORMS_TRANSFORMS_H
|
||||
|
||||
#include "mlir/Conversion/VectorToSCF/VectorToSCF.h"
|
||||
#include "mlir/Dialect/Linalg/Utils/Utils.h"
|
||||
|
@ -1390,4 +1390,4 @@ public:
|
|||
} // namespace linalg
|
||||
} // namespace mlir
|
||||
|
||||
#endif // DIALECT_LINALG_TRANSFORMS_TRANSFORMS_H_
|
||||
#endif // MLIR_DIALECT_LINALG_TRANSFORMS_TRANSFORMS_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_LINALG_UTILS_H_
|
||||
#define MLIR_DIALECT_LINALG_UTILS_H_
|
||||
#ifndef MLIR_DIALECT_LINALG_UTILS_UTILS_H
|
||||
#define MLIR_DIALECT_LINALG_UTILS_UTILS_H
|
||||
|
||||
#include "mlir/Dialect/Linalg/Analysis/DependenceAnalysis.h"
|
||||
#include "mlir/Dialect/Linalg/IR/Linalg.h"
|
||||
|
@ -431,4 +431,4 @@ struct GenerateLoopNest {
|
|||
} // namespace linalg
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_DIALECT_LINALG_UTILS_H_
|
||||
#endif // MLIR_DIALECT_LINALG_UTILS_UTILS_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_MATH_TRANSFORMATIONS_APPROXIMATION_H_
|
||||
#define MLIR_DIALECT_MATH_TRANSFORMATIONS_APPROXIMATION_H_
|
||||
#ifndef MLIR_DIALECT_MATH_TRANSFORMS_APPROXIMATION_H
|
||||
#define MLIR_DIALECT_MATH_TRANSFORMS_APPROXIMATION_H
|
||||
|
||||
#include "mlir/Dialect/Math/IR/Math.h"
|
||||
#include "mlir/IR/PatternMatch.h"
|
||||
|
@ -26,4 +26,4 @@ public:
|
|||
} // namespace math
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_DIALECT_MATH_TRANSFORMATIONS_APPROXIMATION_H_
|
||||
#endif // MLIR_DIALECT_MATH_TRANSFORMS_APPROXIMATION_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_QUANT_QUANT_TYPES_H_
|
||||
#define MLIR_DIALECT_QUANT_QUANT_TYPES_H_
|
||||
#ifndef MLIR_DIALECT_QUANT_QUANTTYPES_H
|
||||
#define MLIR_DIALECT_QUANT_QUANTTYPES_H
|
||||
|
||||
#include "mlir/IR/Attributes.h"
|
||||
#include "mlir/IR/Builders.h"
|
||||
|
@ -408,4 +408,4 @@ public:
|
|||
} // namespace quant
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_DIALECT_QUANT_QUANT_TYPES_H_
|
||||
#endif // MLIR_DIALECT_QUANT_QUANTTYPES_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_SCF_H_
|
||||
#define MLIR_DIALECT_SCF_H_
|
||||
#ifndef MLIR_DIALECT_SCF_SCF_H
|
||||
#define MLIR_DIALECT_SCF_SCF_H
|
||||
|
||||
#include "mlir/Dialect/Arithmetic/IR/Arithmetic.h"
|
||||
#include "mlir/IR/Attributes.h"
|
||||
|
@ -98,4 +98,4 @@ LoopNest buildLoopNest(OpBuilder &builder, Location loc, ValueRange lbs,
|
|||
|
||||
} // namespace scf
|
||||
} // namespace mlir
|
||||
#endif // MLIR_DIALECT_SCF_H_
|
||||
#endif // MLIR_DIALECT_SCF_SCF_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_SPIRV_SPIRVCONVERSION_H
|
||||
#define MLIR_DIALECT_SPIRV_SPIRVCONVERSION_H
|
||||
#ifndef MLIR_DIALECT_SPIRV_TRANSFORMS_SPIRVCONVERSION_H
|
||||
#define MLIR_DIALECT_SPIRV_TRANSFORMS_SPIRVCONVERSION_H
|
||||
|
||||
#include "mlir/Dialect/SPIRV/IR/SPIRVAttributes.h"
|
||||
#include "mlir/Dialect/SPIRV/IR/SPIRVTypes.h"
|
||||
|
@ -168,4 +168,4 @@ spirv::AccessChainOp getElementPtr(SPIRVTypeConverter &typeConverter,
|
|||
} // namespace spirv
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_DIALECT_SPIRV_SPIRVCONVERSION_H
|
||||
#endif // MLIR_DIALECT_SPIRV_TRANSFORMS_SPIRVCONVERSION_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_SHAPE_IR_SHAPE_H
|
||||
#define MLIR_SHAPE_IR_SHAPE_H
|
||||
#ifndef MLIR_DIALECT_SHAPE_IR_SHAPE_H
|
||||
#define MLIR_DIALECT_SHAPE_IR_SHAPE_H
|
||||
|
||||
#include "mlir/Dialect/Arithmetic/IR/Arithmetic.h"
|
||||
#include "mlir/Dialect/Tensor/IR/Tensor.h"
|
||||
|
@ -74,4 +74,4 @@ public:
|
|||
|
||||
#include "mlir/Dialect/Shape/IR/ShapeOpsDialect.h.inc"
|
||||
|
||||
#endif // MLIR_SHAPE_IR_SHAPE_H
|
||||
#endif // MLIR_DIALECT_SHAPE_IR_SHAPE_H
|
||||
|
|
|
@ -42,4 +42,4 @@ class PatternRewriter;
|
|||
|
||||
#include "mlir/Dialect/StandardOps/IR/OpsDialect.h.inc"
|
||||
|
||||
#endif // MLIR_DIALECT_IR_STANDARDOPS_IR_OPS_H
|
||||
#endif // MLIR_DIALECT_STANDARDOPS_IR_OPS_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_STANDARD_TRANSFORMS_PASSES_H_
|
||||
#define MLIR_DIALECT_STANDARD_TRANSFORMS_PASSES_H_
|
||||
#ifndef MLIR_DIALECT_STANDARDOPS_TRANSFORMS_PASSES_H
|
||||
#define MLIR_DIALECT_STANDARDOPS_TRANSFORMS_PASSES_H
|
||||
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
|
@ -65,4 +65,4 @@ void populateStdExpandOpsPatterns(RewritePatternSet &patterns);
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_DIALECT_STANDARD_TRANSFORMS_PASSES_H_
|
||||
#endif // MLIR_DIALECT_STANDARDOPS_TRANSFORMS_PASSES_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef DIALECT_TOSA_UTILS_QUANT_UTILS_H
|
||||
#define DIALECT_TOSA_UTILS_QUANT_UTILS_H
|
||||
#ifndef MLIR_DIALECT_TOSA_UTILS_QUANTUTILS_H
|
||||
#define MLIR_DIALECT_TOSA_UTILS_QUANTUTILS_H
|
||||
|
||||
#include "mlir/Dialect/Tosa/IR/TosaOps.h"
|
||||
|
||||
|
@ -68,4 +68,4 @@ TypeAttr buildQTypeAttrFromMinMax(OpBuilder builder, Type inputDType,
|
|||
} // namespace tosa
|
||||
} // namespace mlir
|
||||
|
||||
#endif // DIALECT_TOSA_UTILS_QUANT_UTILS_H
|
||||
#endif // MLIR_DIALECT_TOSA_UTILS_QUANTUTILS_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DIALECT_TRAITS
|
||||
#define MLIR_DIALECT_TRAITS
|
||||
#ifndef MLIR_DIALECT_TRAITS_H
|
||||
#define MLIR_DIALECT_TRAITS_H
|
||||
|
||||
#include "mlir/IR/OpDefinition.h"
|
||||
|
||||
|
@ -96,4 +96,4 @@ public:
|
|||
} // namespace OpTrait
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_DIALECT_TRAITS
|
||||
#endif // MLIR_DIALECT_TRAITS_H
|
||||
|
|
|
@ -191,4 +191,4 @@ protected:
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_UTILS_STRUCTUREDOPSUTILS_H
|
||||
#endif // MLIR_DIALECT_UTILS_STRUCTUREDOPSUTILS_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef DIALECT_VECTOR_VECTORREWRITEPATTERNS_H_
|
||||
#define DIALECT_VECTOR_VECTORREWRITEPATTERNS_H_
|
||||
#ifndef MLIR_DIALECT_VECTOR_VECTORREWRITEPATTERNS_H
|
||||
#define MLIR_DIALECT_VECTOR_VECTORREWRITEPATTERNS_H
|
||||
|
||||
#include "mlir/Dialect/Vector/VectorOps.h"
|
||||
#include "mlir/Dialect/Vector/VectorUtils.h"
|
||||
|
@ -504,4 +504,4 @@ private:
|
|||
} // namespace vector
|
||||
} // namespace mlir
|
||||
|
||||
#endif // DIALECT_VECTOR_VECTORREWRITEPATTERNS_H_
|
||||
#endif // MLIR_DIALECT_VECTOR_VECTORREWRITEPATTERNS_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef DIALECT_VECTOR_VECTORTRANSFORMS_H_
|
||||
#define DIALECT_VECTOR_VECTORTRANSFORMS_H_
|
||||
#ifndef MLIR_DIALECT_VECTOR_VECTORTRANSFORMS_H
|
||||
#define MLIR_DIALECT_VECTOR_VECTORTRANSFORMS_H
|
||||
|
||||
#include "mlir/Dialect/Vector/VectorRewritePatterns.h"
|
||||
#include "mlir/Dialect/Vector/VectorUtils.h"
|
||||
|
@ -96,4 +96,4 @@ void transferOpflowOpt(FuncOp func);
|
|||
} // namespace vector
|
||||
} // namespace mlir
|
||||
|
||||
#endif // DIALECT_VECTOR_VECTORTRANSFORMS_H_
|
||||
#endif // MLIR_DIALECT_VECTOR_VECTORTRANSFORMS_H
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef EXECUTIONENGINE_CRUNNERUTILS_H_
|
||||
#define EXECUTIONENGINE_CRUNNERUTILS_H_
|
||||
#ifndef MLIR_EXECUTIONENGINE_CRUNNERUTILS_H
|
||||
#define MLIR_EXECUTIONENGINE_CRUNNERUTILS_H
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef MLIR_CRUNNERUTILS_EXPORT
|
||||
|
@ -356,4 +356,4 @@ extern "C" MLIR_CRUNNERUTILS_EXPORT void printNewline();
|
|||
extern "C" MLIR_CRUNNERUTILS_EXPORT void print_flops(double flops);
|
||||
extern "C" MLIR_CRUNNERUTILS_EXPORT double rtclock();
|
||||
|
||||
#endif // EXECUTIONENGINE_CRUNNERUTILS_H_
|
||||
#endif // MLIR_EXECUTIONENGINE_CRUNNERUTILS_H
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_SUPPORT_JITRUNNER_H_
|
||||
#define MLIR_SUPPORT_JITRUNNER_H_
|
||||
#ifndef MLIR_EXECUTIONENGINE_JITRUNNER_H
|
||||
#define MLIR_EXECUTIONENGINE_JITRUNNER_H
|
||||
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/ExecutionEngine/Orc/Core.h"
|
||||
|
@ -61,4 +61,4 @@ int JitRunnerMain(int argc, char **argv, const DialectRegistry ®istry,
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_SUPPORT_JITRUNNER_H_
|
||||
#endif // MLIR_EXECUTIONENGINE_JITRUNNER_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_EXECUTIONENGINE_OPTUTILS_H_
|
||||
#define MLIR_EXECUTIONENGINE_OPTUTILS_H_
|
||||
#ifndef MLIR_EXECUTIONENGINE_OPTUTILS_H
|
||||
#define MLIR_EXECUTIONENGINE_OPTUTILS_H
|
||||
|
||||
#include "llvm/Pass.h"
|
||||
|
||||
|
@ -54,4 +54,4 @@ makeLLVMPassesTransformer(llvm::ArrayRef<const llvm::PassInfo *> llvmPasses,
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // LIR_EXECUTIONENGINE_OPTUTILS_H_
|
||||
#endif // MLIR_EXECUTIONENGINE_OPTUTILS_H
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef EXECUTIONENGINE_RUNNERUTILS_H_
|
||||
#define EXECUTIONENGINE_RUNNERUTILS_H_
|
||||
#ifndef MLIR_EXECUTIONENGINE_RUNNERUTILS_H
|
||||
#define MLIR_EXECUTIONENGINE_RUNNERUTILS_H
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef MLIR_RUNNERUTILS_EXPORT
|
||||
|
@ -399,4 +399,4 @@ extern "C" MLIR_RUNNERUTILS_EXPORT int64_t verifyMemRefF64(int64_t rank,
|
|||
void *actualPtr,
|
||||
void *expectedPtr);
|
||||
|
||||
#endif // EXECUTIONENGINE_RUNNERUTILS_H_
|
||||
#endif // MLIR_EXECUTIONENGINE_RUNNERUTILS_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_IR_AFFINE_EXPR_H
|
||||
#define MLIR_IR_AFFINE_EXPR_H
|
||||
#ifndef MLIR_IR_AFFINEEXPR_H
|
||||
#define MLIR_IR_AFFINEEXPR_H
|
||||
|
||||
#include "mlir/Support/LLVM.h"
|
||||
#include "llvm/ADT/DenseMapInfo.h"
|
||||
|
@ -361,4 +361,4 @@ struct DenseMapInfo<mlir::AffineExpr> {
|
|||
|
||||
} // namespace llvm
|
||||
|
||||
#endif // MLIR_IR_AFFINE_EXPR_H
|
||||
#endif // MLIR_IR_AFFINEEXPR_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_IR_AFFINE_EXPR_VISITOR_H
|
||||
#define MLIR_IR_AFFINE_EXPR_VISITOR_H
|
||||
#ifndef MLIR_IR_AFFINEEXPRVISITOR_H
|
||||
#define MLIR_IR_AFFINEEXPRVISITOR_H
|
||||
|
||||
#include "mlir/IR/AffineExpr.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
|
@ -342,4 +342,4 @@ private:
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_IR_AFFINE_EXPR_VISITOR_H
|
||||
#endif // MLIR_IR_AFFINEEXPRVISITOR_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_IR_AFFINE_MAP_H
|
||||
#define MLIR_IR_AFFINE_MAP_H
|
||||
#ifndef MLIR_IR_AFFINEMAP_H
|
||||
#define MLIR_IR_AFFINEMAP_H
|
||||
|
||||
#include "mlir/IR/AffineExpr.h"
|
||||
#include "mlir/Support/LLVM.h"
|
||||
|
@ -592,4 +592,4 @@ struct DenseMapInfo<mlir::AffineMap> {
|
|||
|
||||
} // namespace llvm
|
||||
|
||||
#endif // MLIR_IR_AFFINE_MAP_H
|
||||
#endif // MLIR_IR_AFFINEMAP_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_IR_BLOCK_SUPPORT_H
|
||||
#define MLIR_IR_BLOCK_SUPPORT_H
|
||||
#ifndef MLIR_IR_BLOCKSUPPORT_H
|
||||
#define MLIR_IR_BLOCKSUPPORT_H
|
||||
|
||||
#include "mlir/IR/Value.h"
|
||||
#include "llvm/ADT/PointerUnion.h"
|
||||
|
@ -259,4 +259,4 @@ private:
|
|||
|
||||
} // namespace llvm
|
||||
|
||||
#endif // MLIR_IR_BLOCK_SUPPORT_H
|
||||
#endif // MLIR_IR_BLOCKSUPPORT_H
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_IR_INTEGER_SET_H
|
||||
#define MLIR_IR_INTEGER_SET_H
|
||||
#ifndef MLIR_IR_INTEGERSET_H
|
||||
#define MLIR_IR_INTEGERSET_H
|
||||
|
||||
#include "mlir/IR/AffineExpr.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
|
@ -146,4 +146,4 @@ template <> struct DenseMapInfo<mlir::IntegerSet> {
|
|||
};
|
||||
|
||||
} // namespace llvm
|
||||
#endif // MLIR_IR_INTEGER_SET_H
|
||||
#endif // MLIR_IR_INTEGERSET_H
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_MATCHERS_H
|
||||
#define MLIR_MATCHERS_H
|
||||
#ifndef MLIR_IR_MATCHERS_H
|
||||
#define MLIR_IR_MATCHERS_H
|
||||
|
||||
#include "mlir/IR/BuiltinTypes.h"
|
||||
#include "mlir/IR/OpDefinition.h"
|
||||
|
@ -296,4 +296,4 @@ inline auto m_Val(Value v) { return detail::PatternMatcherValue(v); }
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_MATCHERS_H
|
||||
#endif // MLIR_IR_MATCHERS_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_IR_OPERATION_SUPPORT_H
|
||||
#define MLIR_IR_OPERATION_SUPPORT_H
|
||||
#ifndef MLIR_IR_OPERATIONSUPPORT_H
|
||||
#define MLIR_IR_OPERATIONSUPPORT_H
|
||||
|
||||
#include "mlir/IR/BlockSupport.h"
|
||||
#include "mlir/IR/BuiltinAttributes.h"
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_PATTERNMATCHER_H
|
||||
#define MLIR_PATTERNMATCHER_H
|
||||
#ifndef MLIR_IR_PATTERNMATCH_H
|
||||
#define MLIR_IR_PATTERNMATCH_H
|
||||
|
||||
#include "mlir/IR/Builders.h"
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
|
@ -1091,4 +1091,4 @@ private:
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_PATTERN_MATCH_H
|
||||
#endif // MLIR_IR_PATTERNMATCH_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_INTERFACES_SUBELEMENTINTERFACES_H
|
||||
#define MLIR_INTERFACES_SUBELEMENTINTERFACES_H
|
||||
#ifndef MLIR_IR_SUBELEMENTINTERFACES_H
|
||||
#define MLIR_IR_SUBELEMENTINTERFACES_H
|
||||
|
||||
#include "mlir/IR/Attributes.h"
|
||||
#include "mlir/IR/Types.h"
|
||||
|
@ -21,4 +21,4 @@
|
|||
#include "mlir/IR/SubElementAttrInterfaces.h.inc"
|
||||
#include "mlir/IR/SubElementTypeInterfaces.h.inc"
|
||||
|
||||
#endif // MLIR_INTERFACES_SUBELEMENTINTERFACES_H
|
||||
#endif // MLIR_IR_SUBELEMENTINTERFACES_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_IR_TYPE_SUPPORT_H
|
||||
#define MLIR_IR_TYPE_SUPPORT_H
|
||||
#ifndef MLIR_IR_TYPESUPPORT_H
|
||||
#define MLIR_IR_TYPESUPPORT_H
|
||||
|
||||
#include "mlir/IR/MLIRContext.h"
|
||||
#include "mlir/IR/StorageUniquerSupport.h"
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_SUPPORT_TYPEUTILITIES_H
|
||||
#define MLIR_SUPPORT_TYPEUTILITIES_H
|
||||
#ifndef MLIR_IR_TYPEUTILITIES_H
|
||||
#define MLIR_IR_TYPEUTILITIES_H
|
||||
|
||||
#include "mlir/IR/Operation.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
|
@ -99,4 +99,4 @@ using ResultElementTypeRange = iterator_range<ResultElementTypeIterator>;
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_SUPPORT_TYPEUTILITIES_H
|
||||
#endif // MLIR_IR_TYPEUTILITIES_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_INTERFACES_SIDEEFFECTS_H
|
||||
#define MLIR_INTERFACES_SIDEEFFECTS_H
|
||||
#ifndef MLIR_INTERFACES_SIDEEFFECTINTERFACES_H
|
||||
#define MLIR_INTERFACES_SIDEEFFECTINTERFACES_H
|
||||
|
||||
#include "mlir/IR/OpDefinition.h"
|
||||
|
||||
|
@ -266,4 +266,4 @@ bool wouldOpBeTriviallyDead(Operation *op);
|
|||
/// Include the definitions of the side effect interfaces.
|
||||
#include "mlir/Interfaces/SideEffectInterfaces.h.inc"
|
||||
|
||||
#endif // MLIR_INTERFACES_SIDEEFFECTS_H
|
||||
#endif // MLIR_INTERFACES_SIDEEFFECTINTERFACES_H
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_DEBUGSTRINGHELPER_H_
|
||||
#define MLIR_DEBUGSTRINGHELPER_H_
|
||||
#ifndef MLIR_SUPPORT_DEBUGSTRINGHELPER_H
|
||||
#define MLIR_SUPPORT_DEBUGSTRINGHELPER_H
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -40,4 +40,4 @@ inline std::ostream &operator<<(std::ostream &out, const llvm::Twine &twine) {
|
|||
return out;
|
||||
}
|
||||
|
||||
#endif // MLIR_DEBUGSTRINGHELPER_H_
|
||||
#endif // MLIR_SUPPORT_DEBUGSTRINGHELPER_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_SUPPORT_LOGICAL_RESULT_H
|
||||
#define MLIR_SUPPORT_LOGICAL_RESULT_H
|
||||
#ifndef MLIR_SUPPORT_LOGICALRESULT_H
|
||||
#define MLIR_SUPPORT_LOGICALRESULT_H
|
||||
|
||||
#include "mlir/Support/LLVM.h"
|
||||
#include "llvm/ADT/Optional.h"
|
||||
|
@ -100,4 +100,4 @@ private:
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_SUPPORT_LOGICAL_RESULT_H
|
||||
#endif // MLIR_SUPPORT_LOGICALRESULT_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TARGET_SPIRV_BINARY_UTILS_H_
|
||||
#define MLIR_TARGET_SPIRV_BINARY_UTILS_H_
|
||||
#ifndef MLIR_TARGET_SPIRV_SPIRVBINARYUTILS_H
|
||||
#define MLIR_TARGET_SPIRV_SPIRVBINARYUTILS_H
|
||||
|
||||
#include "mlir/Dialect/SPIRV/IR/SPIRVEnums.h"
|
||||
#include "mlir/Support/LLVM.h"
|
||||
|
@ -54,4 +54,4 @@ inline StringRef decodeStringLiteral(ArrayRef<uint32_t> words,
|
|||
} // namespace spirv
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_TARGET_SPIRV_BINARY_UTILS_H_
|
||||
#endif // MLIR_TARGET_SPIRV_SPIRVBINARYUTILS_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TOOLS_PDLL_AST_DIAGNOSTICS_H_
|
||||
#define MLIR_TOOLS_PDLL_AST_DIAGNOSTICS_H_
|
||||
#ifndef MLIR_TOOLS_PDLL_AST_DIAGNOSTIC_H
|
||||
#define MLIR_TOOLS_PDLL_AST_DIAGNOSTIC_H
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -179,4 +179,4 @@ private:
|
|||
} // namespace pdll
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_TOOLS_PDLL_AST_DIAGNOSTICS_H_
|
||||
#endif // MLIR_TOOLS_PDLL_AST_DIAGNOSTIC_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TOOLS_MLIRLSPSERVER_MLIRLSPSERVERMAIN_H
|
||||
#define MLIR_TOOLS_MLIRLSPSERVER_MLIRLSPSERVERMAIN_H
|
||||
#ifndef MLIR_TOOLS_MLIR_LSP_SERVER_MLIRLSPSERVERMAIN_H
|
||||
#define MLIR_TOOLS_MLIR_LSP_SERVER_MLIRLSPSERVERMAIN_H
|
||||
|
||||
namespace mlir {
|
||||
class DialectRegistry;
|
||||
|
@ -25,4 +25,4 @@ LogicalResult MlirLspServerMain(int argc, char **argv,
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_TOOLS_MLIRLSPSERVER_MLIRLSPSERVERMAIN_H
|
||||
#endif // MLIR_TOOLS_MLIR_LSP_SERVER_MLIRLSPSERVERMAIN_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TOOLS_MLIRREDUCE_MLIRREDUCEMAIN_H
|
||||
#define MLIR_TOOLS_MLIRREDUCE_MLIRREDUCEMAIN_H
|
||||
#ifndef MLIR_TOOLS_MLIR_REDUCE_MLIRREDUCEMAIN_H
|
||||
#define MLIR_TOOLS_MLIR_REDUCE_MLIRREDUCEMAIN_H
|
||||
|
||||
#include "mlir/Support/LogicalResult.h"
|
||||
|
||||
|
@ -19,4 +19,4 @@ LogicalResult mlirReduceMain(int argc, char **argv, MLIRContext &context);
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_TOOLS_MLIRREDUCE_MLIRREDUCEMAIN_H
|
||||
#endif // MLIR_TOOLS_MLIR_REDUCE_MLIRREDUCEMAIN_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TRANSFORMS_INLINING_UTILS_H
|
||||
#define MLIR_TRANSFORMS_INLINING_UTILS_H
|
||||
#ifndef MLIR_TRANSFORMS_INLININGUTILS_H
|
||||
#define MLIR_TRANSFORMS_INLININGUTILS_H
|
||||
|
||||
#include "mlir/IR/DialectInterface.h"
|
||||
#include "mlir/IR/Location.h"
|
||||
|
@ -246,4 +246,4 @@ LogicalResult inlineCall(InlinerInterface &interface, CallOpInterface call,
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_TRANSFORMS_INLINING_UTILS_H
|
||||
#endif // MLIR_TRANSFORMS_INLININGUTILS_H
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef MLIR_TRANSFORMS_LOOP_FUSION_UTILS_H
|
||||
#define MLIR_TRANSFORMS_LOOP_FUSION_UTILS_H
|
||||
#ifndef MLIR_TRANSFORMS_LOOPFUSIONUTILS_H
|
||||
#define MLIR_TRANSFORMS_LOOPFUSIONUTILS_H
|
||||
|
||||
#include "mlir/IR/Value.h"
|
||||
#include "mlir/Support/LLVM.h"
|
||||
|
@ -167,4 +167,4 @@ void gatherProducerConsumerMemrefs(ArrayRef<Operation *> srcOps,
|
|||
DenseSet<Value> &producerConsumerMemrefs);
|
||||
} // namespace mlir
|
||||
|
||||
#endif // MLIR_TRANSFORMS_LOOP_FUSION_UTILS_H
|
||||
#endif // MLIR_TRANSFORMS_LOOPFUSIONUTILS_H
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue