Change comment of the external repo #include file origin.

PiperOrigin-RevId: 302466710
Change-Id: I4d87c4272dbedc2b1ccee3ffbdc3be9690b7b480
This commit is contained in:
Christian Sigg 2020-03-23 10:40:00 -07:00 committed by TensorFlower Gardener
parent 1c785fedcd
commit fa3b55e940
308 changed files with 1682 additions and 1682 deletions

View File

@ -15,7 +15,7 @@ limitations under the License.
#include "tensorflow/c/eager/dlpack.h" #include "tensorflow/c/eager/dlpack.h"
#include "include/dlpack/dlpack.h" // TF:dlpack #include "include/dlpack/dlpack.h" // from @dlpack
#include "tensorflow/c/eager/c_api_internal.h" #include "tensorflow/c/eager/c_api_internal.h"
#include "tensorflow/c/tf_status_helper.h" #include "tensorflow/c/tf_status_helper.h"
#include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor.h"

View File

@ -27,10 +27,10 @@ limitations under the License.
#include "llvm/TableGen/Main.h" #include "llvm/TableGen/Main.h"
#include "llvm/TableGen/Record.h" #include "llvm/TableGen/Record.h"
#include "llvm/TableGen/TableGenBackend.h" #include "llvm/TableGen/TableGenBackend.h"
#include "mlir/TableGen/Attribute.h" // TF:llvm-project #include "mlir/TableGen/Attribute.h" // from @llvm-project
#include "mlir/TableGen/Format.h" // TF:llvm-project #include "mlir/TableGen/Format.h" // from @llvm-project
#include "mlir/TableGen/Operator.h" // TF:llvm-project #include "mlir/TableGen/Operator.h" // from @llvm-project
#include "mlir/TableGen/Predicate.h" // TF:llvm-project #include "mlir/TableGen/Predicate.h" // from @llvm-project
using llvm::DefInit; using llvm::DefInit;
using llvm::dyn_cast; using llvm::dyn_cast;

View File

