Home
last modified time | relevance | path

Searched refs:LLVM (Results 1 – 25 of 52) sorted by relevance

123

/linux/Documentation/translations/zh_CN/rust/
H A Dquick-start.rst28 make LLVM=1 rustavailable
80 ``bindgen`` 使用 ``libclang`` (LLVM的一部分)来理解内核中的C代码,这意味着需要安
81LLVM;同在开启``LLVM=1`` 时编译内核一样。
89 或者自行构建LLVM,这需要相当长的时间,但并不是一个复杂的过程:
188 make LLVM=1 rust-analyzer
210 用完整的LLVM工具链构建内核是目前支持的最佳设置。即::
212 make LLVM=1
H A Darch-support.rst13 目前,Rust编译器(``rustc``)使用LLVM进行代码生成,这限制了可以支持的目标架构。此外,对
14 使用LLVM/Clang构建内核的支持也有所不同(请参见 Documentation/kbuild/llvm.rst )。这
H A Dgeneral-information.rst32 make LLVM=1 rustdoc
47 make LLVM=1 CLIPPY=1
H A Dcoding-guidelines.rst31 make LLVM=1 rustfmt
35 make LLVM=1 rustfmtcheck
H A Dtesting.rst31 ./tools/testing/kunit/kunit.py run --make_options LLVM=1 --arch x86_64 --kconfig_add CONFIG_RUST=y
193 make LLVM=1 rusttest
/linux/tools/scripts/
H A DMakefile.include54 ifneq ($(LLVM),)
55 ifneq ($(filter %/,$(LLVM)),)
56 LLVM_PREFIX := $(LLVM)
57 else ifneq ($(filter -%,$(LLVM)),)
58 LLVM_SUFFIX := $(LLVM)
77 ifneq ($(LLVM),)
/linux/Documentation/rust/
H A Dquick-start.rst11 approach is that, typically, the distribution will match the LLVM used by Rust
14 Another way is using the prebuilt stable versions of LLVM+Rust provided on
16 and fast LLVM toolchains from :ref:`Getting LLVM <getting_llvm>` with versions
18 "latest LLVM" and "matching LLVM" (please see the link for more information).
123 make LLVM=1 RUSTC=rustc-1.80 RUSTDOC=rustdoc-1.80 RUSTFMT=rustfmt-1.80 \
153 make LLVM=1 rustavailable
211 ``libclang`` (part of LLVM) is used by ``bindgen`` to understand the C code
212 in the kernel, which means LLVM needs to be installed; like when the kernel
213 is compiled with ``LLVM=1``.
222 Otherwise, building LLVM takes quite a while, but it is not a complex process:
[all …]
H A Darch-support.rst6 Currently, the Rust compiler (``rustc``) uses LLVM for code generation,
8 support for building the kernel with LLVM/Clang varies (please see
21 ``riscv`` Maintained ``riscv64`` and LLVM/Clang only.
/linux/scripts/
H A Ddecode_stacktrace.sh22 if [[ -z ${LLVM:-} ]]; then
26 if [[ ${LLVM} == */ ]]; then
27 UTIL_PREFIX=${LLVM}${UTIL_PREFIX}
28 elif [[ ${LLVM} == -* ]]; then
29 UTIL_SUFFIX=${LLVM}
H A Das-version.sh34 echo LLVM 0
/linux/tools/testing/selftests/
H A Dlib.mk3 ifneq ($(LLVM),)
4 ifneq ($(filter %/,$(LLVM)),)
5 LLVM_PREFIX := $(LLVM)
6 else ifneq ($(filter -%,$(LLVM)),)
7 LLVM_SUFFIX := $(LLVM)
/linux/tools/sched_ext/
H A DMakefile9 ifneq ($(LLVM),)
10 ifneq ($(filter %/,$(LLVM)),)
11 LLVM_PREFIX := $(LLVM)
12 else ifneq ($(filter -%,$(LLVM)),)
13 LLVM_SUFFIX := $(LLVM)
97 ifneq ($(LLVM),)
/linux/Documentation/bpf/
H A Dbpf_devel_QA.rst259 cases, including a lot of corner cases that LLVM BPF back end may
361 Q: Features changing BPF JIT and/or LLVM
364 that would require BPF JIT and/or LLVM integration as well?
382 into the Linux kernel, please implement support into LLVM's BPF back
519 LLVM chapter
522 Q: Where do I find LLVM with BPF support?
524 A: The BPF back end for LLVM is upstream in LLVM since version 3.7.1.
526 All major distributions these days ship LLVM with BPF back end enabled,
527 so for the majority of use-cases it is not required to compile LLVM by
530 LLVM's static compiler lists the supported targets through
[all …]
H A Dclang-notes.rst8 This document provides more details specific to the Clang/LLVM implementation of the eBPF instructi…
/linux/samples/bpf/
H A DREADME.rst22 version numbers required and how to update them. Note that LLVM's tool
64 Manually compiling LLVM with 'bpf' support
67 Since version 3.7.0, LLVM adds a proper LLVM backend target for the
79 Quick sniplet for manually compiling LLVM and clang
/linux/Documentation/dev-tools/
H A Dpropeller.rst27 #. Propeller requires LLVM 19 release or later for Clang/Clang++
30 #. In addition to LLVM toolchain, Propeller requires a profiling
111 $ make LLVM=1 CLANG_AUTOFDO_PROFILE=<autofdo-profile-name>
162 …$ make LLVM=1 CLANG_AUTOFDO_PROFILE=<profile_file> CLANG_PROPELLER_PROFILE_PREFIX=<propeller_profi…
H A Dcontainer.rst109 toolchain image may have ``LLVM=1`` defined.
122 scripts/container -i docker.io/tuxmake/korg-clang LLVM=1 make # won't work
126 scripts/container -i docker.io/tuxmake/korg-clang make LLVM=1
170 scripts/container -i docker.io/tuxmake/korg-clang -- make LLVM=1 defconfig
171 scripts/container -i docker.io/tuxmake/korg-clang -- make LLVM=1 -j$(nproc)
/linux/tools/perf/util/
H A Daddr2line.c96 LLVM, enumerator
116 style = LLVM; in cmd_addr2line_configure()
191 if (style == LLVM && line_len == 2 && line[0] == ',') { in read_addr2line_record()
/linux/tools/testing/selftests/nolibc/
H A Drun-tests.sh58 -l Build with LLVM/clang
174 …MAKE=(make -f Makefile.nolibc -j"${nproc}" XARCH="${arch}" CROSS_COMPILE="${cross_compile}" LLVM="…
H A DMakefile15 $(OUTPUT)/nolibc-test: LDLIBS = $(if $(LLVM),,-lgcc)
H A DMakefile.nolibc228 CFLAGS_loongarch = $(if $(LLVM),-fuse-ld=lld)
247 ifneq ($(LLVM),)
252 # Modify CFLAGS based on LLVM=
262 KBUILD_MAKE = $(MAKE) -C $(srctree) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) LLVM=
/linux/arch/x86/
H A DKconfig.assembler7 Supported by binutils >= 2.31 and LLVM integrated assembler
/linux/tools/testing/selftests/arm64/mte/
H A DMakefile9 ifeq ($(LLVM),)
/linux/Documentation/
H A DChanges33 Clang/LLVM (optional) 15.0.0 clang --version
79 Clang/LLVM (optional)
82 The latest formal release of clang and LLVM utils (according to
86 docs on :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
414 Clang/LLVM
417 - :ref:`Getting LLVM <getting_llvm>`.
/linux/tools/bpf/bpftool/Documentation/
H A Dcommon_options.rst9 bpftool was compiled. Optional features include linking against LLVM or

123