Skip to content

An MLIR dialect for optimizing redundancy across loops.

License

Notifications You must be signed in to change notification settings

bradenhelmer/LER-IR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LER-IR Compiler

LER-IR is an frontenc compiler and MLIR dialect for compiling LER notation into executables. It is based of the paper: ‘GLORE: Generalized Loop Redundancy Elimination upon LER-Notation’ (Shen, Ding 2017).

Getting Started

To get started with this project, ensure you have the following installed on your system:

Java Optimizer Integration (Not Stable)

The LER optimizer in the optimizer directory requires the Java ANTLR parser library to be compiled:

cd /usr/local/lib
sudo curl -O https://www.antlr.org/download/antlr-4.13.1-complete.jar
export CLASSPATH=".:/usr/local/lib/antlr-4.13.1-complete.jar:$CLASSPATH"

GNU/UNIX Make Build

git clone https://github.com/bradenhelmer/LER-IR
mkdir build
cmake -S . -B build
cmake --build build

Ninja Build

git clone https://github.com/bradenhelmer/LER-IR
mkdir build
cmake -S . -G Ninja -B build
cmake --build build

An executable named ler-compile will be in the build directory.

LER DIALECT & OPERATIONS (MLIR Auto Generated)

LER PASSES (MLIR Auto Generated)

About

An MLIR dialect for optimizing redundancy across loops.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published