Home
last modified time | relevance | path

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

123

/Linux-v6.1/tools/perf/util/c++/
Dclang.cpp38 static std::unique_ptr<llvm::LLVMContext> LLVMCtx;
43 createCompilerInvocation(llvm::opt::ArgStringList CFlags, StringRef& Path, in createCompilerInvocation()
46 llvm::opt::ArgStringList CCArgs { in createCompilerInvocation()
73 static std::unique_ptr<llvm::Module>
74 getModuleFromSource(llvm::opt::ArgStringList CFlags, in getModuleFromSource()
100 return std::unique_ptr<llvm::Module>(nullptr); in getModuleFromSource()
105 std::unique_ptr<llvm::Module>
106 getModuleFromSource(llvm::opt::ArgStringList CFlags, in getModuleFromSource()
111 llvm::IntrusiveRefCntPtr<OverlayFileSystem> OverlayFS( in getModuleFromSource()
113 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()
46 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-v6.1/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
55 make CC=clang LD=ld.lld AR=llvm-ar NM=llvm-nm STRIP=llvm-strip \
56 OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump READELF=llvm-readelf \
57 HOSTCC=clang HOSTCXX=clang++ HOSTAR=llvm-ar HOSTLD=ld.lld
66 make LLVM=/path/to/llvm/
68 which will use ``/path/to/llvm/clang``, ``/path/to/llvm/ld.lld``, etc.
158 - `Mailing List <https://lore.kernel.org/llvm/>`_: <llvm@lists.linux.dev>
171 - https://releases.llvm.org/download.html
172 - https://github.com/llvm/llvm-project
[all …]
Dindex.rst23 llvm
/Linux-v6.1/tools/testing/selftests/bpf/
DREADME.rst23 - clang (preferably built from sources, https://github.com/llvm/llvm-project);
44 If you want to change pahole and llvm, you can change `PATH` environment
52 profiler[23] test failures with clang/llvm <12.0.0
55 With clang/llvm <12.0.0, the profiler[23] test may fail.
75 Hence `this patch`__ addresses it on the compiler side. It was committed on llvm 12.
77 __ https://reviews.llvm.org/D85570
91 bpf_iter test failures with clang/llvm 10.0.0
94 With clang/llvm 10.0.0, the following two bpf_iter tests failed:
123 This is due to a llvm BPF backend bug. `The fix`__
124 has been pushed to llvm 10.x release branch and will be
[all …]
/Linux-v6.1/tools/perf/tests/
DBuild40 perf-y += llvm.o llvm-src-base.o llvm-src-kbuild.o llvm-src-prologue.o llvm-src-relocation.o
71 $(OUTPUT)tests/llvm-src-base.c: tests/bpf-script-example.c tests/Build
73 $(Q)echo '#include <tests/llvm.h>' > $@
78 $(OUTPUT)tests/llvm-src-kbuild.c: tests/bpf-script-test-kbuild.c tests/Build
80 $(Q)echo '#include <tests/llvm.h>' > $@
85 $(OUTPUT)tests/llvm-src-prologue.c: tests/bpf-script-test-prologue.c tests/Build
87 $(Q)echo '#include <tests/llvm.h>' > $@
92 $(OUTPUT)tests/llvm-src-relocation.c: tests/bpf-script-test-relocation.c tests/Build
94 $(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-v6.1/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…
/Linux-v6.1/tools/scripts/
DMakefile.include62 $(call allow-override,AR,$(LLVM_PREFIX)llvm-ar$(LLVM_SUFFIX))
65 $(call allow-override,STRIP,$(LLVM_PREFIX)llvm-strip$(LLVM_SUFFIX))
78 HOSTAR ?= $(LLVM_PREFIX)llvm-ar$(LLVM_SUFFIX)
90 LLVM_CONFIG ?= llvm-config
91 LLVM_OBJCOPY ?= llvm-objcopy
92 LLVM_STRIP ?= llvm-strip
/Linux-v6.1/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-v6.1/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()
DMakefile78 test-llvm.bin \
79 test-llvm-version.bin \
341 $(OUTPUT)test-llvm.bin:
349 $(OUTPUT)test-llvm-version.bin:
/Linux-v6.1/Documentation/translations/zh_CN/dev-tools/
Dgcov.rst171 则使用 llvm-cov_ 。
174 .. _llvm-cov: https://llvm.org/docs/CommandGuide/llvm-cov.html
/Linux-v6.1/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-v6.1/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-v6.1/scripts/
Dmin-tool-version.sh26 llvm)
Ddecode_stacktrace.sh12 if type llvm-cxxfilt >/dev/null 2>&1 ; then
13 cppfilt=llvm-cxxfilt
Dld-version.sh51 min_version=$($min_tool_version llvm)
Dcc-version.sh48 min_version=$($min_tool_version llvm)
/Linux-v6.1/drivers/gpu/drm/amd/display/
DKconfig20 has been resolved: https://github.com/llvm/llvm-project/issues/41896.
/Linux-v6.1/Documentation/rust/
Dquick-start.rst83 https://releases.llvm.org/download.html
87 https://llvm.org/docs/GettingStarted.html#getting-the-source-code-and-building-llvm
89 Please see Documentation/kbuild/llvm.rst for more information and further ways
/Linux-v6.1/tools/testing/selftests/tc-testing/
DMakefile27 -O2 -target bpf -emit-llvm -c $< -o - | \

123