Skip to content

Commit b3c0343

Browse files
ddunlcopybara-github
authored andcommitted
Fix include guards in mlir_hlo
PiperOrigin-RevId: 499927461
1 parent f5b98f6 commit b3c0343

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+127
-127
lines changed

xla/mlir_hlo/bindings/c/Attributes.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
99
See the License for the specific language governing permissions and
1010
limitations under the License.
1111
==============================================================================*/
12-
#ifndef MLIR_HLO_C_ATTRIBUTES_H
13-
#define MLIR_HLO_C_ATTRIBUTES_H
12+
#ifndef MLIR_HLO_BINDINGS_C_ATTRIBUTES_H
13+
#define MLIR_HLO_BINDINGS_C_ATTRIBUTES_H
1414

1515
#include <sys/types.h>
1616

@@ -386,4 +386,4 @@ mlirMhloTypeExtensionsGetBoundsElem(MlirAttribute attr, intptr_t pos);
386386
}
387387
#endif
388388

389-
#endif // MLIR_HLO_C_ATTRIBUTES_H
389+
#endif // MLIR_HLO_BINDINGS_C_ATTRIBUTES_H

xla/mlir_hlo/bindings/c/Dialects.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ See the License for the specific language governing permissions and
1010
limitations under the License.
1111
==============================================================================*/
1212

13-
#ifndef MLIR_HLO_C_DIALECTS_H
14-
#define MLIR_HLO_C_DIALECTS_H
13+
#ifndef MLIR_HLO_BINDINGS_C_DIALECTS_H
14+
#define MLIR_HLO_BINDINGS_C_DIALECTS_H
1515

1616
#include "mlir-c/RegisterEverything.h"
1717

@@ -26,4 +26,4 @@ MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Mhlo, mhlo);
2626
}
2727
#endif
2828

29-
#endif // MLIR_HLO_C_DIALECTS_H
29+
#endif // MLIR_HLO_BINDINGS_C_DIALECTS_H

xla/mlir_hlo/bindings/c/Passes.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ See the License for the specific language governing permissions and
1010
limitations under the License.
1111
==============================================================================*/
1212

13-
#ifndef MLIR_HLO_C_PASSES_H
14-
#define MLIR_HLO_C_PASSES_H
13+
#ifndef MLIR_HLO_BINDINGS_C_PASSES_H
14+
#define MLIR_HLO_BINDINGS_C_PASSES_H
1515

1616
#include "mlir-c/IR.h"
1717
#include "mlir-c/Support.h"
@@ -27,4 +27,4 @@ MLIR_CAPI_EXPORTED void mlirRegisterAllMhloPasses();
2727
}
2828
#endif
2929

30-
#endif // MLIR_HLO_C_PASSES_H
30+
#endif // MLIR_HLO_BINDINGS_C_PASSES_H

xla/mlir_hlo/bindings/c/Types.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ See the License for the specific language governing permissions and
1010
limitations under the License.
1111
==============================================================================*/
1212

13-
#ifndef MLIR_HLO_C_TYPES_H
14-
#define MLIR_HLO_C_TYPES_H
13+
#ifndef MLIR_HLO_BINDINGS_C_TYPES_H
14+
#define MLIR_HLO_BINDINGS_C_TYPES_H
1515

1616
#include "mlir-c/IR.h"
1717
#include "mlir-c/Support.h"
@@ -30,4 +30,4 @@ MLIR_CAPI_EXPORTED bool mlirMhloTypeIsAToken(MlirType type);
3030
}
3131
#endif
3232

33-
#endif // MLIR_HLO_C_TYPES_H
33+
#endif // MLIR_HLO_BINDINGS_C_TYPES_H

xla/mlir_hlo/gml_st/IR/gml_st_ops.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ limitations under the License.
1515

1616
// This file defines the operations used in the GML ST dialect.
1717

18-
#ifndef MLIR_HLO_DIALECT_GML_ST_IR_GML_ST_OPS_H
19-
#define MLIR_HLO_DIALECT_GML_ST_IR_GML_ST_OPS_H
18+
#ifndef MLIR_HLO_GML_ST_IR_GML_ST_OPS_H
19+
#define MLIR_HLO_GML_ST_IR_GML_ST_OPS_H
2020

2121
#include "mlir/Dialect/Utils/StructuredOpsUtils.h"
2222
#include "mlir/IR/Dialect.h"
@@ -43,4 +43,4 @@ limitations under the License.
4343
#define GET_OP_CLASSES
4444
#include "gml_st/IR/gml_st_ops.h.inc"
4545

