Home
last modified time | relevance | path

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

12

/Linux-v5.10/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.10/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
82 - https://releases.llvm.org/download.html
83 - https://github.com/llvm/llvm-project
84 - https://llvm.org/docs/GettingStarted.html
85 - https://llvm.org/docs/CMake.html
86 - https://apt.llvm.org/
[all …]
Dindex.rst23 llvm
/Linux-v5.10/tools/testing/selftests/bpf/
DREADME.rst10 profiler[23] test failures with clang/llvm <12.0.0
13 With clang/llvm <12.0.0, the profiler[23] test may fail.
34 https://reviews.llvm.org/D85570
35 addresses it on the compiler side. It was committed on llvm 12.
48 bpf_iter test failures with clang/llvm 10.0.0
51 With clang/llvm 10.0.0, the following two bpf_iter tests failed:
80 This is due to a llvm BPF backend bug. The fix
81 https://reviews.llvm.org/D78466
82 has been pushed to llvm 10.x release branch and will be
83 available in 10.0.1. The fix is available in llvm 11.0.0 trunk.
[all …]
DMakefile23 LLVM_OBJCOPY ?= llvm-objcopy
251 $(Q)($(CLANG) $3 -O2 -target bpf -emit-llvm \
258 $(Q)($(CLANG) $3 -O2 -target bpf -emit-llvm \
265 $(Q)($(CLANG) $3 -O2 -emit-llvm \
/Linux-v5.10/tools/perf/tests/
DBuild39 perf-y += llvm.o llvm-src-base.o llvm-src-kbuild.o llvm-src-prologue.o llvm-src-relocation.o
66 $(OUTPUT)tests/llvm-src-base.c: tests/bpf-script-example.c tests/Build
68 $(Q)echo '#include <tests/llvm.h>' > $@
73 $(OUTPUT)tests/llvm-src-kbuild.c: tests/bpf-script-test-kbuild.c tests/Build
75 $(Q)echo '#include <tests/llvm.h>' > $@
80 $(OUTPUT)tests/llvm-src-prologue.c: tests/bpf-script-test-prologue.c tests/Build
82 $(Q)echo '#include <tests/llvm.h>' > $@
87 $(OUTPUT)tests/llvm-src-relocation.c: tests/bpf-script-test-relocation.c tests/Build
89 $(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.10/samples/bpf/
DREADME.rst12 * llvm >= version 3.7.1
60 By default llvm will build all non-experimental backends including bpf.
68 $ git clone http://llvm.org/git/llvm.git
69 $ cd llvm/tools
70 $ git clone --depth 1 http://llvm.org/git/clang.git
78 make M=samples/bpf LLC=~/git/llvm/build/bin/llc CLANG=~/git/llvm/build/bin/clang
DMakefile215 LLVM_DIS ?= llvm-dis
216 LLVM_OBJCOPY ?= llvm-objcopy
324 -O2 -emit-llvm -Xclang -disable-llvm-passes -c $< -o - | \
/Linux-v5.10/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>`_
Dbpf_devel_QA.rst481 LLVM (http://llvm.org/):
500 All LLVM releases can be found at: http://releases.llvm.org/
508 $ git clone https://github.com/llvm/llvm-project.git
509 $ mkdir -p llvm-project/llvm/build/install
510 $ cd llvm-project/llvm/build
522 will find a full list of targets within the llvm-project/llvm/lib/Target
547 https://bugs.llvm.org/buglist.cgi?quicksearch=bpf
/Linux-v5.10/tools/build/feature/
Dtest-llvm.cpp11 llvm::errs() << "Hello World!\n"; in main()
12 llvm::llvm_shutdown(); in main()
DMakefile68 test-llvm.bin \
69 test-llvm-version.bin \
79 LLVM_CONFIG ?= llvm-config
298 $(OUTPUT)test-llvm.bin:
306 $(OUTPUT)test-llvm-version.bin:
Dtest-clang.cpp26 llvm::llvm_shutdown(); in main()
/Linux-v5.10/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.10/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.10/tools/build/
DMakefile.feature97 llvm \
98 llvm-version \
/Linux-v5.10/tools/testing/selftests/tc-testing/
DMakefile29 -O2 -target bpf -emit-llvm -c $< -o - | \
/Linux-v5.10/kernel/bpf/preload/iterators/
DMakefile5 LLVM_STRIP ?= llvm-strip
/Linux-v5.10/tools/perf/Documentation/
Dperf-config.txt127 [llvm]
626 llvm.*::
627 llvm.clang-path::
630 llvm.clang-bpf-cmd-template::
640 llvm.clang-opt::
643 llvm.kbuild-dir::
647 llvm.kbuild-opts::
650 llvm.dump-obj::
653 llvm.opts::
/Linux-v5.10/Documentation/translations/zh_CN/process/
Dprogramming-language.rst47 https://clang.llvm.org
/Linux-v5.10/tools/objtool/
DMakefile7 HOSTAR ?= llvm-ar
/Linux-v5.10/tools/bpf/runqslower/
DMakefile5 LLVM_STRIP ?= llvm-strip

12