diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..5bead5f --- /dev/null +++ b/.clang-format @@ -0,0 +1,2 @@ +BasedOnStyle: LLVM + diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 0000000..47bc73c --- /dev/null +++ b/.clang-tidy @@ -0,0 +1 @@ +InheritParentConfig: true diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..aa797a9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +build +*.out +*.dot +*.png +*.txt +.gitconfig +.vscode-server +.gnupg +.bash_history \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..06d3d05 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,39 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "DBG fft1", + "type": "cppdbg", + "request": "launch", + "program": "/usr/bin/opt", + "args": [ + "-load-pass-plugin", + "${fileDirname}/../build/libCacheAnalysisPass.so", + "-passes='lru-misses'", + "${fileDirname}/../test/fft1.ll", + "-o", + "/dev/null" + ], + "stopAtEntry": false, + "cwd": "${fileDirname}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + }, + { + "description": "Set Disassembly Flavor to Intel", + "text": "-gdb-set disassembly-flavor intel", + "ignoreFailures": true + } + ] + } + ] +} \ No newline at end of file