/llvm-project/.github/workflows/ |
H A D | docs.yml | 4 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 14 - 'main' 16 - 'llvm/docs/**' 17 - 'clang/docs/**' 18 - 'clang/include/clang/Basic/AttrDocs.td' 19 - 'clang/include/clang/Driver/ClangOptionDocs.td' 20 - 'clan [all...] |
H A D | ci-post-commit-analyzer.yml | 1 name: Post-Commit Static Analyzer 9 - 'release/**' 11 - 'clang/**' 12 - 'llvm/**' 13 - '.github/workflows/ci-post-commit-analyzer.yml' 16 - opened 17 - synchronize 18 - reopened 19 - closed 21 - '.github/workflows/ci-post-commit-analyzer.yml' [all …]
|
H A D | llvm-project-tests.yml | 17 default: '["ubuntu-latest", "windows-2019", "macOS-13"]' 40 # Use windows-2019 due to: 41 # https://developercommunity.visualstudio.com/t/Prev-Issue---with-__assume-isna [all...] |
/llvm-project/mlir/utils/clang-tidy/ |
H A D | README.md | 1 ### Apply clang-tidy fixes on the repo 3 This script runs clang-tidy on every C++ source file in MLIR and commit 7 The advised way to use this is to build clang-tidy (in release mode) and 13 CLANG_TIDY=build-clang/bin/clang-tidy \ 15 ./mlir/utils/clang-tidy/apply-clang-tidy.sh build mlir ~/clang-tidy-fails/ 16 } 2>&1 | tee ~/clang-tidy.log 19 - `build-clang/` contains the result of a build of clang-tidy, configured 23 -DLLVM_ENABLE_PROJECTS="clang;mlir;clang-tools-extra" \ 24 -DCMAKE_BUILD_TYPE=Release \ 25 -DLLVM_TARGETS_TO_BUILD=Native \ [all …]
|
/llvm-project/libc/docs/ |
H A D | full_cross_build.rst | 26 * **Standalone cross build** - Using this recipe one can build the libc using a 29 * **Bootstrap cross build** - In this recipe, one will build the ``clang`` 51 -------- [all...] |
H A D | overlay_mode.rst | 31 Building LLVM-libc as a standalone runtime 32 --------- [all...] |
/llvm-project/flang/ |
H A D | .drone.star | 4 "name": "%s-clang" % arch, 10 …"apt-get update && apt-get install -y clang-8 cmake ninja-build lld-8 llvm-8-dev libc++-8-dev libc… 11 … "git clone --depth=1 -b f18 https://github.com/flang-compiler/f18-llvm-project.git llvm-project", 12 "mkdir llvm-project/build && cd llvm-project/build", 13 …-8 CXX=clang++-8 CXXFLAGS="-stdlib=libc++" LDFLAGS="-fuse-ld=lld" cmake -GNinja -DCMAKE_BUILD_TYPE… 17 …-8 CXX=clang++-8 CXXFLAGS="-UNDEBUG -stdlib=libc++" LDFLAGS="-fuse-ld=lld" cmake -GNinja -DCMAKE_B… 18 "ninja -j8", 19 "ctest --output-on-failure -j24", 20 "ninja check-all", 30 "name": "%s-gcc" % arch, [all …]
|
/llvm-project/bolt/docs/ |
H A D | OptimizingClang.md | 11 large applications measuring over hundreds of megabytes in size. However, medium-sized 12 programs can benefit too. Clang, one of the most popular open-source C/C++ compilers, 15 misses and can be significantly improved with BOLT, even on top of profile-guided and 16 link-time optimizations. 20 the compile-time performance gains are coming from, and verify that the speed-ups are 27 on how to obtain and build Clang in [Bootstrapping Clang-7 with PGO and LTO](#bootstrapping-clang-7-wit [all...] |
/llvm-project/libc/docs/gpu/ |
H A D | building.rst | 17 it *must* be built with an up-to-date ``clang`` compiler. This is because the 21 ``nvptx64-nvidia-cuda`` for NVIDIA GPUs or ``amdgcn-amd-amdhsa`` for AMD GPUs. 22 Targeting these architectures is done through ``clang``'s cross-compiling 23 support using the ``--target=<triple>`` flag. The following sections will 30 - [all...] |
/llvm-project/lldb/docs/resources/ |
H A D | build.rst | 5 ---------- [all...] |
/llvm-project/flang/docs/ |
H A D | GettingStarted.md | 1 <!--===- docs/GettingStarted.md 5 SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 --> 12 --- 14 --- 36 compiler-rt. Note that compiler-rt is only needed to access libraries that 39 includig GNU and clang. But building compiler-rt requres using the clang 44 into a directory called llvm-project. The build will also 46 the built files), install (holds the installed files, and compiler-rt (holds 47 the result of building compiler-rt). [all …]
|
/llvm-project/bolt/utils/docker/ |
H A D | Dockerfile | 6 RUN apt-get update && \ 7 apt-get install -y --no-install-recommends ca-certificates git \ 8 build-essential cmake ninja-buil [all...] |
/llvm-project/mlir/examples/standalone/ |
H A D | README.md | 1 # An out-of-tree MLIR dialect 3 This is an example of an out-of-tree [MLIR](https://mlir.llvm.org/) dialect along with a standalone… 5 ## Building - Component Build 10 cmake -G Ninja .. -DMLIR_DIR=$PREFIX/lib/cmake/mlir -DLLVM_EXTERNAL_LIT=$BUILD_DIR/bin/llvm-lit 11 cmake --build . --target check-standalone 15 cmake --build . --target mlir-doc 17 **Note**: Make sure to pass `-DLLVM_INSTALL_UTILS=ON` when building LLVM with CMake in order to ins… 19 ## Building - Monolithic Build 25 cmake -G Ninja `$LLVM_SRC_DIR/llvm` \ 26 -DCMAKE_BUILD_TYPE=Release \ [all …]
|
/llvm-project/.github/workflows/containers/github-action-ci/ |
H A D | stage1.Dockerfile |
|
/llvm-project/clang-tools-extra/clangd/ |
H A D | README.md | 6 - the **website** is https://clangd.llvm.org/. 7 - the **bug tracker** is https://github.com/clangd/clangd/issues 8 - the **source code** is hosted at https://github.com/llvm/llvm-project/tree/main/clang-tools-extra… 9 - the **website source code** is at https://github.com/llvm/clangd-www/ 16 - chat: #clangd room hosted on [LLVM's Discord 18 - user questions and feature requests can be asked in the clangd topic on [LLVM 19 Discussion Forums](https://llvm.discourse.group/c/llvm-project/clangd/34) 24 - Clone the LLVM repo to `$LLVM_ROOT`. 25 - Create a build directory, for example at `$LLVM_ROOT/build`. 26 - Inside the build directory run: `cmake $LLVM_ROOT/llvm/ [all …]
|
/llvm-project/clang/utils/analyzer/ |
H A D | entrypoint.py | 12 cmake_opts = ["-D" + cmd for cmd in settings.D] 29 def parse_arguments() -> Tuple[argparse.Namespace, List[str]]: 31 parser.add_argument("--wait", action="store_true") 32 parser.add_argument("--build-llvm", action="store_true") 33 parser.add_argument("--build-llvm-only", action="store_true") 34 parser.add_argument("-D", action="append", default=[]) 54 "cmake -G Ninja -DCMAKE_BUILD_TYPE=Release " 55 "-DCMAKE_INSTALL_PREFIX=/analyzer -DLLVM_TARGETS_TO_BUILD=X86 " 56 '-DLLVM_ENABLE_PROJECTS="clang;openmp" -DLLVM_BUILD_RUNTIME=OFF ' 57 "-DCLANG_ENABLE_ARCMT=OFF " [all …]
|
/llvm-project/clang/www/ |
H A D | get_started.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 5 <META http-equiv="Content-Type" content="text/html; charset=utf-8"> 6 <title>Clang - Getting Started</title> 12 <!--#include virtual="menu.html.incl"--> 22 bugs on <a href="https://github.com/llvm/llvm-project/issues">the LLVM bug tracker</a>.</p> 31 <h3 id="buildNix">On Unix-like Systems</h3> 41 Getting Started with the LLVM System - Requirements</a>.</li> 53 <li><tt>git clone https://github.com/llvm/llvm-project.git</tt></li> 56 …<li><tt>git clone --depth=1 https://github.com/llvm/llvm-project.git (using this only the latest v… 59 <li><tt>cd llvm-project</tt></li> [all …]
|
/llvm-project/mlir/examples/minimal-opt/ |
H A D | README.md | 6 - mlir-cat: This includes the Core IR, the builtin dialect, the textual 8 - mlir-minimal-opt: This adds all the tooling for an mlir-opt tool: the pass 10 - mlir-miminal-opt-canonicalize: This add the canonicalizer pass, which pulls in 14 using clang-14 on a X86 Ubuntu and [bloaty](https://github.com/google/bloaty). 17 | :------------------------------: | ------ | ------ | ------ | ------ | ------ | 18 | `mlir-cat` | 1024KB | 840KB | 885KB | 706KB | 657KB | 19 | `mlir-minimal-opt` | 1.62MB | 1.32MB | 1.36MB | 1.17MB | 1.07MB | 20 | `mlir-minimal-opt-canonicalize` | 1.83MB | 1.40MB | 1.45MB | 1.25MB | 1.14MB | 25 cmake ../llvm/ -G Ninja \ 26 -DCMAKE_BUILD_TYPE=RelWithDebInfo \ [all …]
|
/llvm-project/lld/docs/MachO/ |
H A D | index.rst | 1 Mach-O LLD Port 4 LLD is a linker from the LLVM project that is a drop-in replacement 7 will describe the Mach-O port. 10 -------- 12 - LLD is a drop-in replacement for Apple's Mach-O linker, ld64, that accepts the 15 - LLD is very fast. When you link a large program on a multicore 20 -------- 22 LLD is available as a pre-built binary by going to the `latest release <https://github.com/llvm/llv… 23 downloading the appropriate bundle (``clang+llvm-<version>-<your architecture>-<your platform>.tar.… 29 ----- [all …]
|
/llvm-project/polly/www/ |
H A D | get_started.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 5 <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> 6 <title>Polly - Getting Started</title> 13 <!--#include virtual="menu.html.incl"--> [all...] |
/llvm-project/libc/config/windows/ |
H A D | README.md | 21 [Ninja](https://github.com/ninja-build/ninja/releases). (Optional, included 34 [Git](https://git-scm.com/download/win) for Windows. Check out the LLVM 38 git clone https://github.com/llvm/llvm-project.git 54 mkdir libc-build 55 cd libc-build 62 …-G Ninja ../llvm-project/llvm -DCMAKE_C_COMPILER=C:/src/clang-build/bin/clang-cl.exe -DCMAKE_CXX_C… 71 -DLLVM_LIBC_MPFR_INSTALL_PATH=<path/mpfr/install/dir>
|
/llvm-project/llvm/docs/ |
H A D | AdvancedBuilds.rst | 11 `CMake <http://www.cmake.org/>`_ is a cross-platform build-generator tool. CMake 26 can be passed to CMake using the :code:`-C` flag as demonstrated in the examples 32 The Clang CMake build system supports bootstrap (aka multi-stage) builds. At a 33 high level a multi-stage build is a chain of builds that pass data from one 37 In a simple two-stage bootstrap build, we build clang using the system compiler, 38 then use that just-built clang to build clang again. In CMake this simplest form 42 .. code-block:: console 44 $ cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \ 45 -DCLANG_ENABLE_BOOTSTRAP=On \ 46 -DLLVM_ENABLE_PROJECTS="clang" \ [all …]
|
/llvm-project/libc/benchmarks/ |
H A D | README.md | 6 …- `libc.src.string.<mem_function>_benchmark` to run the benchmarks for the particular `<mem_functi… 7 - `libc-benchmark-analysis.py3` a tool to process the measurements into reports. 14 cd llvm-project 15 cmake -B/tmp/build -Sllvm -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra;libc' -DCMAKE_BUILD_TYPE=… 16 ninja -C /tmp/build libc.src.string.<mem_function>_benchmark 21 cpupower frequency-set --governor performance 27 …- **stochastic mode** returns the average time per call for a particular size distribution, this i… 28 - **sweep mode** returns the average time per size over a range of sizes. 30 …--study-name` to be set, this is a name to identify a run and provide label during analysis. If *… 33 …- `--num-trials`: repeats the benchmark more times, the analysis tool can take this into account a… [all …]
|
/llvm-project/libc/benchmarks/automemcpy/ |
H A D | README.md |
|
/llvm-project/libc/src/math/docs/ |
H A D | add_math_function.md | 1 # How to add a new math function to LLVM-libc 14 - Add entry points `libc.src.math.func` to the following files: 19 - Add function specs to the file: 29 - Add `add_math_entrypoint_object(<func>)` to: 33 - Add function declaration (under `LIBC_NAMESPACE` namespace) to: 37 - Add function definition to: 41 - Add the corresponding `add_entrypoint_object` to: 45 - Add architectural specific implementations to: 52 - Floating point utilities and math functions that are also used internally are 57 - Thes [all...] |