About 50 results
Open links in new tab
  1. gcc - What exactly is LLVM? - Stack Overflow

    Jun 30, 2020 · An LLVM-based compiler: This is a compiler built partially or completely with the LLVM infrastructure. For example, a compiler might use LLVM for the frontend and backend but use GCC …

  2. What is the difference between clang (and LLVM) and gcc / g++?

    Jul 19, 2014 · LLVM is, perhaps, two things then. LLVM-the-machine, which is the type system and instruction set, which is probably better referred to as "LLVM IR"; and LLVM-the-API, which is …

  3. installation - How to install llvm on Windows? - Stack Overflow

    Aug 8, 2023 · What is the best way to install llvm on Windows? All the information I found refers to build it manually. Is there a better option to do it?

  4. What is the LLVM intermediate representation? - Stack Overflow

    Oct 28, 2022 · In any case, LLVM IR is typically stored on disk in either text files with .ll extension or in binary files with .bc extension. Conversion between the two is trivial, and you can just use llvm-dis for …

  5. What is LLVM and why is it so popular all of a sudden? [closed]

    Jan 5, 2017 · LLVM is a collection of libraries built to support compiler development and related tasks. Each library supports a particular component in a typical compiler pipeline (lexing, parsing, …

  6. Clang optimization levels - Stack Overflow

    9 Starting with clang / LLVM 13.0.0, the legacy pass manager has been deprecated and the new pass manager is used by default. This means that the previous solution for printing the optimization …

  7. How to list supported target architectures in clang?

    Clang is essentially just a C to LLVM translator, and it's LLVM itself that deals with the nitty-gritty of generating actual machine code, so it's not entirely surprising that Clang isn't paying much attention …

  8. How is GCC IR different from LLVM IR? - Stack Overflow

    Nov 25, 2016 · Discussion of differences of back-end IRs (LLVM MachineIR and GCC RTL) and related codegen tools (LLVM Tablegen and GCC Machine Description) is an interesting and important topic …

  9. brew install llvm, and the build process is very slow

    Feb 27, 2024 · Yes, installing LLVM on an outdated version of macOS can indeed be very slow. This is because Homebrew needs to build everything from source, as precompiled binaries (bottles) are …

  10. Switching between GCC and Clang/LLVM using CMake

    I have a number of projects built using CMake and I'd like to be able to easily switch between using GCC or Clang/LLVM to compile them. I believe (please correct me if I'm mistaken!) that to use Cl...