#!/bin/bash echo "Producing executable.bc ..."; llvm-gcc implicit.c mcf.c mcfutil.c output.c pbeampp.c pbla.c pflowup.c psimplex.c pstart.c readmin.c treeup.c -o executable; echo "Producing exec_ln..."; llc -f -stats -regalloc=linearscan executable.bc -o ln.s; gcc ln.s -o exec_ln; echo "Producing exec_ch..."; llc -f -stats -regalloc=chordal executable.bc -o ch.s; gcc ch.s -o exec_ch; stats_sh ch.s ln.s echo "Running ch_exec:"; time ./exec_ch inp.in > /dev/null; echo "Running ln_exec:"; time ./exec_ln_ex inp.in > /dev/null;