Home
last modified time | relevance | path

Searched refs:llvm (Results 1 – 25 of 53) sorted by relevance

123

/Linux-v5.15/tools/perf/util/c++/
Dclang.cpp34 static std::unique_ptr<llvm::LLVMContext> LLVMCtx;
39 createCompilerInvocation(llvm::opt::ArgStringList CFlags, StringRef& Path, in createCompilerInvocation()
42 llvm::opt::ArgStringList CCArgs { in createCompilerInvocation()
67 static std::unique_ptr<llvm::Module>
68 getModuleFromSource(llvm::opt::ArgStringList CFlags, in getModuleFromSource()
94 return std::unique_ptr<llvm::Module>(nullptr); in getModuleFromSource()
99 std::unique_ptr<llvm::Module>
100 getModuleFromSource(llvm::opt::ArgStringList CFlags, in getModuleFromSource()
105 llvm::IntrusiveRefCntPtr<OverlayFileSystem> OverlayFS( in getModuleFromSource()
107 llvm::IntrusiveRefCntPtr<InMemoryFileSystem> MemFS( in getModuleFromSource()
[all …]
Dclang-test.cpp19 static std::unique_ptr<llvm::Module>
25 return std::unique_ptr<llvm::Module>(nullptr); in __test__clang_to_IR()
30 std::unique_ptr<llvm::Module> M = in __test__clang_to_IR()
45 for (llvm::Function& F : *M) in test__clang_to_IR()
Dclang.h13 using namespace llvm; variable
23 std::unique_ptr<llvm::SmallVectorImpl<char>>
24 getBPFObjectFromModule(llvm::Module *Module);
/Linux-v5.15/Documentation/kbuild/
Dllvm.rst15 <https://clang.llvm.org/>`_ and `LLVM <https://llvm.org/>`_ utilities to be
21 <https://www.aosabook.org/en/llvm.html>`_. Clang is a front-end to LLVM that
59 make CC=clang LD=ld.lld AR=llvm-ar NM=llvm-nm STRIP=llvm-strip \
60 OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump READELF=llvm-readelf \
61 HOSTCC=clang HOSTCXX=clang++ HOSTAR=llvm-ar HOSTLD=ld.lld
133 - `Mailing List <https://lore.kernel.org/llvm/>`_: <llvm@lists.linux.dev>
146 - https://releases.llvm.org/download.html
147 - https://github.com/llvm/llvm-project
148 - https://llvm.org/docs/GettingStarted.html
149 - https://llvm.org/docs/CMake.html
[all …]
Dindex.rst23 llvm
/Linux-v5.15/tools/testing/selftests/bpf/
DREADME.rst23 - clang (preferably built from sources, https://github.com/llvm/llvm-project);
36 If you want to change pahole and llvm, you can change `PATH` environment
44 profiler[23] test failures with clang/llvm <12.0.0
47 With clang/llvm <12.0.0, the profiler[23] test may fail.
67 Hence `this patch`__ addresses it on the compiler side. It was committed on llvm 12.
69 __ https://reviews.llvm.org/D85570
83 bpf_iter test failures with clang/llvm 10.0.0
86 With clang/llvm 10.0.0, the following two bpf_iter tests failed:
115 This is due to a llvm BPF backend bug. `The fix`__
116 has been pushed to llvm 10.x release branch and will be
[all …]
/Linux-v5.15/tools/perf/tests/
DBuild39 perf-y += llvm.o llvm-src-base.o llvm-src-kbuild.o llvm-src-prologue.o llvm-src-relocation.o
69 $(OUTPUT)tests/llvm-src-base.c: tests/bpf-script-example.c tests/Build
71 $(Q)echo '#include <tests/llvm.h>' > $@
76 $(OUTPUT)tests/llvm-src-kbuild.c: tests/bpf-script-test-kbuild.c tests/Build
78 $(Q)echo '#include <tests/llvm.h>' > $@
83 $(OUTPUT)tests/llvm-src-prologue.c: tests/bpf-script-test-prologue.c tests/Build
85 $(Q)echo '#include <tests/llvm.h>' > $@
90 $(OUTPUT)tests/llvm-src-relocation.c: tests/bpf-script-test-relocation.c tests/Build
92 $(Q)echo '#include <tests/llvm.h>' > $@
D.gitignore2 llvm-src-base.c
3 llvm-src-kbuild.c
4 llvm-src-prologue.c
5 llvm-src-relocation.c
/Linux-v5.15/samples/bpf/
DREADME.rst12 * llvm >= version 3.7.1
60 By default llvm will build all non-experimental backends including bpf.
72 $ git clone https://github.com/llvm/llvm-project.git
73 $ mkdir -p llvm-project/llvm/build
74 $ cd llvm-project/llvm/build
84 …make M=samples/bpf LLC=~/git/llvm-project/llvm/build/bin/llc CLANG=~/git/llvm-project/llvm/build/b…
DMakefile224 LLVM_DIS ?= llvm-dis
225 LLVM_OBJCOPY ?= llvm-objcopy
414 -O2 -emit-llvm -Xclang -disable-llvm-passes -c $< -o - | \
/Linux-v5.15/tools/scripts/
DMakefile.include56 $(call allow-override,AR,llvm-ar)
59 $(call allow-override,STRIP,llvm-strip)
72 HOSTAR ?= llvm-ar
84 LLVM_CONFIG ?= llvm-config
85 LLVM_OBJCOPY ?= llvm-objcopy
86 LLVM_STRIP ?= llvm-strip
/Linux-v5.15/Documentation/bpf/
Ds390.rst64 git clone https://github.com/llvm/llvm-project.git
65 ln -s ../../clang llvm-project/llvm/tools/
66 mkdir llvm-project-build
67 cd llvm-project-build
72 ../llvm-project/llvm
201 - `Building LLVM <https://llvm.org/docs/CMake.html>`_
Dllvm_reloc.rst32 the code with ``llvm-objdump -dr test.o``::
52 The following ``llvm-readelf -r test.o`` shows the binary values of the four
66 The following is the symbol table with ``llvm-readelf -s test.o``::
130 ``.BTF.ext`` sections. For cases like bcc where llvm ``ExecutionEngine RuntimeDyld``
159 following code with `llvm-objdump -dr test.o``::
206 ``llvm-readelf -r test.o``::
215 With ``llvm-readelf`` output, we can see that dwarf sections have a bunch of
/Linux-v5.15/tools/build/feature/
Dtest-llvm.cpp11 llvm::errs() << "Hello World!\n"; in main()
12 llvm::llvm_shutdown(); in main()
Dtest-clang.cpp26 llvm::llvm_shutdown(); in main()
DMakefile70 test-llvm.bin \
71 test-llvm-version.bin \
298 $(OUTPUT)test-llvm.bin:
306 $(OUTPUT)test-llvm-version.bin:
/Linux-v5.15/Documentation/translations/zh_CN/dev-tools/
Dgcov.rst171 则使用 llvm-cov_ 。
174 .. _llvm-cov: https://llvm.org/docs/CommandGuide/llvm-cov.html
/Linux-v5.15/Documentation/process/
Dclang-format.rst35 https://releases.llvm.org/download.html
39 https://clang.llvm.org/docs/ClangFormat.html
41 https://clang.llvm.org/docs/ClangFormatStyleOptions.html
66 https://clang.llvm.org/docs/ClangFormat.html#script-for-patch-reformatting
102 https://clang.llvm.org/docs/ClangFormat.html
/Linux-v5.15/Documentation/translations/it_IT/process/
Dclang-format.rst43 http://releases.llvm.org/download.html
47 https://clang.llvm.org/docs/ClangFormat.html
49 https://clang.llvm.org/docs/ClangFormatStyleOptions.html
76 https://clang.llvm.org/docs/ClangFormat.html#script-for-patch-reformatting
114 https://clang.llvm.org/docs/ClangFormat.html
/Linux-v5.15/scripts/
Dmin-tool-version.sh26 llvm)
Dld-version.sh51 min_version=$($min_tool_version llvm)
Dcc-version.sh48 min_version=$($min_tool_version llvm)
/Linux-v5.15/tools/build/
DMakefile.feature97 llvm \
98 llvm-version \
/Linux-v5.15/tools/testing/selftests/tc-testing/
DMakefile28 -O2 -target bpf -emit-llvm -c $< -o - | \
/Linux-v5.15/kernel/bpf/preload/iterators/
DMakefile5 LLVM_STRIP ?= llvm-strip

123