Skip to content

Commit 4aac444

Browse files
maksleventalTaoBi22maerhartmikeurbachdtzSiFive
committed
header comments
Co-authored-by: Bea Healy <[email protected]> Co-authored-by: Martin Erhart <[email protected]> Co-authored-by: Mike Urbach <[email protected]> Co-authored-by: Will Dietz <[email protected]> Co-authored-by: fzi-hielscher <[email protected]> Co-authored-by: Fehr Mathieu <[email protected]> Co-authored-by: Clo91eaf <[email protected]>
1 parent 63b2381 commit 4aac444

File tree

4 files changed

+26
-14
lines changed

4 files changed

+26
-14
lines changed

mlir/include/mlir-c/Target/ExportSMTLIB.h

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
//===- MLIR-c/ExportSMTLIB.h - C API for emitting SMTLIB ---------*- C -*-===//
1+
//===- mlir-c/Target/ExportSMTLIB.h - C API for emitting SMTLIB ---*- C -*-===//
22
//
3-
// This header declares the C interface for emitting SMTLIB from a MLIR MLIR
4-
// module.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6+
//
7+
//===----------------------------------------------------------------------===//
8+
//
9+
// This header declares the C interface for emitting SMTLIB from an MLIR module.
510
//
611
//===----------------------------------------------------------------------===//
712

mlir/lib/CAPI/Dialect/SMT.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88

99
#include "mlir-c/Dialect/SMT.h"
1010
#include "mlir/CAPI/Registration.h"
11+
#include "mlir/Dialect/SMT/IR/SMTAttributes.h"
1112
#include "mlir/Dialect/SMT/IR/SMTDialect.h"
12-
#include "mlir/Dialect/SMT/IR/SMTOps.h"
13+
#include "mlir/Dialect/SMT/IR/SMTTypes.h"
1314

1415
using namespace mlir;
1516
using namespace smt;

mlir/lib/CAPI/Target/ExportSMTLIB.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
//===- ExportSMTLIB.cpp - C Interface to ExportSMTLIB ---------------------===//
22
//
3-
// Implements a C Interface for export SMTLIB.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM
4+
// Exceptions.
5+
// See https://llvm.org/LICENSE.txt for license information.
6+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7+
//
8+
//===----------------------------------------------------------------------===//
9+
//
10+
// Implements a C Interface for export SMTLIB.
411
//
512
//===----------------------------------------------------------------------===//
613

mlir/test/CAPI/smt.c

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
2-
/*===- smtlib.c - Simple test of SMTLIB C API -----------------------------===*\
3-
|* *|
4-
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
5-
|* Exceptions. *|
6-
|* See https://llvm.org/LICENSE.txt for license information. *|
7-
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
8-
|* *|
9-
\*===----------------------------------------------------------------------===*/
1+
//===- smt.c - Test of SMT APIs -------------------------------------------===//
2+
//
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM
4+
// Exceptions.
5+
// See https://llvm.org/LICENSE.txt for license information.
6+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7+
//
8+
//===----------------------------------------------------------------------===//
109

1110
/* RUN: mlir-capi-smt-test 2>&1 | FileCheck %s
1211
*/

0 commit comments

Comments
 (0)