@ -18,7 +18,7 @@ limitations under the License.
#include <cstdarg> #include <cstdarg>
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "tensorflow/lite/core/api/error_reporter.h" #include "tensorflow/lite/core/api/error_reporter.h"
namespace tflite { namespace tflite {

View File

@ -16,7 +16,7 @@ limitations under the License.
#define TENSORFLOW_COMPILER_MLIR_LITE_EXPERIMENTAL_ESTIMATORS_ESTIMATOR_H_ #define TENSORFLOW_COMPILER_MLIR_LITE_EXPERIMENTAL_ESTIMATORS_ESTIMATOR_H_
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h.inc" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h.inc"
namespace hardware { namespace hardware {

View File

@ -44,24 +44,24 @@ limitations under the License.
#include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/SourceMgr.h" #include "llvm/Support/SourceMgr.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "mlir/Dialect/Quant/QuantOps.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantOps.h" // from @llvm-project
#include "mlir/Dialect/Quant/QuantTypes.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantTypes.h" // from @llvm-project
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Diagnostics.h" // TF:llvm-project #include "mlir/IR/Diagnostics.h" // from @llvm-project
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/Location.h" // TF:llvm-project #include "mlir/IR/Location.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "mlir/IR/OperationSupport.h" // TF:llvm-project #include "mlir/IR/OperationSupport.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/Types.h" // TF:llvm-project #include "mlir/IR/Types.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Support/Functional.h" // TF:llvm-project #include "mlir/Support/Functional.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "mlir/Translation.h" // TF:llvm-project #include "mlir/Translation.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/flatbuffer_operator.h" #include "tensorflow/compiler/mlir/lite/flatbuffer_operator.h"
#include "tensorflow/compiler/mlir/lite/flatbuffer_translate.h" #include "tensorflow/compiler/mlir/lite/flatbuffer_translate.h"
#include "tensorflow/compiler/mlir/lite/flatbuffer_translate_flags.h" #include "tensorflow/compiler/mlir/lite/flatbuffer_translate_flags.h"

View File

@ -17,9 +17,9 @@ limitations under the License.
#define TENSORFLOW_COMPILER_MLIR_LITE_FLATBUFFER_IMPORT_H_ #define TENSORFLOW_COMPILER_MLIR_LITE_FLATBUFFER_IMPORT_H_
#include "absl/strings/string_view.h" #include "absl/strings/string_view.h"
#include "mlir/IR/Location.h" // TF:llvm-project #include "mlir/IR/Location.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
namespace tflite { namespace tflite {
// Converts a TFLite flatbuffer stored in `buffer` to a MLIR module // Converts a TFLite flatbuffer stored in `buffer` to a MLIR module

View File

@ -18,12 +18,12 @@ limitations under the License.
#include <vector> #include <vector>
#include "absl/strings/str_cat.h" #include "absl/strings/str_cat.h"
#include "flatbuffers/flexbuffers.h" // TF:flatbuffers #include "flatbuffers/flexbuffers.h" // from @flatbuffers
#include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringSwitch.h" #include "llvm/ADT/StringSwitch.h"
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
#include "tensorflow/compiler/xla/statusor.h" #include "tensorflow/compiler/xla/statusor.h"

View File

@ -23,12 +23,12 @@ limitations under the License.
#include <vector> #include <vector>
#include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_map.h"
#include "flatbuffers/flatbuffers.h" // TF:flatbuffers #include "flatbuffers/flatbuffers.h" // from @flatbuffers
#include "llvm/ADT/Optional.h" #include "llvm/ADT/Optional.h"
#include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SmallVector.h"
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "tensorflow/core/platform/status.h" #include "tensorflow/core/platform/status.h"
#include "tensorflow/lite/schema/schema_generated.h" #include "tensorflow/lite/schema/schema_generated.h"

View File

@ -23,8 +23,8 @@ limitations under the License.
#include <iostream> #include <iostream>
#include <string> #include <string>
#include "flatbuffers/flatbuffers.h" // TF:flatbuffers #include "flatbuffers/flatbuffers.h" // from @flatbuffers
#include "flatbuffers/minireflect.h" // TF:flatbuffers #include "flatbuffers/minireflect.h" // from @flatbuffers
#include "tensorflow/lite/schema/reflection/schema_generated.h" #include "tensorflow/lite/schema/reflection/schema_generated.h"
namespace tflite { namespace tflite {

View File

@ -31,8 +31,8 @@ limitations under the License.
#include "absl/strings/str_cat.h" #include "absl/strings/str_cat.h"
#include "absl/strings/str_join.h" #include "absl/strings/str_join.h"
#include "absl/strings/string_view.h" #include "absl/strings/string_view.h"
#include "flatbuffers/flatbuffers.h" // TF:flatbuffers #include "flatbuffers/flatbuffers.h" // from @flatbuffers
#include "flatbuffers/flexbuffers.h" // TF:flatbuffers #include "flatbuffers/flexbuffers.h" // from @flatbuffers
#include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/None.h" #include "llvm/ADT/None.h"
@ -42,20 +42,20 @@ limitations under the License.
#include "llvm/Support/FormatVariadic.h" #include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/ToolOutputFile.h" #include "llvm/Support/ToolOutputFile.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "mlir/Dialect/Quant/QuantTypes.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantTypes.h" // from @llvm-project
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/Location.h" // TF:llvm-project #include "mlir/IR/Location.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/Types.h" // TF:llvm-project #include "mlir/IR/Types.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "mlir/Translation.h" // TF:llvm-project #include "mlir/Translation.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/flatbuffer_operator.h" #include "tensorflow/compiler/mlir/lite/flatbuffer_operator.h"
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
#include "tensorflow/compiler/mlir/lite/utils/convert_type.h" #include "tensorflow/compiler/mlir/lite/utils/convert_type.h"

View File

@ -18,7 +18,7 @@ limitations under the License.
#include <string> #include <string>
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "tensorflow/compiler/mlir/op_or_arg_name_mapper.h" #include "tensorflow/compiler/mlir/op_or_arg_name_mapper.h"
namespace tflite { namespace tflite {

View File

@ -26,19 +26,19 @@ limitations under the License.
#include "llvm/ADT/SetVector.h" #include "llvm/ADT/SetVector.h"
#include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SmallVector.h"
#include "llvm/Support/FormatVariadic.h" #include "llvm/Support/FormatVariadic.h"
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Matchers.h" // TF:llvm-project #include "mlir/IR/Matchers.h" // from @llvm-project
#include "mlir/IR/OpImplementation.h" // TF:llvm-project #include "mlir/IR/OpImplementation.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/TypeUtilities.h" // TF:llvm-project #include "mlir/IR/TypeUtilities.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "mlir/Transforms/FoldUtils.h" // TF:llvm-project #include "mlir/Transforms/FoldUtils.h" // from @llvm-project
#include "mlir/Transforms/InliningUtils.h" // TF:llvm-project #include "mlir/Transforms/InliningUtils.h" // from @llvm-project
#include "mlir/Transforms/RegionUtils.h" // TF:llvm-project #include "mlir/Transforms/RegionUtils.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
namespace mlir { namespace mlir {

View File

@ -18,18 +18,18 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_MLIR_LITE_IR_TFL_OPS_H_ #ifndef TENSORFLOW_COMPILER_MLIR_LITE_IR_TFL_OPS_H_
#define TENSORFLOW_COMPILER_MLIR_LITE_IR_TFL_OPS_H_ #define TENSORFLOW_COMPILER_MLIR_LITE_IR_TFL_OPS_H_
#include "mlir/Dialect/Quant/QuantOps.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantOps.h" // from @llvm-project
#include "mlir/Dialect/Traits.h" // TF:llvm-project #include "mlir/Dialect/Traits.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Dialect.h" // TF:llvm-project #include "mlir/IR/Dialect.h" // from @llvm-project
#include "mlir/IR/OpImplementation.h" // TF:llvm-project #include "mlir/IR/OpImplementation.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/Interfaces/DerivedAttributeOpInterface.h" // TF:llvm-project #include "mlir/Interfaces/DerivedAttributeOpInterface.h" // from @llvm-project
#include "mlir/Interfaces/LoopLikeInterface.h" // TF:llvm-project #include "mlir/Interfaces/LoopLikeInterface.h" // from @llvm-project
#include "mlir/Interfaces/SideEffects.h" // TF:llvm-project #include "mlir/Interfaces/SideEffects.h" // from @llvm-project
#include "mlir/Support/Functional.h" // TF:llvm-project #include "mlir/Support/Functional.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/quantization/quantization_traits.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_traits.h"
#include "tensorflow/lite/schema/schema_generated.h" #include "tensorflow/lite/schema/schema_generated.h"

View File

@ -30,10 +30,10 @@ limitations under the License.
#include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/SMLoc.h" #include "llvm/Support/SMLoc.h"
#include "llvm/Support/SourceMgr.h" #include "llvm/Support/SourceMgr.h"
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/Parser.h" // TF:llvm-project #include "mlir/Parser.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/flatbuffer_translate.h" #include "tensorflow/compiler/mlir/lite/flatbuffer_translate.h"
#include "tensorflow/compiler/mlir/lite/flatbuffer_translate_flags.h" #include "tensorflow/compiler/mlir/lite/flatbuffer_translate_flags.h"
#include "tensorflow/core/platform/init_main.h" #include "tensorflow/core/platform/init_main.h"

View File

@ -19,11 +19,11 @@ limitations under the License.
#include <utility> #include <utility>
#include "llvm/Support/ToolOutputFile.h" #include "llvm/Support/ToolOutputFile.h"
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Support/FileUtilities.h" // TF:llvm-project #include "mlir/Support/FileUtilities.h" // from @llvm-project
#include "mlir/Transforms/ViewOpGraph.h" // TF:llvm-project #include "mlir/Transforms/ViewOpGraph.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h" #include "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h"
#include "tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.h" #include "tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.h"
#include "tensorflow/compiler/mlir/lite/tf_tfl_passes.h" #include "tensorflow/compiler/mlir/lite/tf_tfl_passes.h"

View File

@ -17,11 +17,11 @@ limitations under the License.
#include <utility> #include <utility>
#include "llvm/Support/ToolOutputFile.h" #include "llvm/Support/ToolOutputFile.h"
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Support/FileUtilities.h" // TF:llvm-project #include "mlir/Support/FileUtilities.h" // from @llvm-project
#include "mlir/Transforms/ViewOpGraph.h" // TF:llvm-project #include "mlir/Transforms/ViewOpGraph.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h" #include "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h"
#include "tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.h" #include "tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.h"
#include "tensorflow/compiler/mlir/lite/tf_tfl_passes.h" #include "tensorflow/compiler/mlir/lite/tf_tfl_passes.h"

View File

@ -18,11 +18,11 @@ limitations under the License.
#include <utility> #include <utility>
#include "llvm/Support/ToolOutputFile.h" #include "llvm/Support/ToolOutputFile.h"
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Support/FileUtilities.h" // TF:llvm-project #include "mlir/Support/FileUtilities.h" // from @llvm-project
#include "mlir/Transforms/ViewOpGraph.h" // TF:llvm-project #include "mlir/Transforms/ViewOpGraph.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h" #include "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h"
#include "tensorflow/compiler/mlir/lite/tf_tfl_passes.h" #include "tensorflow/compiler/mlir/lite/tf_tfl_passes.h"
#include "tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.h" #include "tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.h"

View File

@ -18,7 +18,7 @@ limitations under the License.
#include <ostream> #include <ostream>
#include <utility> #include <utility>
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h" #include "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h"
#include "tensorflow/compiler/mlir/lite/transforms/passes.h" #include "tensorflow/compiler/mlir/lite/transforms/passes.h"
#include "tensorflow/lite/toco/model_flags.pb.h" #include "tensorflow/lite/toco/model_flags.pb.h"

View File

@ -23,18 +23,18 @@ limitations under the License.
#include "llvm/ADT/StringSwitch.h" #include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/Regex.h" #include "llvm/Support/Regex.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "mlir/Dialect/Quant/FakeQuantSupport.h" // TF:llvm-project #include "mlir/Dialect/Quant/FakeQuantSupport.h" // from @llvm-project
#include "mlir/Dialect/Quant/QuantOps.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantOps.h" // from @llvm-project
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/AffineExpr.h" // TF:llvm-project #include "mlir/IR/AffineExpr.h" // from @llvm-project
#include "mlir/IR/AffineMap.h" // TF:llvm-project #include "mlir/IR/AffineMap.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Location.h" // TF:llvm-project #include "mlir/IR/Location.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Support/Functional.h" // TF:llvm-project #include "mlir/Support/Functional.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/quantization/quantization_info.pb.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_info.pb.h"
#include "tensorflow/compiler/mlir/lite/quantization/quantization_passes.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_passes.h"
#include "tensorflow/compiler/mlir/tensorflow/utils/import_utils.h" #include "tensorflow/compiler/mlir/tensorflow/utils/import_utils.h"

View File

@ -17,11 +17,11 @@ limitations under the License.
#include "absl/strings/string_view.h" #include "absl/strings/string_view.h"
#include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SmallVector.h"
#include "mlir/IR/Location.h" // TF:llvm-project #include "mlir/IR/Location.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Pass/PassManager.h" // TF:llvm-project #include "mlir/Pass/PassManager.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h" #include "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h"
#include "tensorflow/compiler/mlir/lite/flatbuffer_import.h" #include "tensorflow/compiler/mlir/lite/flatbuffer_import.h"
#include "tensorflow/compiler/mlir/lite/flatbuffer_translate.h" #include "tensorflow/compiler/mlir/lite/flatbuffer_translate.h"

View File

@ -15,7 +15,7 @@ limitations under the License.
#include "tensorflow/compiler/mlir/lite/quantization/lite/tfl_to_std.h" #include "tensorflow/compiler/mlir/lite/quantization/lite/tfl_to_std.h"
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "mlir/Dialect/Quant/QuantOps.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantOps.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
namespace mlir { namespace mlir {

View File

@ -15,7 +15,7 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_MLIR_LITE_QUANTIZATION_LITE_TFL_TO_STD_H_ #ifndef TENSORFLOW_COMPILER_MLIR_LITE_QUANTIZATION_LITE_TFL_TO_STD_H_
#define TENSORFLOW_COMPILER_MLIR_LITE_QUANTIZATION_LITE_TFL_TO_STD_H_ #define TENSORFLOW_COMPILER_MLIR_LITE_QUANTIZATION_LITE_TFL_TO_STD_H_
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
namespace mlir { namespace mlir {
namespace TFL { namespace TFL {

View File

@ -24,18 +24,18 @@ limitations under the License.
#include "llvm/Support/Debug.h" #include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h" #include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "mlir/Dialect/Quant/QuantOps.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantOps.h" // from @llvm-project
#include "mlir/Dialect/Quant/QuantTypes.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantTypes.h" // from @llvm-project
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Matchers.h" // TF:llvm-project #include "mlir/IR/Matchers.h" // from @llvm-project
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/quantization/quantization_traits.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_traits.h"
#include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h"
#include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/logging.h"

View File

@ -16,8 +16,8 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_MLIR_LITE_QUANTIZATION_QUANTIZATION_PASSES_H_ #ifndef TENSORFLOW_COMPILER_MLIR_LITE_QUANTIZATION_QUANTIZATION_PASSES_H_
#define TENSORFLOW_COMPILER_MLIR_LITE_QUANTIZATION_QUANTIZATION_PASSES_H_ #define TENSORFLOW_COMPILER_MLIR_LITE_QUANTIZATION_QUANTIZATION_PASSES_H_
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Pass/PassManager.h" // TF:llvm-project #include "mlir/Pass/PassManager.h" // from @llvm-project
namespace mlir { namespace mlir {
namespace quant { namespace quant {

View File

@ -18,8 +18,8 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_MLIR_LITE_QUANTIZATION_QUANTIZATION_TRAITS_H_ #ifndef TENSORFLOW_COMPILER_MLIR_LITE_QUANTIZATION_QUANTIZATION_TRAITS_H_
#define TENSORFLOW_COMPILER_MLIR_LITE_QUANTIZATION_QUANTIZATION_TRAITS_H_ #define TENSORFLOW_COMPILER_MLIR_LITE_QUANTIZATION_QUANTIZATION_TRAITS_H_
#include "mlir/Dialect/Quant/QuantTypes.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantTypes.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
namespace mlir { namespace mlir {
namespace OpTrait { namespace OpTrait {

View File

@ -22,15 +22,15 @@ limitations under the License.
#include "llvm/ADT/STLExtras.h" #include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SmallVector.h"
#include "mlir/Dialect/Quant/FakeQuantSupport.h" // TF:llvm-project #include "mlir/Dialect/Quant/FakeQuantSupport.h" // from @llvm-project
#include "mlir/Dialect/Quant/QuantOps.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantOps.h" // from @llvm-project
#include "mlir/Dialect/Quant/QuantTypes.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantTypes.h" // from @llvm-project
#include "mlir/Dialect/Quant/QuantizeUtils.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantizeUtils.h" // from @llvm-project
#include "mlir/Dialect/Quant/UniformSupport.h" // TF:llvm-project #include "mlir/Dialect/Quant/UniformSupport.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
namespace mlir { namespace mlir {
namespace quant { namespace quant {

View File

@ -23,18 +23,18 @@ limitations under the License.
#include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SmallVector.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "mlir/Dialect/Quant/FakeQuantSupport.h" // TF:llvm-project #include "mlir/Dialect/Quant/FakeQuantSupport.h" // from @llvm-project
#include "mlir/Dialect/Quant/QuantOps.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantOps.h" // from @llvm-project
#include "mlir/Dialect/Quant/QuantTypes.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantTypes.h" // from @llvm-project
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/BlockAndValueMapping.h" // TF:llvm-project #include "mlir/IR/BlockAndValueMapping.h" // from @llvm-project
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Matchers.h" // TF:llvm-project #include "mlir/IR/Matchers.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/quantization/quantization_traits.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_traits.h"
namespace mlir { namespace mlir {

View File

@ -18,8 +18,8 @@ limitations under the License.
#include <memory> #include <memory>
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
namespace mlir { namespace mlir {
namespace TF { namespace TF {

View File

@ -12,9 +12,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==============================================================================*/ ==============================================================================*/
#include "mlir/Dialect/Quant/QuantOps.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantOps.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h"
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"

View File

@ -20,7 +20,7 @@ limitations under the License.
#include "llvm/TableGen/Main.h" #include "llvm/TableGen/Main.h"
#include "llvm/TableGen/Record.h" #include "llvm/TableGen/Record.h"
#include "llvm/TableGen/TableGenBackend.h" #include "llvm/TableGen/TableGenBackend.h"
#include "mlir/TableGen/Operator.h" // TF:llvm-project #include "mlir/TableGen/Operator.h" // from @llvm-project
using llvm::LessRecord; using llvm::LessRecord;
using llvm::raw_ostream; using llvm::raw_ostream;

View File

@ -27,18 +27,18 @@ limitations under the License.
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "llvm/Support/CommandLine.h" #include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h" #include "llvm/Support/Debug.h"
#include "mlir/Dialect/Quant/QuantOps.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantOps.h" // from @llvm-project
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/BlockAndValueMapping.h" // TF:llvm-project #include "mlir/IR/BlockAndValueMapping.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "mlir/Transforms/DialectConversion.h" // TF:llvm-project #include "mlir/Transforms/DialectConversion.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/quantization/quantization_config.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_config.h"
#include "tensorflow/compiler/mlir/lite/quantization/quantization_traits.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_traits.h"
#include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h"

View File

@ -25,14 +25,14 @@ limitations under the License.
#include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringRef.h"
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "llvm/Support/CommandLine.h" #include "llvm/Support/CommandLine.h"
#include "mlir/Dialect/Quant/QuantOps.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantOps.h" // from @llvm-project
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/quantization/quantization_config.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_config.h"
#include "tensorflow/compiler/mlir/lite/quantization/quantization_traits.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_traits.h"
#include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h"

View File

@ -18,8 +18,8 @@ limitations under the License.
#include <memory> #include <memory>
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
namespace mlir { namespace mlir {
namespace xla_hlo { namespace xla_hlo {

View File

@ -21,10 +21,10 @@ limitations under the License.
#include "llvm/ADT/STLExtras.h" #include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringRef.h"
#include "llvm/Support/CommandLine.h" #include "llvm/Support/CommandLine.h"
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/quantization/quantization_config.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_config.h"
#include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h"

View File

@ -14,14 +14,14 @@ limitations under the License.
==============================================================================*/ ==============================================================================*/
#include "tensorflow/compiler/mlir/lite/quantization/xla/quantize.h" #include "tensorflow/compiler/mlir/lite/quantization/xla/quantize.h"
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Pass/PassManager.h" // TF:llvm-project #include "mlir/Pass/PassManager.h" // from @llvm-project
#include "mlir/Transforms/Passes.h" // TF:llvm-project #include "mlir/Transforms/Passes.h" // from @llvm-project
#include "tensorflow/compiler/mlir/xla/hlo_to_mlir_hlo.h" #include "tensorflow/compiler/mlir/xla/hlo_to_mlir_hlo.h"
#include "tensorflow/compiler/mlir/xla/ir/hlo_ops.h" #include "tensorflow/compiler/mlir/xla/ir/hlo_ops.h"
#include "tensorflow/compiler/tf2xla/tf2xla.h" #include "tensorflow/compiler/tf2xla/tf2xla.h"

View File

@ -17,11 +17,11 @@ limitations under the License.
#include "absl/strings/string_view.h" #include "absl/strings/string_view.h"
#include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SmallVector.h"
#include "mlir/IR/Location.h" // TF:llvm-project #include "mlir/IR/Location.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Pass/PassManager.h" // TF:llvm-project #include "mlir/Pass/PassManager.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h" #include "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h"
#include "tensorflow/compiler/mlir/lite/flatbuffer_import.h" #include "tensorflow/compiler/mlir/lite/flatbuffer_import.h"
#include "tensorflow/compiler/mlir/lite/flatbuffer_translate.h" #include "tensorflow/compiler/mlir/lite/flatbuffer_translate.h"

View File

@ -15,11 +15,11 @@ limitations under the License.
#include "tensorflow/compiler/mlir/lite/tf_tfl_passes.h" #include "tensorflow/compiler/mlir/lite/tf_tfl_passes.h"
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Pass/PassManager.h" // TF:llvm-project #include "mlir/Pass/PassManager.h" // from @llvm-project
#include "mlir/Transforms/Passes.h" // TF:llvm-project #include "mlir/Transforms/Passes.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/quantization/quantization_config.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_config.h"
#include "tensorflow/compiler/mlir/lite/quantization/quantization_passes.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_passes.h"
#include "tensorflow/compiler/mlir/lite/transforms/passes.h" #include "tensorflow/compiler/mlir/lite/transforms/passes.h"

View File

@ -16,8 +16,8 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_MLIR_LITE_TF_TFL_PASSES_H_ #ifndef TENSORFLOW_COMPILER_MLIR_LITE_TF_TFL_PASSES_H_
#define TENSORFLOW_COMPILER_MLIR_LITE_TF_TFL_PASSES_H_ #define TENSORFLOW_COMPILER_MLIR_LITE_TF_TFL_PASSES_H_
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/Pass/PassManager.h" // TF:llvm-project #include "mlir/Pass/PassManager.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h" #include "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h"
namespace tensorflow { namespace tensorflow {

View File

@ -20,12 +20,12 @@ limitations under the License.
#include "llvm/Support/InitLLVM.h" #include "llvm/Support/InitLLVM.h"
#include "llvm/Support/SourceMgr.h" #include "llvm/Support/SourceMgr.h"
#include "llvm/Support/ToolOutputFile.h" #include "llvm/Support/ToolOutputFile.h"
#include "mlir/IR/Diagnostics.h" // TF:llvm-project #include "mlir/IR/Diagnostics.h" // from @llvm-project
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Support/FileUtilities.h" // TF:llvm-project #include "mlir/Support/FileUtilities.h" // from @llvm-project
#include "tensorflow/compiler/mlir/init_mlir.h" #include "tensorflow/compiler/mlir/init_mlir.h"
#include "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h" #include "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h"
#include "tensorflow/compiler/mlir/lite/flatbuffer_translate.h" #include "tensorflow/compiler/mlir/lite/flatbuffer_translate.h"

View File

@ -19,12 +19,12 @@ limitations under the License.
#include <unordered_set> #include <unordered_set>
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/Parser.h" // TF:llvm-project #include "mlir/Parser.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Support/FileUtilities.h" // TF:llvm-project #include "mlir/Support/FileUtilities.h" // from @llvm-project
#include "mlir/Transforms/Passes.h" // TF:llvm-project #include "mlir/Transforms/Passes.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/flatbuffer_translate.h" #include "tensorflow/compiler/mlir/lite/flatbuffer_translate.h"
#include "tensorflow/compiler/mlir/lite/quantization/quantization_config.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_config.h"
#include "tensorflow/compiler/mlir/lite/transforms/passes.h" #include "tensorflow/compiler/mlir/lite/transforms/passes.h"

View File

@ -17,9 +17,9 @@ limitations under the License.
#define TENSORFLOW_COMPILER_MLIR_LITE_TF_TO_TFL_FLATBUFFER_H_ #define TENSORFLOW_COMPILER_MLIR_LITE_TF_TO_TFL_FLATBUFFER_H_
#include "llvm/Support/SourceMgr.h" #include "llvm/Support/SourceMgr.h"
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/Pass/PassManager.h" // TF:llvm-project #include "mlir/Pass/PassManager.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h" #include "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h"
#include "tensorflow/compiler/mlir/lite/quantization/quantization_config.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_config.h"
#include "tensorflow/stream_executor/lib/statusor.h" #include "tensorflow/stream_executor/lib/statusor.h"

View File

@ -25,9 +25,9 @@ limitations under the License.
#include "absl/memory/memory.h" #include "absl/memory/memory.h"
#include "llvm/ADT/STLExtras.h" #include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringSwitch.h" #include "llvm/ADT/StringSwitch.h"
#include "mlir/Dialect/Quant/FakeQuantSupport.h" // TF:llvm-project #include "mlir/Dialect/Quant/FakeQuantSupport.h" // from @llvm-project
#include "mlir/Dialect/Quant/QuantOps.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantOps.h" // from @llvm-project
#include "mlir/IR/Location.h" // TF:llvm-project #include "mlir/IR/Location.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
#include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h"

View File

@ -16,9 +16,9 @@ limitations under the License.
// This transformation pass convert dense tensor to sparse format. // This transformation pass convert dense tensor to sparse format.
#include "absl/memory/memory.h" #include "absl/memory/memory.h"
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//

View File

@ -21,12 +21,12 @@ limitations under the License.
#include <cstdint> #include <cstdint>
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Matchers.h" // TF:llvm-project #include "mlir/IR/Matchers.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/TypeUtilities.h" // TF:llvm-project #include "mlir/IR/TypeUtilities.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/utils/validators.h" #include "tensorflow/compiler/mlir/lite/utils/validators.h"
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"

View File

@ -21,26 +21,26 @@ limitations under the License.
#include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h" #include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "mlir/Analysis/LoopAnalysis.h" // TF:llvm-project #include "mlir/Analysis/LoopAnalysis.h" // from @llvm-project
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Block.h" // TF:llvm-project #include "mlir/IR/Block.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "mlir/IR/OperationSupport.h" // TF:llvm-project #include "mlir/IR/OperationSupport.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/SymbolTable.h" // TF:llvm-project #include "mlir/IR/SymbolTable.h" // from @llvm-project
#include "mlir/IR/Types.h" // TF:llvm-project #include "mlir/IR/Types.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Pass/PassRegistry.h" // TF:llvm-project #include "mlir/Pass/PassRegistry.h" // from @llvm-project
#include "mlir/Support/Functional.h" // TF:llvm-project #include "mlir/Support/Functional.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
#include "tensorflow/compiler/mlir/lite/transforms/passes.h" #include "tensorflow/compiler/mlir/lite/transforms/passes.h"
#include "tensorflow/compiler/mlir/lite/utils/attribute_utils.h" #include "tensorflow/compiler/mlir/lite/utils/attribute_utils.h"

View File

@ -15,23 +15,23 @@ limitations under the License.
#include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringMap.h"
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Block.h" // TF:llvm-project #include "mlir/IR/Block.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "mlir/IR/OperationSupport.h" // TF:llvm-project #include "mlir/IR/OperationSupport.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/SymbolTable.h" // TF:llvm-project #include "mlir/IR/SymbolTable.h" // from @llvm-project
#include "mlir/IR/Types.h" // TF:llvm-project #include "mlir/IR/Types.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Pass/PassRegistry.h" // TF:llvm-project #include "mlir/Pass/PassRegistry.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
namespace mlir { namespace mlir {

View File

@ -28,17 +28,17 @@ limitations under the License.
#include "llvm/ADT/APInt.h" #include "llvm/ADT/APInt.h"
#include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringSwitch.h" #include "llvm/ADT/StringSwitch.h"
#include "mlir/Dialect/Quant/FakeQuantSupport.h" // TF:llvm-project #include "mlir/Dialect/Quant/FakeQuantSupport.h" // from @llvm-project
#include "mlir/Dialect/Quant/UniformSupport.h" // TF:llvm-project #include "mlir/Dialect/Quant/UniformSupport.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Support/Functional.h" // TF:llvm-project #include "mlir/Support/Functional.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "mlir/Transforms/DialectConversion.h" // TF:llvm-project #include "mlir/Transforms/DialectConversion.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
#include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h"
#include "tensorflow/compiler/mlir/lite/transforms/passes.h" #include "tensorflow/compiler/mlir/lite/transforms/passes.h"

View File

@ -15,12 +15,12 @@ limitations under the License.
// Converts TF While to TFL While with single call in body and cond. // Converts TF While to TFL While with single call in body and cond.
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
#include "tensorflow/compiler/mlir/lite/transforms/passes.h" #include "tensorflow/compiler/mlir/lite/transforms/passes.h"
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"

View File

@ -19,11 +19,11 @@ limitations under the License.
#include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/None.h" #include "llvm/ADT/None.h"
#include "llvm/ADT/Optional.h" #include "llvm/ADT/Optional.h"
#include "mlir/Dialect/Quant/QuantTypes.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantTypes.h" // from @llvm-project
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
#include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h"
#include "tensorflow/compiler/mlir/lite/transforms/passes.h" #include "tensorflow/compiler/mlir/lite/transforms/passes.h"

View File

@ -31,28 +31,28 @@ limitations under the License.
#include "llvm/ADT/StringSwitch.h" #include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "llvm/Support/Debug.h" #include "llvm/Support/Debug.h"
#include "mlir/Analysis/LoopAnalysis.h" // TF:llvm-project #include "mlir/Analysis/LoopAnalysis.h" // from @llvm-project
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Block.h" // TF:llvm-project #include "mlir/IR/Block.h" // from @llvm-project
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Matchers.h" // TF:llvm-project #include "mlir/IR/Matchers.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "mlir/IR/OperationSupport.h" // TF:llvm-project #include "mlir/IR/OperationSupport.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/SymbolTable.h" // TF:llvm-project #include "mlir/IR/SymbolTable.h" // from @llvm-project
#include "mlir/IR/TypeUtilities.h" // TF:llvm-project #include "mlir/IR/TypeUtilities.h" // from @llvm-project
#include "mlir/IR/Types.h" // TF:llvm-project #include "mlir/IR/Types.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Pass/PassRegistry.h" // TF:llvm-project #include "mlir/Pass/PassRegistry.h" // from @llvm-project
#include "mlir/Support/Functional.h" // TF:llvm-project #include "mlir/Support/Functional.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "mlir/Transforms/DialectConversion.h" // TF:llvm-project #include "mlir/Transforms/DialectConversion.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
#include "tensorflow/compiler/mlir/lite/transforms/passes.h" #include "tensorflow/compiler/mlir/lite/transforms/passes.h"
#include "tensorflow/compiler/mlir/lite/utils/attribute_utils.h" #include "tensorflow/compiler/mlir/lite/utils/attribute_utils.h"

View File

@ -31,14 +31,14 @@ limitations under the License.
#include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h" #include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Matchers.h" // TF:llvm-project #include "mlir/IR/Matchers.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Support/Functional.h" // TF:llvm-project #include "mlir/Support/Functional.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
#include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h"
#include "tensorflow/compiler/mlir/lite/transforms/passes.h" #include "tensorflow/compiler/mlir/lite/transforms/passes.h"

View File

@ -17,15 +17,15 @@ limitations under the License.
#include "llvm/ADT/STLExtras.h" #include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallSet.h" #include "llvm/ADT/SmallSet.h"
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/BlockAndValueMapping.h" // TF:llvm-project #include "mlir/IR/BlockAndValueMapping.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/TypeUtilities.h" // TF:llvm-project #include "mlir/IR/TypeUtilities.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
namespace mlir { namespace mlir {

View File

@ -16,8 +16,8 @@ limitations under the License.
// This transformation pass applies some clean up steps after quantization. // This transformation pass applies some clean up steps after quantization.
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
#include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h"
#include "tensorflow/compiler/mlir/lite/transforms/passes.h" #include "tensorflow/compiler/mlir/lite/transforms/passes.h"

View File

@ -23,21 +23,21 @@ limitations under the License.
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "llvm/Support/CommandLine.h" #include "llvm/Support/CommandLine.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/Identifier.h" // TF:llvm-project #include "mlir/IR/Identifier.h" // from @llvm-project
#include "mlir/IR/Location.h" // TF:llvm-project #include "mlir/IR/Location.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/SymbolTable.h" // TF:llvm-project #include "mlir/IR/SymbolTable.h" // from @llvm-project
#include "mlir/Interfaces/CallInterfaces.h" // TF:llvm-project #include "mlir/Interfaces/CallInterfaces.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
#include "tensorflow/compiler/mlir/lite/transforms/passes.h" #include "tensorflow/compiler/mlir/lite/transforms/passes.h"
#include "tensorflow/compiler/mlir/lite/utils/lstm_utils.h" #include "tensorflow/compiler/mlir/lite/utils/lstm_utils.h"

View File

@ -22,11 +22,11 @@ limitations under the License.
#include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringRef.h"
#include "llvm/Support/CommandLine.h" #include "llvm/Support/CommandLine.h"
#include "mlir/Dialect/Quant/QuantOps.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantOps.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
#include "tensorflow/compiler/mlir/lite/quantization/lite/tfl_to_std.h" #include "tensorflow/compiler/mlir/lite/quantization/lite/tfl_to_std.h"
#include "tensorflow/compiler/mlir/lite/quantization/quantization_config.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_config.h"

View File

@ -38,17 +38,17 @@ limitations under the License.
#include "llvm/ADT/StringSwitch.h" #include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "llvm/Support/Debug.h" #include "llvm/Support/Debug.h"
#include "mlir/Analysis/LoopAnalysis.h" // TF:llvm-project #include "mlir/Analysis/LoopAnalysis.h" // from @llvm-project
#include "mlir/Dialect/Quant/FakeQuantSupport.h" // TF:llvm-project #include "mlir/Dialect/Quant/FakeQuantSupport.h" // from @llvm-project
#include "mlir/Dialect/Quant/UniformSupport.h" // TF:llvm-project #include "mlir/Dialect/Quant/UniformSupport.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Support/Functional.h" // TF:llvm-project #include "mlir/Support/Functional.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
#include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h"
#include "tensorflow/compiler/mlir/lite/transforms/dilated_conv.h" #include "tensorflow/compiler/mlir/lite/transforms/dilated_conv.h"

View File

@ -19,17 +19,17 @@ limitations under the License.
#include "llvm/ADT/StringSwitch.h" #include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "llvm/Support/Debug.h" #include "llvm/Support/Debug.h"
#include "mlir/Dialect/Quant/QuantTypes.h" // TF:llvm-project #include "mlir/Dialect/Quant/QuantTypes.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Matchers.h" // TF:llvm-project #include "mlir/IR/Matchers.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "mlir/IR/OperationSupport.h" // TF:llvm-project #include "mlir/IR/OperationSupport.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Support/Functional.h" // TF:llvm-project #include "mlir/Support/Functional.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
#include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h" #include "tensorflow/compiler/mlir/lite/quantization/quantization_utils.h"
#include "tensorflow/compiler/mlir/lite/transforms/passes.h" #include "tensorflow/compiler/mlir/lite/transforms/passes.h"

View File

@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==============================================================================*/ ==============================================================================*/
#include "mlir/IR/OperationSupport.h" // TF:llvm-project #include "mlir/IR/OperationSupport.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
namespace mlir { namespace mlir {

View File

@ -18,24 +18,24 @@ limitations under the License.
#include "llvm/ADT/DenseSet.h" #include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringMap.h"
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Block.h" // TF:llvm-project #include "mlir/IR/Block.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Matchers.h" // TF:llvm-project #include "mlir/IR/Matchers.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "mlir/IR/OperationSupport.h" // TF:llvm-project #include "mlir/IR/OperationSupport.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/SymbolTable.h" // TF:llvm-project #include "mlir/IR/SymbolTable.h" // from @llvm-project
#include "mlir/IR/Types.h" // TF:llvm-project #include "mlir/IR/Types.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Pass/PassRegistry.h" // TF:llvm-project #include "mlir/Pass/PassRegistry.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
#include "tensorflow/compiler/mlir/lite/utils/stateful_ops_utils.h" #include "tensorflow/compiler/mlir/lite/utils/stateful_ops_utils.h"

View File

@ -20,13 +20,13 @@ limitations under the License.
#include "llvm/ADT/STLExtras.h" #include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SetVector.h" #include "llvm/ADT/SetVector.h"
#include "llvm/Support/CommandLine.h" #include "llvm/Support/CommandLine.h"
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Identifier.h" // TF:llvm-project #include "mlir/IR/Identifier.h" // from @llvm-project
#include "mlir/IR/Location.h" // TF:llvm-project #include "mlir/IR/Location.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/SymbolTable.h" // TF:llvm-project #include "mlir/IR/SymbolTable.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/transforms/passes.h" #include "tensorflow/compiler/mlir/lite/transforms/passes.h"
// The cmd line flag to specify the whitelist of functions. Rest are trimmed // The cmd line flag to specify the whitelist of functions. Rest are trimmed

View File

@ -17,15 +17,15 @@ limitations under the License.
#include "llvm/ADT/STLExtras.h" #include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SetVector.h" #include "llvm/ADT/SetVector.h"
#include "llvm/Support/CommandLine.h" #include "llvm/Support/CommandLine.h"
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Identifier.h" // TF:llvm-project #include "mlir/IR/Identifier.h" // from @llvm-project
#include "mlir/IR/Location.h" // TF:llvm-project #include "mlir/IR/Location.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/SymbolTable.h" // TF:llvm-project #include "mlir/IR/SymbolTable.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Transforms/RegionUtils.h" // TF:llvm-project #include "mlir/Transforms/RegionUtils.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
#include "tensorflow/compiler/mlir/lite/transforms/passes.h" #include "tensorflow/compiler/mlir/lite/transforms/passes.h"
#include "tensorflow/compiler/mlir/op_or_arg_name_mapper.h" #include "tensorflow/compiler/mlir/op_or_arg_name_mapper.h"

View File

@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==============================================================================*/ ==============================================================================*/
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
namespace mlir { namespace mlir {
namespace TFL { namespace TFL {

View File

@ -19,7 +19,7 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_MLIR_LITE_UTILS_ATTRIBUTE_UTILS_H_ #ifndef TENSORFLOW_COMPILER_MLIR_LITE_UTILS_ATTRIBUTE_UTILS_H_
#define TENSORFLOW_COMPILER_MLIR_LITE_UTILS_ATTRIBUTE_UTILS_H_ #define TENSORFLOW_COMPILER_MLIR_LITE_UTILS_ATTRIBUTE_UTILS_H_
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
namespace mlir { namespace mlir {
namespace TFL { namespace TFL {

View File

@ -15,9 +15,9 @@ limitations under the License.
#include "tensorflow/compiler/mlir/lite/utils/convert_type.h" #include "tensorflow/compiler/mlir/lite/utils/convert_type.h"
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/Types.h" // TF:llvm-project #include "mlir/IR/Types.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
#include "tensorflow/compiler/xla/statusor.h" #include "tensorflow/compiler/xla/statusor.h"
#include "tensorflow/core/framework/types.h" #include "tensorflow/core/framework/types.h"

View File

@ -16,7 +16,7 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_MLIR_LITE_UTILS_CONVERT_TYPE_H_ #ifndef TENSORFLOW_COMPILER_MLIR_LITE_UTILS_CONVERT_TYPE_H_
#define TENSORFLOW_COMPILER_MLIR_LITE_UTILS_CONVERT_TYPE_H_ #define TENSORFLOW_COMPILER_MLIR_LITE_UTILS_CONVERT_TYPE_H_
#include "mlir/IR/Types.h" // TF:llvm-project #include "mlir/IR/Types.h" // from @llvm-project
#include "tensorflow/compiler/xla/statusor.h" #include "tensorflow/compiler/xla/statusor.h"
#include "tensorflow/core/framework/types.h" #include "tensorflow/core/framework/types.h"
#include "tensorflow/lite/schema/schema_generated.h" #include "tensorflow/lite/schema/schema_generated.h"

View File

@ -21,20 +21,20 @@ limitations under the License.
#include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringRef.h"
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/Identifier.h" // TF:llvm-project #include "mlir/IR/Identifier.h" // from @llvm-project
#include "mlir/IR/Location.h" // TF:llvm-project #include "mlir/IR/Location.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/OpDefinition.h" // TF:llvm-project #include "mlir/IR/OpDefinition.h" // from @llvm-project
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/Types.h" // TF:llvm-project #include "mlir/IR/Types.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"

View File

@ -20,12 +20,12 @@ limitations under the License.
#define TENSORFLOW_COMPILER_MLIR_LITE_UTILS_LSTM_UTILS_H_ #define TENSORFLOW_COMPILER_MLIR_LITE_UTILS_LSTM_UTILS_H_
#include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringRef.h"
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/Location.h" // TF:llvm-project #include "mlir/IR/Location.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
namespace mlir { namespace mlir {

View File

@ -24,17 +24,17 @@ limitations under the License.
#include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringExtras.h" #include "llvm/ADT/StringExtras.h"
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/Location.h" // TF:llvm-project #include "mlir/IR/Location.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/Types.h" // TF:llvm-project #include "mlir/IR/Types.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/test.h"
namespace mlir { namespace mlir {

View File

@ -17,7 +17,7 @@ limitations under the License.
#include <vector> #include <vector>
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
namespace mlir { namespace mlir {

View File

@ -16,7 +16,7 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_MLIR_LITE_UTILS_STATEFUL_OPS_UTILS_H_ #ifndef TENSORFLOW_COMPILER_MLIR_LITE_UTILS_STATEFUL_OPS_UTILS_H_
#define TENSORFLOW_COMPILER_MLIR_LITE_UTILS_STATEFUL_OPS_UTILS_H_ #define TENSORFLOW_COMPILER_MLIR_LITE_UTILS_STATEFUL_OPS_UTILS_H_
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
namespace mlir { namespace mlir {
namespace TFL { namespace TFL {

View File

@ -15,8 +15,8 @@ limitations under the License.
#include "tensorflow/compiler/mlir/lite/utils/validators.h" #include "tensorflow/compiler/mlir/lite/utils/validators.h"
#include "mlir/Dialect/Traits.h" // TF:llvm-project #include "mlir/Dialect/Traits.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
namespace mlir { namespace mlir {
namespace TFL { namespace TFL {

View File

@ -19,8 +19,8 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_MLIR_LITE_UTILS_VALIDATORS_H_ #ifndef TENSORFLOW_COMPILER_MLIR_LITE_UTILS_VALIDATORS_H_
#define TENSORFLOW_COMPILER_MLIR_LITE_UTILS_VALIDATORS_H_ #define TENSORFLOW_COMPILER_MLIR_LITE_UTILS_VALIDATORS_H_
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
namespace mlir { namespace mlir {
namespace TFL { namespace TFL {

View File

@ -16,7 +16,7 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_MLIR_MLIR_GRAPH_OPTIMIZATION_PASS_H_ #ifndef TENSORFLOW_COMPILER_MLIR_MLIR_GRAPH_OPTIMIZATION_PASS_H_
#define TENSORFLOW_COMPILER_MLIR_MLIR_GRAPH_OPTIMIZATION_PASS_H_ #define TENSORFLOW_COMPILER_MLIR_MLIR_GRAPH_OPTIMIZATION_PASS_H_
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "tensorflow/core/common_runtime/function_optimization_registry.h" #include "tensorflow/core/common_runtime/function_optimization_registry.h"
#include "tensorflow/core/common_runtime/optimization_registry.h" #include "tensorflow/core/common_runtime/optimization_registry.h"

View File

@ -25,9 +25,9 @@ limitations under the License.
#include "llvm/ADT/StringExtras.h" #include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringRef.h"
#include "llvm/Support/FormatVariadic.h" #include "llvm/Support/FormatVariadic.h"
#include "mlir/IR/Location.h" // TF:llvm-project #include "mlir/IR/Location.h" // from @llvm-project
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
static inline absl::string_view StringRefToView(llvm::StringRef ref) { static inline absl::string_view StringRefToView(llvm::StringRef ref) {
return absl::string_view(ref.data(), ref.size()); return absl::string_view(ref.data(), ref.size());

View File

@ -23,8 +23,8 @@ limitations under the License.
#include "llvm/ADT/PointerUnion.h" #include "llvm/ADT/PointerUnion.h"
#include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringRef.h"
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
namespace tensorflow { namespace tensorflow {

View File

@ -16,9 +16,9 @@ limitations under the License.
#include <string> #include <string>
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "mlir/Parser.h" // TF:llvm-project #include "mlir/Parser.h" // from @llvm-project
#include "mlir/Pass/PassManager.h" // TF:llvm-project #include "mlir/Pass/PassManager.h" // from @llvm-project
#include "mlir/Pass/PassRegistry.h" // TF:llvm-project #include "mlir/Pass/PassRegistry.h" // from @llvm-project
#include "tensorflow/c/tf_status.h" #include "tensorflow/c/tf_status.h"
#include "tensorflow/c/tf_status_helper.h" #include "tensorflow/c/tf_status_helper.h"
#include "tensorflow/compiler/mlir/tensorflow/translate/import_model.h" #include "tensorflow/compiler/mlir/tensorflow/translate/import_model.h"

View File

@ -26,16 +26,16 @@ limitations under the License.
#include "llvm/ADT/iterator_range.h" #include "llvm/ADT/iterator_range.h"
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "llvm/Support/Debug.h" #include "llvm/Support/Debug.h"
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Block.h" // TF:llvm-project #include "mlir/IR/Block.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Location.h" // TF:llvm-project #include "mlir/IR/Location.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h"
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h"
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"

View File

@ -22,10 +22,10 @@ limitations under the License.
#include "llvm/ADT/SmallSet.h" #include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringMap.h"
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "mlir/IR/Region.h" // TF:llvm-project #include "mlir/IR/Region.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
namespace mlir { namespace mlir {
namespace TF { namespace TF {

View File

@ -18,9 +18,9 @@ limitations under the License.
#include "tensorflow/compiler/mlir/tensorflow/ir/control_flow_ops.h" #include "tensorflow/compiler/mlir/tensorflow/ir/control_flow_ops.h"
#include "mlir/IR/DialectImplementation.h" // TF:llvm-project #include "mlir/IR/DialectImplementation.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/OpImplementation.h" // TF:llvm-project #include "mlir/IR/OpImplementation.h" // from @llvm-project
namespace mlir { namespace mlir {
namespace TFControlFlow { namespace TFControlFlow {

View File

@ -23,10 +23,10 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_CONTROL_FLOW_OPS_H_ #ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_CONTROL_FLOW_OPS_H_
#define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_CONTROL_FLOW_OPS_H_ #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_CONTROL_FLOW_OPS_H_
#include "mlir/IR/Dialect.h" // TF:llvm-project #include "mlir/IR/Dialect.h" // from @llvm-project
#include "mlir/IR/OpDefinition.h" // TF:llvm-project #include "mlir/IR/OpDefinition.h" // from @llvm-project
#include "mlir/IR/Types.h" // TF:llvm-project #include "mlir/IR/Types.h" // from @llvm-project
#include "mlir/Interfaces/SideEffects.h" // TF:llvm-project #include "mlir/Interfaces/SideEffects.h" // from @llvm-project
namespace mlir { namespace mlir {
namespace TFControlFlow { namespace TFControlFlow {

View File

@ -26,22 +26,22 @@ limitations under the License.
#include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringRef.h"
#include "llvm/Support/SMLoc.h" #include "llvm/Support/SMLoc.h"
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/OpDefinition.h" // TF:llvm-project #include "mlir/IR/OpDefinition.h" // from @llvm-project
#include "mlir/IR/OpImplementation.h" // TF:llvm-project #include "mlir/IR/OpImplementation.h" // from @llvm-project
#include "mlir/IR/OperationSupport.h" // TF:llvm-project #include "mlir/IR/OperationSupport.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/TypeUtilities.h" // TF:llvm-project #include "mlir/IR/TypeUtilities.h" // from @llvm-project
#include "mlir/IR/Types.h" // TF:llvm-project #include "mlir/IR/Types.h" // from @llvm-project
#include "mlir/IR/UseDefLists.h" // TF:llvm-project #include "mlir/IR/UseDefLists.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "mlir/Support/STLExtras.h" // TF:llvm-project #include "mlir/Support/STLExtras.h" // from @llvm-project
#include "mlir/Transforms/InliningUtils.h" // TF:llvm-project #include "mlir/Transforms/InliningUtils.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
#include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/logging.h"

View File

@ -19,10 +19,10 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_DEVICE_H_ #ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_DEVICE_H_
#define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_DEVICE_H_ #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_DEVICE_H_
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Dialect.h" // TF:llvm-project #include "mlir/IR/Dialect.h" // from @llvm-project
#include "mlir/IR/OpDefinition.h" // TF:llvm-project #include "mlir/IR/OpDefinition.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
namespace mlir { namespace mlir {
namespace tf_device { namespace tf_device {

View File

@ -26,24 +26,24 @@ limitations under the License.
#include "llvm/ADT/StringSwitch.h" #include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "llvm/Support/FormatVariadic.h" #include "llvm/Support/FormatVariadic.h"
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/Dialect/Traits.h" // TF:llvm-project #include "mlir/Dialect/Traits.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/DialectImplementation.h" // TF:llvm-project #include "mlir/IR/DialectImplementation.h" // from @llvm-project
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Matchers.h" // TF:llvm-project #include "mlir/IR/Matchers.h" // from @llvm-project
#include "mlir/IR/OpDefinition.h" // TF:llvm-project #include "mlir/IR/OpDefinition.h" // from @llvm-project
#include "mlir/IR/OpImplementation.h" // TF:llvm-project #include "mlir/IR/OpImplementation.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/Types.h" // TF:llvm-project #include "mlir/IR/Types.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "mlir/Support/STLExtras.h" // TF:llvm-project #include "mlir/Support/STLExtras.h" // from @llvm-project
#include "mlir/Transforms/FoldUtils.h" // TF:llvm-project #include "mlir/Transforms/FoldUtils.h" // from @llvm-project
#include "mlir/Transforms/InliningUtils.h" // TF:llvm-project #include "mlir/Transforms/InliningUtils.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
namespace mlir { namespace mlir {

View File

@ -21,13 +21,13 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_EXECUTOR_H_ #ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_EXECUTOR_H_
#define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_EXECUTOR_H_ #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_EXECUTOR_H_
#include "mlir/Dialect/Traits.h" // TF:llvm-project #include "mlir/Dialect/Traits.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Dialect.h" // TF:llvm-project #include "mlir/IR/Dialect.h" // from @llvm-project
#include "mlir/IR/Matchers.h" // TF:llvm-project #include "mlir/IR/Matchers.h" // from @llvm-project
#include "mlir/IR/OpImplementation.h" // TF:llvm-project #include "mlir/IR/OpImplementation.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
namespace mlir { namespace mlir {

View File

@ -35,28 +35,28 @@ limitations under the License.
#include "llvm/ADT/StringSwitch.h" #include "llvm/ADT/StringSwitch.h"
#include "llvm/ADT/iterator_range.h" #include "llvm/ADT/iterator_range.h"
#include "llvm/Support/FormatVariadic.h" #include "llvm/Support/FormatVariadic.h"
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/Dialect/Traits.h" // TF:llvm-project #include "mlir/Dialect/Traits.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Diagnostics.h" // TF:llvm-project #include "mlir/IR/Diagnostics.h" // from @llvm-project
#include "mlir/IR/DialectImplementation.h" // TF:llvm-project #include "mlir/IR/DialectImplementation.h" // from @llvm-project
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/Location.h" // TF:llvm-project #include "mlir/IR/Location.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // TF:llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Matchers.h" // TF:llvm-project #include "mlir/IR/Matchers.h" // from @llvm-project
#include "mlir/IR/OpDefinition.h" // TF:llvm-project #include "mlir/IR/OpDefinition.h" // from @llvm-project
#include "mlir/IR/OpImplementation.h" // TF:llvm-project #include "mlir/IR/OpImplementation.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/TypeUtilities.h" // TF:llvm-project #include "mlir/IR/TypeUtilities.h" // from @llvm-project
#include "mlir/IR/Types.h" // TF:llvm-project #include "mlir/IR/Types.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Parser.h" // TF:llvm-project #include "mlir/Parser.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "mlir/Support/STLExtras.h" // TF:llvm-project #include "mlir/Support/STLExtras.h" // from @llvm-project
#include "mlir/Transforms/InliningUtils.h" // TF:llvm-project #include "mlir/Transforms/InliningUtils.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_structs.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_structs.h"
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
#include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/logging.h"

View File

@ -19,18 +19,18 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_OPS_H_ #ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_OPS_H_
#define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_OPS_H_ #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_OPS_H_
#include "mlir/Dialect/Traits.h" // TF:llvm-project #include "mlir/Dialect/Traits.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Dialect.h" // TF:llvm-project #include "mlir/IR/Dialect.h" // from @llvm-project
#include "mlir/IR/Matchers.h" // TF:llvm-project #include "mlir/IR/Matchers.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/IR/OpImplementation.h" // TF:llvm-project #include "mlir/IR/OpImplementation.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/TypeUtilities.h" // TF:llvm-project #include "mlir/IR/TypeUtilities.h" // from @llvm-project
#include "mlir/Interfaces/CallInterfaces.h" // TF:llvm-project #include "mlir/Interfaces/CallInterfaces.h" // from @llvm-project
#include "mlir/Interfaces/DerivedAttributeOpInterface.h" // TF:llvm-project #include "mlir/Interfaces/DerivedAttributeOpInterface.h" // from @llvm-project
#include "mlir/Interfaces/SideEffects.h" // TF:llvm-project #include "mlir/Interfaces/SideEffects.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_structs.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_structs.h"
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h"
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"

View File

@ -22,16 +22,16 @@ limitations under the License.
#include "llvm/ADT/Twine.h" #include "llvm/ADT/Twine.h"
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/Identifier.h" // TF:llvm-project #include "mlir/IR/Identifier.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/IR/OpImplementation.h" // TF:llvm-project #include "mlir/IR/OpImplementation.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/SymbolTable.h" // TF:llvm-project #include "mlir/IR/SymbolTable.h" // from @llvm-project
#include "mlir/IR/TypeUtilities.h" // TF:llvm-project #include "mlir/IR/TypeUtilities.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
namespace mlir { namespace mlir {

View File

@ -16,10 +16,10 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_SAVED_MODEL_H_ #ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_SAVED_MODEL_H_
#define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_SAVED_MODEL_H_ #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_SAVED_MODEL_H_
#include "mlir/IR/Dialect.h" // TF:llvm-project #include "mlir/IR/Dialect.h" // from @llvm-project
#include "mlir/IR/Function.h" // TF:llvm-project #include "mlir/IR/Function.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/IR/OpDefinition.h" // TF:llvm-project #include "mlir/IR/OpDefinition.h" // from @llvm-project
namespace mlir { namespace mlir {
namespace tf_saved_model { namespace tf_saved_model {

View File

@ -19,11 +19,11 @@ limitations under the License.
#define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_STRUCTS_H_ #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_STRUCTS_H_
#include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringMap.h"
#include "mlir/IR/Diagnostics.h" // TF:llvm-project #include "mlir/IR/Diagnostics.h" // from @llvm-project
#include "mlir/IR/Location.h" // TF:llvm-project #include "mlir/IR/Location.h" // from @llvm-project
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/Types.h" // TF:llvm-project #include "mlir/IR/Types.h" // from @llvm-project
#include "tensorflow/core/util/device_name_utils.h" #include "tensorflow/core/util/device_name_utils.h"
namespace mlir { namespace mlir {

View File

@ -18,10 +18,10 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_TRAITS_H_ #ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_TRAITS_H_
#define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_TRAITS_H_ #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_TRAITS_H_
#include "mlir/IR/OpDefinition.h" // TF:llvm-project #include "mlir/IR/OpDefinition.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/TypeUtilities.h" // TF:llvm-project #include "mlir/IR/TypeUtilities.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
namespace mlir { namespace mlir {

View File

@ -16,8 +16,8 @@ limitations under the License.
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
#include "llvm/Support/ErrorHandling.h" #include "llvm/Support/ErrorHandling.h"
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/TypeUtilities.h" // TF:llvm-project #include "mlir/IR/TypeUtilities.h" // from @llvm-project
namespace { namespace {
// Returns the shape of the given value if it's ranked; returns llvm::None // Returns the shape of the given value if it's ranked; returns llvm::None

View File

@ -18,11 +18,11 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_TYPES_H_ #ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_TYPES_H_
#define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_TYPES_H_ #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_TYPES_H_
#include "mlir/IR/Diagnostics.h" // TF:llvm-project #include "mlir/IR/Diagnostics.h" // from @llvm-project
#include "mlir/IR/Location.h" // TF:llvm-project #include "mlir/IR/Location.h" // from @llvm-project
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/Types.h" // TF:llvm-project #include "mlir/IR/Types.h" // from @llvm-project
namespace mlir { namespace mlir {
namespace TF { namespace TF {

View File

@ -15,7 +15,7 @@ limitations under the License.
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_verifiers.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_verifiers.h"
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
namespace mlir { namespace mlir {

View File

@ -16,7 +16,7 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_VERIFIERS_H_ #ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_VERIFIERS_H_
#define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_VERIFIERS_H_ #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_IR_TF_VERIFIERS_H_
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
namespace mlir { namespace mlir {

View File

@ -16,14 +16,14 @@ limitations under the License.
#include "llvm/ADT/DenseSet.h" #include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/STLExtras.h" #include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/Block.h" // TF:llvm-project #include "mlir/IR/Block.h" // from @llvm-project
#include "mlir/IR/Builders.h" // TF:llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/IR/Operation.h" // TF:llvm-project #include "mlir/IR/Operation.h" // from @llvm-project
#include "mlir/IR/Value.h" // TF:llvm-project #include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Pass/PassRegistry.h" // TF:llvm-project #include "mlir/Pass/PassRegistry.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h"
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
#include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h" #include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h"

View File

@ -25,16 +25,16 @@ limitations under the License.
#include "llvm/ADT/StringSwitch.h" #include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/Casting.h" #include "llvm/Support/Casting.h"
#include "llvm/Support/Debug.h" #include "llvm/Support/Debug.h"
#include "mlir/Analysis/LoopAnalysis.h" // TF:llvm-project #include "mlir/Analysis/LoopAnalysis.h" // from @llvm-project
#include "mlir/Dialect/StandardOps/IR/Ops.h" // TF:llvm-project #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project
#include "mlir/IR/Attributes.h" // TF:llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
#include "mlir/IR/OpImplementation.h" // TF:llvm-project #include "mlir/IR/OpImplementation.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/IR/StandardTypes.h" // TF:llvm-project #include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Support/Functional.h" // TF:llvm-project #include "mlir/Support/Functional.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // TF:llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
#include "mlir/Support/LogicalResult.h" // TF:llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
#include "tensorflow/core/util/matmul_bcast.h" #include "tensorflow/core/util/matmul_bcast.h"

View File

@ -17,9 +17,9 @@ limitations under the License.
#define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_TRANSFORMS_BATCHMATMUL_TO_EINSUM_H_ #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_TRANSFORMS_BATCHMATMUL_TO_EINSUM_H_
#include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/ArrayRef.h"
#include "mlir/IR/Location.h" // TF:llvm-project #include "mlir/IR/Location.h" // from @llvm-project
#include "mlir/IR/PatternMatch.h" // TF:llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project
#include "mlir/IR/TypeUtilities.h" // TF:llvm-project #include "mlir/IR/TypeUtilities.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
#include "tensorflow/core/util/matmul_bcast.h" #include "tensorflow/core/util/matmul_bcast.h"

View File

@ -17,9 +17,9 @@ limitations under the License.
#include <memory> #include <memory>
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "mlir/Pass/PassManager.h" // TF:llvm-project #include "mlir/Pass/PassManager.h" // from @llvm-project
#include "mlir/Transforms/Passes.h" // TF:llvm-project #include "mlir/Transforms/Passes.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h" #include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h"
#include "tensorflow/compiler/mlir/tensorflow/utils/bridge_logger.h" #include "tensorflow/compiler/mlir/tensorflow/utils/bridge_logger.h"
#include "tensorflow/compiler/mlir/tensorflow/utils/error_util.h" #include "tensorflow/compiler/mlir/tensorflow/utils/error_util.h"

View File

@ -16,7 +16,7 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_TRANSFORMS_BRIDGE_H_ #ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_TRANSFORMS_BRIDGE_H_
#define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_TRANSFORMS_BRIDGE_H_ #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_TRANSFORMS_BRIDGE_H_
#include "mlir/IR/Module.h" // TF:llvm-project #include "mlir/IR/Module.h" // from @llvm-project
#include "tensorflow/core/lib/core/status.h" #include "tensorflow/core/lib/core/status.h"
namespace mlir { namespace mlir {

View File

@ -13,9 +13,9 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==============================================================================*/ ==============================================================================*/
#include "mlir/Pass/Pass.h" // TF:llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Pass/PassManager.h" // TF:llvm-project #include "mlir/Pass/PassManager.h" // from @llvm-project
#include "mlir/Transforms/Passes.h" // TF:llvm-project #include "mlir/Transforms/Passes.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tensorflow/transforms/bridge.h" #include "tensorflow/compiler/mlir/tensorflow/transforms/bridge.h"
#include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h" #include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h"
#include "tensorflow/compiler/mlir/tensorflow/utils/error_util.h" #include "tensorflow/compiler/mlir/tensorflow/utils/error_util.h"

Some files were not shown because too many files have changed in this diff Show More