46-
#endif // MLIR_HLO_DIALECT_GML_ST_IR_GML_ST_OPS_H
46+
#endif // MLIR_HLO_GML_ST_IR_GML_ST_OPS_H

xla/mlir_hlo/gml_st/interfaces/bufferizable_op_interface_impl.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License.
1414
==============================================================================*/
1515

16-
#ifndef MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_BUFFERIZABLE_OP_INTERFACE_IMPL_H
17-
#define MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_BUFFERIZABLE_OP_INTERFACE_IMPL_H
16+
#ifndef MLIR_HLO_GML_ST_INTERFACES_BUFFERIZABLE_OP_INTERFACE_IMPL_H
17+
#define MLIR_HLO_GML_ST_INTERFACES_BUFFERIZABLE_OP_INTERFACE_IMPL_H
1818

1919
namespace mlir {
2020
class DialectRegistry;
@@ -26,4 +26,4 @@ void registerBufferizableOpInterfaceExternalModels(DialectRegistry &registry);
2626
} // namespace gml_st
2727
} // namespace mlir
2828

29-
#endif // MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_BUFFERIZABLE_OP_INTERFACE_IMPL_H
29+
#endif // MLIR_HLO_GML_ST_INTERFACES_BUFFERIZABLE_OP_INTERFACE_IMPL_H

xla/mlir_hlo/gml_st/interfaces/tiling_interface.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License.
1414
==============================================================================*/
1515

16-
#ifndef MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_TILING_INTERFACE_H
17-
#define MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_TILING_INTERFACE_H
16+
#ifndef MLIR_HLO_GML_ST_INTERFACES_TILING_INTERFACE_H
17+
#define MLIR_HLO_GML_ST_INTERFACES_TILING_INTERFACE_H
1818

1919
#include "mlir/Dialect/Utils/StructuredOpsUtils.h"
2020
#include "mlir/IR/Operation.h"
@@ -46,4 +46,4 @@ Value materializePoint(OpBuilder &b, Location loc, Value valueToTile,
4646
} // namespace gml_st
4747
} // namespace mlir
4848

49-
#endif // MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_TILING_INTERFACE_H
49+
#endif // MLIR_HLO_GML_ST_INTERFACES_TILING_INTERFACE_H

xla/mlir_hlo/gml_st/interfaces/tiling_interface_impl.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License.
1414
==============================================================================*/
1515

16-
#ifndef MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_TILING_INTERFACE_IMPL_H
17-
#define MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_TILING_INTERFACE_IMPL_H
16+
#ifndef MLIR_HLO_GML_ST_INTERFACES_TILING_INTERFACE_IMPL_H
17+
#define MLIR_HLO_GML_ST_INTERFACES_TILING_INTERFACE_IMPL_H
1818

1919
namespace mlir {
2020

@@ -27,4 +27,4 @@ void registerGmlStTilingInterfaceExternalModels(DialectRegistry &registry);
2727
} // namespace gml_st
2828
} // namespace mlir
2929

30-
#endif // MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_TILING_INTERFACE_IMPL_H
30+
#endif // MLIR_HLO_GML_ST_INTERFACES_TILING_INTERFACE_IMPL_H

xla/mlir_hlo/gml_st/transforms/fusion/fusion.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License.
1414
==============================================================================*/
1515

16-
#ifndef MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_FUSION_H
17-
#define MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_FUSION_H
16+
#ifndef MLIR_HLO_GML_ST_TRANSFORMS_FUSION_FUSION_H
17+
#define MLIR_HLO_GML_ST_TRANSFORMS_FUSION_FUSION_H
1818

1919
#include "gml_st/IR/gml_st_ops.h"
2020
#include "mlir/Dialect/Linalg/IR/Linalg.h"
@@ -113,4 +113,4 @@ LogicalResult fuseOutputFill(PatternRewriter &rewriter, FusionOpTy op) {
113113
} // namespace gml_st
114114
} // namespace mlir
115115

116-
#endif // MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_FUSION_H
116+
#endif // MLIR_HLO_GML_ST_TRANSFORMS_FUSION_FUSION_H

xla/mlir_hlo/gml_st/transforms/passes.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License.
1414
==============================================================================*/
1515

16-
#ifndef MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_PASSES_H
17-
#define MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_PASSES_H
16+
#ifndef MLIR_HLO_GML_ST_TRANSFORMS_PASSES_H
17+
#define MLIR_HLO_GML_ST_TRANSFORMS_PASSES_H
1818

