Skip to content
Snippets Groups Projects
Commit ea982ded authored by Daniel Maier's avatar Daniel Maier
Browse files

update perforate.sh

parent 20e0876d
No related branches found
No related tags found
Loading
......@@ -4,7 +4,13 @@ CLAN=/home/daniel/polyhedral_perforation/clan-0.8.0/clan
CLOOG=/home/daniel/polyhedral_perforation/pluto/cloog-isl/cloog
usage() {
printf "%s: <input_program> <output_program>\n" "$0"
printf -- "%s: <OPTIONS> <INPUT>\n" "$0"
printf -- "perforate program\n\n"
printf -- "-o, --output FILE output file\n"
printf -- "-a, --all do all steps\n"
printf -- "-e, --extract extract scop\n"
printf -- "-p, --perforate perforate scop\n"
printf -- "-g, --generate generate perforated program\n"
}
extract_scop() {
......@@ -25,10 +31,10 @@ run_pluto() {
}
generate() {
$CLOOG -openscop "$1" > "$2"
$CLOOG -openscop "$1" >"$2"
}
output_src="-"
output_src=""
while true; do
case "$1" in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment