-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update llvm version to support change to integer range analysis * Add noisy dialect * implement InferIntRangeInterface on noisy ops * add empty noisy-reduce-noise-optimizer transform * add noise verification analysis check * add a test where inserting reduce_noise is necessary * add template for ReduceNoiseAnalysis * add or-tools dependency * implement solver model * implement pass to use solver solution * improve and add more noise reduction tests * update CMake build --------- Co-authored-by: Jeremy Kun <[email protected]>
- Loading branch information
Showing
38 changed files
with
1,243 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule llvm-project
updated
5948 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
add_subdirectory(ReduceNoiseAnalysis) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package( | ||
default_visibility = ["//visibility:public"], | ||
) | ||
|
||
cc_library( | ||
name = "ReduceNoiseAnalysis", | ||
srcs = ["ReduceNoiseAnalysis.cpp"], | ||
hdrs = ["ReduceNoiseAnalysis.h"], | ||
deps = [ | ||
"//lib/Dialect/Noisy", | ||
"@com_google_ortools//ortools/base", | ||
"@com_google_ortools//ortools/linear_solver", | ||
"@llvm-project//llvm:Support", | ||
"@llvm-project//mlir:IR", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
add_mlir_library(ReduceNoiseAnalysis | ||
ReduceNoiseAnalysis.cpp | ||
|
||
${PROJECT_SOURCE_DIR}/lib/Analysis/ReduceNoiseAnalysis/ | ||
ADDITIONAL_HEADER_DIRS | ||
LINK_LIBS PUBLIC | ||
ortools::ortools | ||
) |
Oops, something went wrong.