1919
#include <memory>
2020
#include <optional>
@@ -185,4 +185,4 @@ void addTileableOpsTransformationsForCPU(
185185
} // namespace gml_st
186186
} // namespace mlir
187187

188-
#endif // MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_PASSES_H
188+
#endif // MLIR_HLO_GML_ST_TRANSFORMS_PASSES_H

xla/mlir_hlo/gml_st/transforms/peeling/peeling.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License.
1414
==============================================================================*/
1515

16-
#ifndef MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_PEELING_H
17-
#define MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_PEELING_H
16+
#ifndef MLIR_HLO_GML_ST_TRANSFORMS_PEELING_PEELING_H
17+
#define MLIR_HLO_GML_ST_TRANSFORMS_PEELING_PEELING_H
1818

1919
#include <functional>
2020
#include <string>
@@ -75,4 +75,4 @@ FailureOr<ParallelOp> peelAndCanonicalizeGmlStLoop(RewriterBase &rewriter,
7575
} // namespace gml_st
7676
} // namespace mlir
7777

78-
#endif // MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_PEELING_H
78+
#endif // MLIR_HLO_GML_ST_TRANSFORMS_PEELING_PEELING_H

xla/mlir_hlo/gml_st/transforms/rewriters.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License.
1414
==============================================================================*/
1515

16-
#ifndef MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_REWRITERS_H
17-
#define MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_REWRITERS_H
16+
#ifndef MLIR_HLO_GML_ST_TRANSFORMS_REWRITERS_H
17+
#define MLIR_HLO_GML_ST_TRANSFORMS_REWRITERS_H
1818

1919
#include <functional>
2020

@@ -42,4 +42,4 @@ void populateCollapseMaterializeOpsPatterns(MLIRContext *, RewritePatternSet *);
4242
} // namespace gml_st
4343
} // namespace mlir
4444

45-
#endif // MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_REWRITERS_H
45+
#endif // MLIR_HLO_GML_ST_TRANSFORMS_REWRITERS_H

xla/mlir_hlo/gml_st/transforms/test_passes.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License.
1414
==============================================================================*/
1515

16-
#ifndef MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_TEST_PASSES_H
17-
#define MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_TEST_PASSES_H
16+
#ifndef MLIR_HLO_GML_ST_TRANSFORMS_TEST_PASSES_H
17+
#define MLIR_HLO_GML_ST_TRANSFORMS_TEST_PASSES_H
1818

1919
#include "mlir/Dialect/Func/IR/FuncOps.h"
2020
#include "mlir/IR/BuiltinOps.h"
@@ -40,4 +40,4 @@ std::unique_ptr<OperationPass<func::FuncOp>> createTestGmlStGreedyFusionPass();
4040
} // namespace gml_st
4141
} // namespace mlir
4242

43-
#endif // MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_TEST_PASSES_H
43+
#endif // MLIR_HLO_GML_ST_TRANSFORMS_TEST_PASSES_H

xla/mlir_hlo/gml_st/transforms/tiling/tiling.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License.
1414
==============================================================================*/
1515

16-
#ifndef MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_TILING_H
17-
#define MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_TILING_H
16+
#ifndef MLIR_HLO_GML_ST_TRANSFORMS_TILING_TILING_H
17+
#define MLIR_HLO_GML_ST_TRANSFORMS_TILING_TILING_H
1818

1919
#include <functional>
2020
#include <string>
@@ -68,4 +68,4 @@ void removeTilingLabels(Operation *op);
6868
} // namespace gml_st
6969
} // namespace mlir
7070

71-
#endif // MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_TILING_H
71+
#endif // MLIR_HLO_GML_ST_TRANSFORMS_TILING_TILING_H

xla/mlir_hlo/gml_st/transforms/transforms.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License.
1414
==============================================================================*/
1515

16-
#ifndef MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_TRANSFORMS_H
17-
#define MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_TRANSFORMS_H
16+
#ifndef MLIR_HLO_GML_ST_TRANSFORMS_TRANSFORMS_H
17+
#define MLIR_HLO_GML_ST_TRANSFORMS_TRANSFORMS_H
1818

1919
#include "gml_st/IR/gml_st_ops.h"
2020
#include "llvm/ADT/Hashing.h"
@@ -123,4 +123,4 @@ bool hasMatchingLabel(Operation *op, StringRef label);
123123
} // namespace gml_st
124124
} // namespace mlir
125125

126-
#endif // MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_TRANSFORMS_H
126+
#endif // MLIR_HLO_GML_ST_TRANSFORMS_TRANSFORMS_H

