Home
last modified time | relevance | path

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

123

/linux/tools/perf/util/c++/
A Dclang.cpp42 llvm::opt::ArgStringList CCArgs { in createCompilerInvocation()
69 static std::unique_ptr<llvm::Module>
101 std::unique_ptr<llvm::Module>
122 std::unique_ptr<llvm::Module>
129 std::unique_ptr<llvm::SmallVectorImpl<char>>
130 getBPFObjectFromModule(llvm::Module *Module) in getBPFObjectFromModule()
132 using namespace llvm; in getBPFObjectFromModule()
138 llvm::errs() << Error; in getBPFObjectFromModule()
142 llvm::TargetOptions Opt; in getBPFObjectFromModule()
190 llvm::llvm_shutdown(); in perf_clang__cleanup()
[all …]
A 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()
A Dclang.h13 using namespace llvm; variable
23 std::unique_ptr<llvm::SmallVectorImpl<char>>
24 getBPFObjectFromModule(llvm::Module *Module);
/linux/tools/testing/selftests/bpf/
A DREADME.rst23 - clang (preferably built from sources, https://github.com/llvm/llvm-project);
69 __ https://reviews.llvm.org/D85570
119 __ https://reviews.llvm.org/D78466
158 __ https://reviews.llvm.org/D97479
175 .. _0: https://reviews.llvm.org/D74572
176 .. _1: https://reviews.llvm.org/D74668
188 __ https://reviews.llvm.org/D83289
202 __ https://reviews.llvm.org/D93563
216 __ https://reviews.llvm.org/D111588
225 __ https://reviews.llvm.org/D100362
[all …]
/linux/Documentation/kbuild/
A Dllvm.rst15 <https://clang.llvm.org/>`_ and `LLVM <https://llvm.org/>`_ utilities to be
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
150 - https://apt.llvm.org/
[all …]
A Dindex.rst23 llvm
/linux/tools/perf/tests/
A 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>' > $@
A D.gitignore2 llvm-src-base.c
3 llvm-src-kbuild.c
4 llvm-src-prologue.c
5 llvm-src-relocation.c
/linux/samples/bpf/
A 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…
A DMakefile230 LLVM_DIS ?= llvm-dis
231 LLVM_OBJCOPY ?= llvm-objcopy
232 LLVM_READELF ?= llvm-readelf
437 -O2 -emit-llvm -Xclang -disable-llvm-passes -c $< -o - | \
/linux/tools/scripts/
A 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/Documentation/bpf/
A 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>`_
A 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
A Dbpf_devel_QA.rst494 LLVM (http://llvm.org/):
513 All LLVM releases can be found at: http://releases.llvm.org/
525 $ git clone https://github.com/llvm/llvm-project.git
526 $ mkdir -p llvm-project/llvm/build
527 $ cd llvm-project/llvm/build
538 will find a full list of targets within the llvm-project/llvm/lib/Target
563 https://bugs.llvm.org/buglist.cgi?quicksearch=bpf
/linux/tools/build/feature/
A Dtest-llvm.cpp11 llvm::errs() << "Hello World!\n"; in main()
12 llvm::llvm_shutdown(); in main()
A DMakefile70 test-llvm.bin \
71 test-llvm-version.bin \
298 $(OUTPUT)test-llvm.bin:
306 $(OUTPUT)test-llvm-version.bin:
A Dtest-clang.cpp26 llvm::llvm_shutdown(); in main()
/linux/Documentation/process/
A 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/Documentation/translations/it_IT/process/
A 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/Documentation/translations/zh_CN/dev-tools/
A Dgcov.rst171 则使用 llvm-cov_ 。
174 .. _llvm-cov: https://llvm.org/docs/CommandGuide/llvm-cov.html
/linux/scripts/
A Dmin-tool-version.sh26 llvm)
A Dld-version.sh51 min_version=$($min_tool_version llvm)
A Dcc-version.sh48 min_version=$($min_tool_version llvm)
/linux/tools/build/
A DMakefile.feature97 llvm \
98 llvm-version \
/linux/tools/testing/selftests/tc-testing/
A DMakefile28 -O2 -target bpf -emit-llvm -c $< -o - | \

Completed in 29 milliseconds

123