llvm@16

Next-generation compiler infrastructure with C/C++ toolchain

brewmacoslinux
Try with needOr install directly
Source

About

Next-gen compiler infrastructure

Commands

clangclang++llvm-configoptllcllillvm-arllvm-nmllvm-objdump

Examples

Compile a C program with clang$ clang -O2 program.c -o program
Compile a C++ program with clang++$ clang++ -std=c++17 main.cpp -o myapp
View LLVM IR optimization passes available$ opt -help