xla/mlir_hlo/gml_st/transforms/vectorization/vectorization.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License.
1414
==============================================================================*/
1515

16-
#ifndef MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_VECTORIZATION_H
17-
#define MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_VECTORIZATION_H
16+
#ifndef MLIR_HLO_GML_ST_TRANSFORMS_VECTORIZATION_VECTORIZATION_H
17+
#define MLIR_HLO_GML_ST_TRANSFORMS_VECTORIZATION_VECTORIZATION_H
1818

1919
#include "llvm/ADT/StringRef.h"
2020

@@ -24,4 +24,4 @@ namespace gml_st {
2424
} // namespace gml_st
2525
} // namespace mlir
2626

27-
#endif // MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_VECTORIZATION_H
27+
#endif // MLIR_HLO_GML_ST_TRANSFORMS_VECTORIZATION_VECTORIZATION_H

xla/mlir_hlo/gml_st/utils/linalg_utils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License.
1414
==============================================================================*/
1515

16-
#ifndef MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_LINALG_UTILS_H
17-
#define MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_LINALG_UTILS_H
16+
#ifndef MLIR_HLO_GML_ST_UTILS_LINALG_UTILS_H
17+
#define MLIR_HLO_GML_ST_UTILS_LINALG_UTILS_H
1818

1919
#include "mlir/Dialect/Linalg/IR/Linalg.h"
2020

xla/mlir_hlo/gml_st/utils/vector_utils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License.
1414
==============================================================================*/
1515

16-
#ifndef MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_VECTOR_UTILS_H
17-
#define MLIR_HLO_DIALECT_GML_ST_TRANSFORMS_VECTOR_UTILS_H
16+
#ifndef MLIR_HLO_GML_ST_UTILS_VECTOR_UTILS_H
17+
#define MLIR_HLO_GML_ST_UTILS_VECTOR_UTILS_H
1818

1919
#include "mlir/Dialect/Arith/IR/Arith.h"
2020
#include "mlir/IR/PatternMatch.h"

xla/mlir_hlo/lhlo/IR/lhlo_ops.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ limitations under the License.
1515

1616
// This file defines the operations used in the LHLO dialect.
1717

18-
#ifndef MLIR_HLO_DIALECT_LHLO_IR_LHLO_OPS_H
19-
#define MLIR_HLO_DIALECT_LHLO_IR_LHLO_OPS_H
18+
#ifndef MLIR_HLO_LHLO_IR_LHLO_OPS_H
19+
#define MLIR_HLO_LHLO_IR_LHLO_OPS_H
2020

2121
#include "lhlo/IR/lhlo_ops_structs.h"
2222
#include "lhlo/IR/lhlo_structured_interface.h"
@@ -61,4 +61,4 @@ class LmhloDialect : public Dialect {
6161
#define GET_OP_CLASSES
6262
#include "lhlo/IR/lhlo_ops.h.inc"
6363

64-
#endif // MLIR_HLO_DIALECT_LHLO_IR_LHLO_OPS_H
64+
#endif // MLIR_HLO_LHLO_IR_LHLO_OPS_H

xla/mlir_hlo/lhlo/IR/lhlo_ops_structs.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ limitations under the License.
1515

1616
// This file defines structures used in LMHLO dialect.
1717

18-
#ifndef MLIR_HLO_DIALECT_LHLO_IR_LHLO_OPS_STRUCTS_H
19-
#define MLIR_HLO_DIALECT_LHLO_IR_LHLO_OPS_STRUCTS_H
18+
#ifndef MLIR_HLO_LHLO_IR_LHLO_OPS_STRUCTS_H
19+
#define MLIR_HLO_LHLO_IR_LHLO_OPS_STRUCTS_H
2020

2121
#include "mlir/IR/BuiltinAttributes.h"
2222
#include "mlir/IR/BuiltinTypes.h"
@@ -27,4 +27,4 @@ limitations under the License.
2727
#define GET_ATTRDEF_CLASSES
2828
#include "lhlo/IR/lhlo_ops_structs.h.inc"
2929

30-
#endif // MLIR_HLO_DIALECT_LHLO_IR_LHLO_OPS_STRUCTS_H
30+
#endif // MLIR_HLO_LHLO_IR_LHLO_OPS_STRUCTS_H

xla/mlir_hlo/lhlo/IR/lhlo_structured_interface.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ See the License for the specific language governing permissions and
1313
limitations under the License.
1414
==============================================================================*/
1515

16-
#ifndef MLIR_HLO_DIALECT_LHLO_IR_LHLO_STRUCTURED_INTERFACE_H
17-
#define MLIR_HLO_DIALECT_LHLO_IR_LHLO_STRUCTURED_INTERFACE_H
16+
#ifndef MLIR_HLO_LHLO_IR_LHLO_STRUCTURED_INTERFACE_H
17+
#define MLIR_HLO_LHLO_IR_LHLO_STRUCTURED_INTERFACE_H
1818

1919
#include "mlir/IR/OpDefinition.h"
2020

2121
/// Include the generated interface declarations.
2222
#include "lhlo/IR/lhlo_structured_interface.h.inc"
2323

24-
#endif // MLIR_HLO_DIALECT_LHLO_IR_LHLO_STRUCTURED_INTERFACE_H
24+
#endif // MLIR_HLO_LHLO_IR_LHLO_STRUCTURED_INTERFACE_H

xla/mlir_hlo/lhlo/transforms/lhlo_elemental_utils.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License.
1414
==============================================================================*/
1515

16-
#ifndef MLIR_HLO_DIALECT_LHLO_TRANSFORMS_LHLO_ELEMENTAL_UTILS_H
17-
#define MLIR_HLO_DIALECT_LHLO_TRANSFORMS_LHLO_ELEMENTAL_UTILS_H
16+
#ifndef MLIR_HLO_LHLO_TRANSFORMS_LHLO_ELEMENTAL_UTILS_H
17+
#define MLIR_HLO_LHLO_TRANSFORMS_LHLO_ELEMENTAL_UTILS_H
1818

1919
#include "mlir/IR/Builders.h"
2020

@@ -71,4 +71,4 @@ memref::LoadOp createOffsetLoad(OpBuilder& b, Location loc, Value memref,
7171
} // namespace lmhlo
7272
} // namespace mlir
7373

