Home
last modified time | relevance | path

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

123

/linux-6.15/Documentation/translations/zh_CN/kbuild/
H A Dllvm.rst29 使用 LLVM 构建
34 make LLVM=1
40 LLVM= 参数
52 如果你的 LLVM 工具不在 PATH 中,你可以使用以斜杠结尾的 LLVM 变量提供它们的位置::
62 类似于 ``LLVM=1``,你可以使用 ``LLVM`` 变量传递该后缀::
71 ``LLVM=0`` 与省略 ``LLVM`` 完全不同,它将表现得像 ``LLVM=1``。如果你只希望使用
81 简化交叉编译,尤其是使用 ``LLVM=1`` 时。如果仅使用 LLVM 工具,``CROSS_COMPILE``
127 LLVM 并不支持 Linux 内核所有可支持的架构,同样,即使 LLVM 支持某一架构,也并不意味着在
164 - ``LLVM=1`` (LLVM >= 18.1.0),``CC=clang`` (LLVM < 18.1.0)
186 获取 LLVM
[all …]
H A Dkbuild.rst301 LLVM section in 环境变量
303 如果该变量设置为 1,Kbuild 将使用 Clang 和 LLVM 工具,而不是 GCC 和 GNU
/linux-6.15/Documentation/kbuild/
H A Dllvm.rst28 Building with LLVM
33 make LLVM=1
39 The LLVM= argument
65 make LLVM=-14
160 - ``LLVM=1``
163 - ``LLVM=1``
166 - ``LLVM=1``
169 - ``LLVM=1``
172 - ``LLVM=1``
181 - ``LLVM=1`` (LLVM >= 18.1.0), ``CC=clang`` (LLVM < 18.1.0)
[all …]
/linux-6.15/arch/x86/
H A DKconfig.assembler7 Supported by binutils >= 2.25 and LLVM integrated assembler
12 Supported by binutils >= 2.24 and LLVM integrated assembler
17 Supported by binutils >= 2.24 and LLVM integrated assembler
21 Supported by binutils >= 2.31.1 and LLVM integrated assembler >= V7
26 Supported by binutils >= 2.30 and LLVM integrated assembler
31 Supported by binutils >= 2.30 and LLVM integrated assembler
36 Supported by binutils >= 2.30 and LLVM integrated assembler
41 Supported by binutils >= 2.31 and LLVM integrated assembler
/linux-6.15/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.rst31 make LLVM=1 rustdoc
46 make LLVM=1 CLIPPY=1
H A Dcoding-guidelines.rst31 make LLVM=1 rustfmt
35 make LLVM=1 rustfmtcheck
/linux-6.15/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-6.15/Documentation/rust/
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.
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).
115 make LLVM=1 rustavailable
173 ``libclang`` (part of LLVM) is used by ``bindgen`` to understand the C code
174 in the kernel, which means LLVM needs to be installed; like when the kernel
175 is compiled with ``LLVM=1``.
282 make LLVM=1 rust-analyzer
305 Building a kernel with a complete LLVM toolchain is the best supported setup
[all …]
/linux-6.15/Documentation/dev-tools/
H A Dautofdo.rst63 The support requires a Clang compiler LLVM 17 or later.
101 1) Build the kernel on the host machine with LLVM enabled,
104 $ make menuconfig LLVM=1
110 With a configuration that with LLVM enabled, use the following command::
116 $ make LLVM=1
150 The llvm_profgen tool is included in the LLVM compiler itself. It's
152 the version of Clang. It needs to be the LLVM 19 release of Clang
153 or later, or just from the LLVM trunk. ::
168 $ make LLVM=1 CLANG_AUTOFDO_PROFILE=<profile_file>
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…
/linux-6.15/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 Dfaddr2line67 if [[ "${LLVM}" == *"/" ]]; then
68 UTIL_PREFIX=${LLVM}${UTIL_PREFIX}
69 elif [[ "${LLVM}" == "-"* ]]; then
70 UTIL_SUFFIX=${LLVM}
H A Das-version.sh34 echo LLVM 0
/linux-6.15/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-6.15/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-6.15/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-6.15/Documentation/bpf/
H A Dbpf_devel_QA.rst361 Q: Features changing BPF JIT and/or LLVM
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.
534 LLVM (http://llvm.org/):
535 LLVM version 10.0.0
555 Q: Got it, so how do I build LLVM manually anyway?
581 Q: Reporting LLVM BPF issues
589 LLVM's BPF back end is a key piece of the whole BPF
608 Q: New BPF instruction for kernel and LLVM
[all …]
/linux-6.15/tools/testing/selftests/nolibc/
H A Drun-tests.sh55 -l Build with LLVM/clang
169 …MAKE=(make -j"${nproc}" XARCH="${arch}" CROSS_COMPILE="${cross_compile}" LLVM="${llvm}" O="${build…
/linux-6.15/tools/testing/selftests/fchmodat2/
H A DMakefile9 ifeq ($(LLVM),)
/linux-6.15/tools/testing/selftests/openat2/
H A DMakefile10 ifeq ($(LLVM),)
/linux-6.15/tools/testing/selftests/arm64/mte/
H A DMakefile9 ifeq ($(LLVM),)
/linux-6.15/scripts/bash-completion/
H A Dmake94 LLVM)
95 # LLVM=1 uses the default 'clang' etc.
98 # suffix for a particular version. LLVM=-18 uses 'clang-18' etc.
105 # directory path to LLVM toolchains
405 LLVM=

123