<commit_before>echo "generating llvm IR..."
clang -O1 -emit-llvm $1.c -S -o $1.ll

echo "generating llvm bitcode..."
clang -O1 -emit-llvm $1.c -c -o $1.bc

echo "running $2 pass..."
opt -debug-pass=Structure \
-stats \
-load ../../build/projects/poolalloc/Release+Debug+Asserts/lib/LLVMDataStructure.so \
-load ../../cfi-proj/build/Release+Debug+Asserts/lib/CFIUtil.so \
-load ../../cfi-proj/build/Release+Debug+Asserts/lib/LLVM$2.so \
-$2 \
-$3 \
< $1.bc > $1_opt.bc

#opt -load ../build/Release+Debug+Asserts/lib/LLVM$2.dylib -$2 < $1.bc > $1_opt.bc

echo "generating transformed llvm ir"
llvm-dis $1_opt.bc

echo "generating target specific assembly..."
llc -O1 -march arm $1_opt.bc

echo "generating target specific object..."
llc -O1 -march arm -filetype obj $1_opt.bc
<commit_msg>last commit was actually from joe<commit_after>echo "generating llvm IR..."
clang -O1 -emit-llvm $1.c -S -o $1.ll

echo "generating llvm bitcode..."
clang -O1 -emit-llvm $1.c -c -o $1.bc

echo "running $2 pass..."
opt -debug-pass=Structure \
-stats \
-load ../../build/projects/poolalloc/Release+Debug+Asserts/lib/LLVMDataStructure.so \
-load ../../cfi-proj/build/Release+Debug+Asserts/lib/CFIUtil.so \
-load ../../cfi-proj/build/Release+Debug+Asserts/lib/LLVM$2.so \
-$2 \
-$3 \
< $1.bc > $1_opt.bc
#opt -load ../build/Release+Debug+Asserts/lib/LLVM$2.dylib -$2 < $1.bc > $1_opt.bc

echo "generating transformed llvm ir"
llvm-dis $1_opt.bc

echo "generating target specific assembly..."
llc -O1 -march arm $1_opt.bc

echo "generating target specific object..."
llc -O1 -march arm -filetype obj $1_opt.bc

{'fraction_non_alphanumeric': 0.18604651162790697, 'fraction_numerical': 0.026398491514770583, 'mean_word_length': 3.071611253196931, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4016550', 'n_tokens_mistral': 638, 'n_tokens_neox': 631, 'n_words': 153}