74-
#endif // MLIR_HLO_DIALECT_LHLO_TRANSFORMS_LHLO_ELEMENTAL_UTILS_H
74+
#endif // MLIR_HLO_LHLO_TRANSFORMS_LHLO_ELEMENTAL_UTILS_H

xla/mlir_hlo/lhlo/transforms/map_hlo_to_lhlo_op.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License.
1414
==============================================================================*/
1515

16-
#ifndef MLIR_HLO_DIALECT_LHLO_TRANSFORMS_MAP_HLO_TO_LHLO_OP_H
17-
#define MLIR_HLO_DIALECT_LHLO_TRANSFORMS_MAP_HLO_TO_LHLO_OP_H
16+
#ifndef MLIR_HLO_LHLO_TRANSFORMS_MAP_HLO_TO_LHLO_OP_H
17+
#define MLIR_HLO_LHLO_TRANSFORMS_MAP_HLO_TO_LHLO_OP_H
1818

1919
#include <type_traits>
2020

@@ -105,4 +105,4 @@ MAP_HLO_TO_LHLO(XorOp);
105105
} // namespace mhlo
106106
} // namespace mlir
107107

108-
#endif // MLIR_HLO_DIALECT_LHLO_TRANSFORMS_MAP_HLO_TO_LHLO_OP_H
108+
#endif // MLIR_HLO_LHLO_TRANSFORMS_MAP_HLO_TO_LHLO_OP_H

xla/mlir_hlo/lhlo/transforms/map_lhlo_to_hlo_op.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License.
1414
==============================================================================*/
1515

16-
#ifndef MLIR_HLO_DIALECT_LHLO_TRANSFORMS_MAP_LHLO_TO_HLO_OP_H
17-
#define MLIR_HLO_DIALECT_LHLO_TRANSFORMS_MAP_LHLO_TO_HLO_OP_H
16+
#ifndef MLIR_HLO_LHLO_TRANSFORMS_MAP_LHLO_TO_HLO_OP_H
17+
#define MLIR_HLO_LHLO_TRANSFORMS_MAP_LHLO_TO_HLO_OP_H
1818

1919
#include <type_traits>
2020

@@ -102,4 +102,4 @@ MAP_LHLO_TO_HLO(XorOp);
102102
} // namespace lmhlo
103103
} // namespace mlir
104104

105-
#endif // MLIR_HLO_DIALECT_LHLO_TRANSFORMS_MAP_LHLO_TO_HLO_OP_H
105+
#endif // MLIR_HLO_LHLO_TRANSFORMS_MAP_LHLO_TO_HLO_OP_H

0 commit comments

Comments
 (0)