Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
- `transforms/` - LLVM pass module (`src/HelloWorld.cc`, `include/`, `CMakeLists.txt`).
Sign in to like and favorite skills
transforms/ - LLVM pass module (src/HelloWorld.cc, include/, CMakeLists.txt).test/ - sample programs compiled to LLVM IR to exercise the pass.build/ - out-of-source build artifacts (created by CMake).run.sh - helper script to build and run the pass end-to-end.cmake -S transforms -B build -DCMAKE_BUILD_TYPE=Releasecmake --build build -jLLVM_DIR (e.g., -DLLVM_DIR=$(llvm-config --cmakedir)).bash ./run.sh (builds plugin, compiles test/TestProgram.cc, runs -hlw).clang++ -S -emit-llvm test/TestProgram.cc -o test/TestProgram.llopt -load build/LLVMHLWPass.so -hlw -S test/TestProgram.ll -o test/TestProgram_hlw.llclang++ test/TestProgram_hlw.ll -o a.out && ./a.outUpperCamelCase; functions/vars lowerCamelCase; macros ALL_CAPS.<llvm/...>; group and sort; avoid using namespace in headers..cc; headers (if added) go under include/.test/ (e.g., test/Loops.cc).opt ... -S in.ll -o out.ll && diff -u in.ll out.ll.pass: print function names.run.sh succeeds locally before requesting review.LLVM_DIR to the correct CMake package path.build/) and do not commit generated artifacts.