File tree Expand file tree Collapse file tree 36 files changed +345
-29
lines changed Expand file tree Collapse file tree 36 files changed +345
-29
lines changed Original file line number Diff line number Diff line change 1010//
1111// ===----------------------------------------------------------------------===//
1212
13+ #include " toy/AST.h"
1314#include " toy/Dialect.h"
15+ #include " toy/Lexer.h"
1416#include " toy/MLIRGen.h"
1517#include " toy/Parser.h"
1618#include < memory>
19+ #include < string>
20+ #include < system_error>
21+ #include < utility>
1722
1823#include " mlir/IR/AsmState.h"
1924#include " mlir/IR/BuiltinOps.h"
2025#include " mlir/IR/MLIRContext.h"
21- #include " mlir/IR/Verifier.h"
2226#include " mlir/Parser/Parser.h"
2327
2428#include " llvm/ADT/StringRef.h"
Original file line number Diff line number Diff line change 1313
1414#include " toy/Dialect.h"
1515
16+ #include " mlir/IR/Attributes.h"
1617#include " mlir/IR/Builders.h"
1718#include " mlir/IR/BuiltinTypes.h"
1819#include " mlir/IR/OpImplementation.h"
20+ #include " mlir/IR/Operation.h"
21+ #include " mlir/IR/OperationSupport.h"
22+ #include " mlir/IR/Value.h"
1923#include " mlir/Interfaces/FunctionImplementation.h"
24+ #include " mlir/Support/LLVM.h"
25+ #include " mlir/Support/LogicalResult.h"
26+ #include " llvm/ADT/ArrayRef.h"
27+ #include " llvm/ADT/STLExtras.h"
28+ #include " llvm/ADT/StringRef.h"
29+ #include " llvm/Support/Casting.h"
30+ #include < algorithm>
31+ #include < string>
2032
2133using namespace mlir ;
2234using namespace mlir ::toy;
Original file line number Diff line number Diff line change 1212// ===----------------------------------------------------------------------===//
1313
1414#include " toy/MLIRGen.h"
15+ #include " mlir/IR/Block.h"
16+ #include " mlir/IR/Diagnostics.h"
17+ #include " mlir/IR/Value.h"
18+ #include " mlir/Support/LogicalResult.h"
1519#include " toy/AST.h"
1620#include " toy/Dialect.h"
1721
18- #include " mlir/IR/Attributes.h"
1922#include " mlir/IR/Builders.h"
2023#include " mlir/IR/BuiltinOps.h"
2124#include " mlir/IR/BuiltinTypes.h"
2225#include " mlir/IR/MLIRContext.h"
2326#include " mlir/IR/Verifier.h"
27+ #include " toy/Lexer.h"
2428
2529#include " llvm/ADT/STLExtras.h"
2630#include " llvm/ADT/ScopedHashTable.h"
27- #include " llvm/Support/raw_ostream.h"
31+ #include " llvm/ADT/SmallVector.h"
32+ #include " llvm/ADT/StringRef.h"
33+ #include " llvm/ADT/Twine.h"
34+ #include < cassert>
35+ #include < cstdint>
36+ #include < functional>
2837#include < numeric>
38+ #include < optional>
39+ #include < vector>
2940
3041using namespace mlir ::toy;
3142using namespace toy ;
Original file line number Diff line number Diff line change 1111//
1212// ===----------------------------------------------------------------------===//
1313
14- #include " mlir/IR/Matchers .h"
14+ #include " mlir/IR/MLIRContext .h"
1515#include " mlir/IR/PatternMatch.h"
16+ #include " mlir/IR/Value.h"
17+ #include " mlir/Support/LogicalResult.h"
1618#include " toy/Dialect.h"
17- #include < numeric>
1819using namespace mlir ;
1920using namespace toy ;
2021
Original file line number Diff line number Diff line change 1212
1313#include " toy/AST.h"
1414
15+ #include " llvm/ADT/STLExtras.h"
1516#include " llvm/ADT/Twine.h"
1617#include " llvm/ADT/TypeSwitch.h"
18+ #include " llvm/Support/Casting.h"
1719#include " llvm/Support/raw_ostream.h"
20+ #include < string>
1821
1922using namespace toy ;
2023
Original file line number Diff line number Diff line change 1010//
1111// ===----------------------------------------------------------------------===//
1212
13+ #include " mlir/IR/Diagnostics.h"
14+ #include " mlir/Support/LogicalResult.h"
15+ #include " toy/AST.h"
1316#include " toy/Dialect.h"
17+ #include " toy/Lexer.h"
1418#include " toy/MLIRGen.h"
1519#include " toy/Parser.h"
1620
1923#include " mlir/IR/MLIRContext.h"
2024#include " mlir/IR/Verifier.h"
2125#include " mlir/Parser/Parser.h"
22- #include " mlir/Pass/Pass.h"
2326#include " mlir/Pass/PassManager.h"
2427#include " mlir/Transforms/Passes.h"
2528
2932#include " llvm/Support/MemoryBuffer.h"
3033#include " llvm/Support/SourceMgr.h"
3134#include " llvm/Support/raw_ostream.h"
35+ #include < memory>
36+ #include < string>
37+ #include < system_error>
38+ #include < utility>
3239
3340using namespace toy ;
3441namespace cl = llvm::cl;
Original file line number Diff line number Diff line change 1313
1414#include " toy/Dialect.h"
1515
16+ #include " mlir/IR/Attributes.h"
1617#include " mlir/IR/Builders.h"
1718#include " mlir/IR/BuiltinTypes.h"
19+ #include " mlir/IR/Location.h"
1820#include " mlir/IR/OpImplementation.h"
21+ #include " mlir/IR/OperationSupport.h"
22+ #include " mlir/IR/ValueRange.h"
23+ #include " mlir/Interfaces/CallInterfaces.h"
1924#include " mlir/Interfaces/FunctionImplementation.h"
25+ #include " mlir/Support/LLVM.h"
26+ #include " mlir/Support/LogicalResult.h"
2027#include " mlir/Transforms/InliningUtils.h"
28+ #include " llvm/ADT/ArrayRef.h"
29+ #include " llvm/ADT/STLExtras.h"
30+ #include " llvm/ADT/StringRef.h"
31+ #include " llvm/Support/Casting.h"
32+ #include < algorithm>
33+ #include < cassert>
34+ #include < cstdint>
35+ #include < string>
2136
2237using namespace mlir ;
2338using namespace mlir ::toy;
Original file line number Diff line number Diff line change 1212// ===----------------------------------------------------------------------===//
1313
1414#include " toy/MLIRGen.h"
15+ #include " mlir/IR/Block.h"
16+ #include " mlir/IR/Diagnostics.h"
17+ #include " mlir/IR/Value.h"
18+ #include " mlir/Support/LogicalResult.h"
1519#include " toy/AST.h"
1620#include " toy/Dialect.h"
1721
18- #include " mlir/IR/Attributes.h"
1922#include " mlir/IR/Builders.h"
2023#include " mlir/IR/BuiltinOps.h"
2124#include " mlir/IR/BuiltinTypes.h"
2225#include " mlir/IR/MLIRContext.h"
2326#include " mlir/IR/Verifier.h"
27+ #include " toy/Lexer.h"
2428
2529#include " llvm/ADT/STLExtras.h"
2630#include " llvm/ADT/ScopedHashTable.h"
27- #include " llvm/Support/raw_ostream.h"
31+ #include " llvm/ADT/SmallVector.h"
32+ #include " llvm/ADT/StringRef.h"
33+ #include " llvm/ADT/Twine.h"
34+ #include < cassert>
35+ #include < cstdint>
36+ #include < functional>
2837#include < numeric>
38+ #include < optional>
39+ #include < vector>
2940
3041using namespace mlir ::toy;
3142using namespace toy ;
Original file line number Diff line number Diff line change 1111//
1212// ===----------------------------------------------------------------------===//
1313
14+ #include " mlir/IR/BuiltinTypes.h"
15+ #include " mlir/IR/Operation.h"
16+ #include " mlir/IR/Types.h"
1417#include " mlir/Pass/Pass.h"
18+ #include " mlir/Support/LLVM.h"
19+ #include " mlir/Support/TypeID.h"
1520#include " toy/Dialect.h"
1621#include " toy/Passes.h"
1722#include " toy/ShapeInferenceInterface.h"
23+ #include " llvm/ADT/STLExtras.h"
1824#include " llvm/ADT/SmallPtrSet.h"
25+ #include " llvm/Support/Casting.h"
1926#include " llvm/Support/Debug.h"
2027#include " llvm/Support/raw_ostream.h"
28+ #include < memory>
2129
2230#define DEBUG_TYPE " shape-inference"
2331
Original file line number Diff line number Diff line change 1111//
1212// ===----------------------------------------------------------------------===//
1313
14- #include " mlir/IR/Matchers .h"
14+ #include " mlir/IR/MLIRContext .h"
1515#include " mlir/IR/PatternMatch.h"
16+ #include " mlir/IR/Value.h"
17+ #include " mlir/Support/LogicalResult.h"
1618#include " toy/Dialect.h"
17- #include < numeric>
1819using namespace mlir ;
1920using namespace toy ;
2021
You can’t perform that action at this time.
0 commit comments